Welcome back the latest issue of Week in Core, covering changes [36801-36888]. Here are the highlights:
- WordPress 4.5 Beta 2 released!
- 88 commits
- 42 contributors
- 82 tickets created
- 19 tickets reopened
- 90 tickets closed
Ticket numbers based on trac timeline for the period above.
Note: If you want to help write the next WordPress Core Weekly summary, check out the schedule over at make/docs and get in touch in the #core-weekly-update Slack channel.
Code Changes
Build/Test Tools
- Update grunt-contrib-copy ~0.8.2 → ~1.0.0 [36864] #35104
- Update Autoprefixer to 6.3.3 [36860] #35104
- Update grunt-contrib-cssmin ~0.14.0 → ~1.0.0 [36865] #35104
- Update grunt-contrib-concat ~0.5.1 → ~1.0.0 [36863] #35104
- Update grunt-contrib-compress ~0.14.0 → ~1.1.0 [36862] #35104
- Update grunt-contrib-clean from 0.6.0 → 1.0.0 [36861] #35104
- Document PHP unit test classes. [36854] #35494
Customize
- Improve the collapsed view when switching to the responsive view. [36877] #35220
- Fix image cropping when doing live preview of theme switches. Ensure that the Customizer gets bootstrapped with the pre-activated
theme
supplied in thecustom-header-crop
admin ajax requests. [36866] #32783 - Fix visibility of preview in iOS. Removes CSS rule added in [21014] that is now obsolete. [36804] #20805, #35875
- Eliminate unnecessary
WP_Customize_Site_Logo_Control
in favor of re-usingWP_Customize_Image_Control
. Fixes #35941. [36851] #36096, #33755, #35941 - Don’t show custom image sizes in the media modal. Custom image sizes for logos should only be used for their intended purpose. [36839] #33755
- Rename custom logo classes after [36837]. [36838] #35945
- Site logos are custom logos. Brings the nomenclature closer to custom headers and backgrounds. See #35945. [36837] #35945
- Remove gap above section contained in panel when initially focusing on control. [36805] #36050
- Define params on
WP_Customize_Partial::render_callback()
for the sake of subclasses overriding this method. [36801] #27355
Date/Time
Docs
- Improve documentation for the
update_welcome_user_email()
filter, introduced in [26538]. [36827] #25598, #35986 - Minorly improve the hook doc summary for the
pre_network_site_new_created_user
action, introduced in [35786]. [36826] #33631, #35986 - Improve documentation for
upgrade_450()
, introduced in [36180]. [36825] #27772, #35323, #35986 - Minorly improve the hook doc summary for the
pre_uninstall_plugin
action, introduced in [36124]. [36824] #34569, #35986 - Add a more descriptive changelog entry to the hook doc for the
privacy_on_link_title
filter. [36823] #35049, #35986 - Improve documentation for
WP_Upgrader::release_lock()
, introduced in [36349]. [36822] #34878, #35986 - Use third-person singular verbs in DocBlock summaries for the
WP_Site_Logo
class, introduced in [36698]. Also minorly improves various inline docs. [36820] #33755, #35986 - Add
wp_add_dashboard_widget()
parameter descriptions. [36868] #36092 - Correct
$plugins
global type inWP_Plugins_List_Table::prepare_items()
. [36830] #36080 - Improve syntax and correct documentation throughout a variety of methods in
WP_Customize_Widgets
. [36842] #32246, #35986 - Improve documentation for
WP_Customize_Widgets::customize_dynamic_partial_args()
, introduced in [36586]. [36841] #27355, #35986 - Improve DocBlock syntax for
WP_Customize_Nav_Menus::customize_dynamic_partial_args()
, introduced in [36586]. [36836] #27355, #35986 - Improve documentation for
WP_Customize_Nav_Menus::filter_nonces()
, introduced in [36414]. [36835] #27355, #35617, #35986 - Add a missing
@since
version to the DocBlock forwp_add_dashboard_widget()
. [36878] #32246 - Improve DocBlock syntax and add a missing
@return
notation forWP_Image_Editor_Imagick::strip_meta()
, introduced in [36700]. [36847] #33642, #30402, #28634, #35986 - Improve the hook doc summary for the
image_strip_meta
filter, introduced in [36700]. [36846] #33642, #30402, #28634, #35986 - Improve documentation for
WP_Upgrader::create_lock()
, introduced in [36349]. [36821] #34878, #35986 - Match the parameter name in the hook docs for the
press_this_useful_html_elements
filter, introduced in [36672]. [36819] #34455, #35986 - Standardize the changelog entry for the new
$author_url
argument, introduced in [36224]. [36834] #35377, #35986 - Move the hook doc for the
all_plugins
filter inWP_Plugins_List_Table::prepare_items()
to directly precede theapply_filters()
line. [36828] #35986
Editor
- TinyMCE, inline link: Add
uiAutocompleteL10n
with translatable strings for use in UI Autocomplete live region. [36806] #33301 - Fix the icon for the native dialogs close button. Highlight the button on :focus. [36857] #36035
- TinyMCE, inline link: add styling for the dialog and UI Autocomplete to Press This. [36849] #33301
- TinyMCE: then toggling the paste in plain text mode disable the warning message after the second time. [36807] #28612
- TinyMCE: update to 4.3.7. Has few bug/regression Fixes #36035. [36803] #36035
Embeds
- During discovery, only request the first 150kb of linked content to avoid timouts requesting larger documents. [36880] #35979
- Adjust the iframe title attribute for improved accessibility. Changes the title attribute from
Embedded WordPress Post
to"Post name" — site title
. [36873] #35804 - Embeds: Add support for embeds in the theme template hierarchy. [36875] #35421
Emoji
- Fix some jshint warnings introduced in [36816]. [36818] #35300
- Add some extra IE11 compatibility. [36817] #35977
- Clean up the emoji browser support tests. [36816] #35300
External Libraries
Filesystem API
- Tests: Merge the two different
wp_normalize_path()
tests. [36882] #35996 - Support Windows shares/DFS roots in
wp_normalize_path()
. [36881] #35996
General
- Fix License test. Broken in r36855 [36856] #35278
- Clarify Copyright year Based on http://copyright.gov/title17/92chap4.html#401 and being more consistent with the rest of the document. [36855] #35278
HTTP API
I18N
- Remove the title attributes from the old Media UI. [36879] #34944
- Fix an invalid placeholder added in [36844]. [36850] #36048
- Don’t use the locale for the HTML language attribute. [36802] #33511
- Move the
aria-label
text inget_theme_update_available()
to a separate string for easier translation. Add translator comments. [36845] #36048 - Move the
aria-label
text inwp_plugin_update_row()
andwp_theme_update_row()
to a separate string for easier translation. Add translator comments. [36844] #36048
Media
- Change wording for media files which aren’t attached. [36887] #36089
- Tests: Remove
test_new_files_are_not_in_old_files_array()
from [36843].[36885] #36083 - Comment out some CSS files in
$_old_files
that were added back as a result of [36341]. [36843] #36083
Menus
- Avoid a notice when outputting a description for an existing archive menu item for a post type that doesn’t. [36888] #35324
- Ensure Description is respected in post type archive menu items. Introduced in r35382. [36859] #35324, #16075
- Ensure theme location setting data is saved with a large menu. [36852] #14134
Networks and Sites
Posts, Post Types
- Posts, Post Types: Ensure that non-ASCII characters in attachment slugs aren’t shown in urlencoded form in the sample permalink UI. [36853] #35980
Press This
- Change the newly added
press_this_save_post_content
filter topress_this_save_post
and pass the $post_data array to it. Remove the newly addedpress_this_useful_html_elements
. Remove thepress_this_suggested_content
filter. Add some more inline docs and rename couple of vars to make the code more readable. [36848] #34455
REST API
- Unit test for OPTIONS request should call rest_send_allow_header In [36829] we moved this logic to rest_send_allow_header() [36831] #36829
- OPTIONS requests to REST API should return Allow header. [36829] #35975
Script Loader,Media
- Enqueue the minified version of farbtastic if
SCRIPT_DEBUG
is false. The files are available since [36341]. [36884] #36083, #35229 - CSS: Rename the handle for
deprecated-media.css
after [36341]. Themedia
handle is now used formedia.css
thus the stylesheet
for the old media UI needs a different handle name. [36869] #35229 - Improve group processing of script dependencies. 36871] #35873, #35956
Security
- Setup config: Generate the default secret keys & salts from the local CSPRNG if available, falling back to the WordPress.org API and a backup psuedo random source. [36872] #35290
Taxonomy
- Improve backward compatibility on the
wp-admin/term.php
page. Specifically, rundo_action( 'edit-tags.php' );
on this new term edit page introduced in [36308]. Changes the GET param back totag_ID
and properly sets the screen base inWP_Screen
. [36874] #34988 - Remove unnecessary ‘All categories’ string on Edit Posts and Edit Links screens and use taxonomy’s
all_items
label instead. [36808] #36049
Themes
Uploads
- Remove an unnecessary static var from
wp_is_mobile()
to allow its direct and indirect use within unit tests. The static$is_mobile
var was only used to avoid a handful of calls tostrpos()
, which are exceptionally fast and result in no measurable increase in processing time on each call towp_is_mobile()
. [36813] #35976, #20014 - Add tests for device upload capabilities based on user agent. [36810] #35976
Props
Thanks to @adamsilverstein, @afercia, @andg, @azaozz, @boonebgorges, @borgesbrun, @borgesbruno, @bradyvercher, @celloexpressions, @ChriCo, @dd32, @diddledan, @DrewAPicture, @ericlewis, @extendwings, @faishal, @gitlost, @jeremyfelt, @joehoyle, @joemcgill, @johnbillion, @jorbin, @keraweb, @markoheijnen, @mattwiebe, @mayukojpn, @meitar for initial patch, @mikeschroder, @mt8.biz, @netweb, @obenland, @ocean90, @pento, @perezlabs, @ramiy, @rilwis for initial patch, @rittesh.patel, @SergeyBiryukov, @stephenharris, @swissspidy, @Toro_Unit, and @westonruter for their contributions!
Week in Core, Mar 1 – Mar 8 2016 by Eric Binnion was originally posted at https://make.wordpress.org/core/2016/03/09/week-in-core-mar-1-mar-8-2016/
No comments:
Post a Comment