Welcome back the latest issue of Week in Core, covering changes [37001-37060]. Here are the highlights:
- 59 commits
- 30 contributors
- 57 tickets created
- 3 tickets reopened
- 47 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
4.5
Customize
- Prevent preview iframe from showing until fully loaded. Fixes #36276. [37060] #31195, #36276
- Add support for flex sizes in
CustomizeImageCropper
. [37042] #36255, #34851 - Require opt-in for selective refresh of widgets. [37040] #27355, #35855
Dashicons
- Fix incorrect ID in SVG version of font. [37037] #34221
- Updates
.dashicons-googleplus
(f462) and adds three new icons,.dashicons-move
(f545),.dashicons-laptop
(f547), and.dashicons-paperclip
(f546). [37036] #34221
Docs
- Mark optional method parameters as such in
Walker_Page
. Also normalizes parameter spacing following [37056]. [37057] #36300 - The page object type in use in
Walker_Page
isWP_Post
. [37056] #36300 - Improve inline documentation for properties and methods in
Walker_Page
. [37055] #36300 - The page object type in use in
Walker_PageDropdown
isWP_Post
. [37054] #36300 - Improve inline documentation for properties and methods in
Walker_PageDropdown
. [37053] #36300 - Normalize
Walker_Comment
method parameter docs spacing following [37051]. [37052] #36300 - Comment display element object types for
Walker_Comment
areWP_Comment
since 4.4.0. [37051] #36300 - Improve inline documentation syntax for
Walker_Comment
. [37050] #36300 - Standardize the class DocBlock summary for
Walker_Comment
. [37049] #36300 - Improve inline documentation for properties and methods in
Walker_Comment
. [37048] #36300 - Mark optional parameters in
Walker_Category
methods as such. Also cleans up some syntax. [37047] #36300 - Improve inline documentation for property and methods in
Walker_Category
. [37046] #36300 - Improve inline documentation in property and method DocBlocks for
Walker_CategoryDropdown
. [37045] #36300 - Change the ‘HTTPS’ column header to ‘Supports HTTPS’ in the markdown providers tables in the hook doc for the
oembed_providers
filter. [37039] #32246 - Add Twitter timelines and moments to the table in the hook doc for the
oembed_providers
filter, introduced in [36954]. [37038] #36197, #35986 - Document default
WP_Ajax_Response::add()
arguments as a hash notation. Adds example output to the DocBlock description based on default argument values. [37032] #32246 - Improve 4.5 changelog entries introduced in [36992] for
wp_authenticate()
, and theauthenticate
andwp_login_failed
hooks. [37030] #9568, #35986 - Clarify documentation for the
xmlrpc_enabled
filter to better explain that its scope only extends to methods requiring authentication [37025] #21509, #36055 - Use a third-person singular verb in the DocBlock summary for
WP_REST_Response::get_curies()
, introduced in [36533]. Also adds a missing return description. [37015] #34729, #35986 - Improve parameter description syntax in the hook doc for the
rest_request_from_url
filter, introduced in [36673]. [37014] #35803, #35986 - Improve the DocBlock for
WP_REST_Request::from_url()
, introduced in [36673]. [37013] #35803, #35986 - Use a third-person singular verb in the DocBlock summary for
WP_Customize_Site_Icon_Control::content_template()
, introduced in [36698]. Also adds a missing @access notation. [37012] #33755, #35986 - Add a missing version and access information to the DocBlock for the
WP_Customize_Selective_Refresh->$manager
property, introduced in [36586]. [37011] #27355, #35986 - Standardize the file header and class summarries for the file containing
WP_Customize_Selective_Refresh
, introduced in [36586]. [37010] #27355, #35986 - Standardize the file header and class summaries for the file containing
WP_Customize_Partial
, introduced in [36586]. [37009] #27355, #35986 - Clarify the use of the
get_currentuserinfo()
for backward compatibility purposes in the DocBlock description for_wp_get_current_user()
, introduced in [36651]. [37008] #19615, #35986 - Use a third-person singular verb in the DocBlock summary for
wp_authenticate_email_password()
, introduced in [36617]. [37007] #9568, #35986 - Add a couple of spaces before hook docs for filters introduced in 4.5. [37006] #35986
Editor
Emoji
- The
everythingExceptFlag
browser support flag, introduced in [36816], wasn’t being initialised correctly. [37029] #35300 - Fix the diversity emoji check in Safari. [37028] #36266
I18N
- Move translatable Codex URLs to separate strings in
wp-admin/includes/meta-boxes.php
. [37016] #35751
Media
- Fix erroneously inserting a
rel
attribute inget_image_send_to_editor()
. Reverts most of [34259] and [34260] and adds a unit test. [37035] #36084 - When generating the base URL to be used in the
srcset
attribute, use an https scheme when the image base URL’s host matches that of the current host, and the request is being served over HTTPS. This prevents mixed content warnings caused by http embedded media. [37022] #34945
Responsive Images
- The
src
of the image has to be first in thesrcset
, because of a bug in iOS8. Update the unit tests to reflect the changes. [37034] #35030 - Skip images with a missing
$image_meta['file']
value. [37018] #35480 - Do not attempt to create
srcset
when the image meta is missing or corrupted. [37002] #35480
REST API
- Provide better method for generating CURIEs [37041] #34729
- Add
home_url
to API index to avoid confusion withsite_url
. [37031] #35647 - Remove unused variable
$api_root
fromWP_Rest_Server->embed_links()
method. [37021] #35803
Themes
TinyMCE
- Adjust textpattern tests for the changes in [37023]. [37024] #33300
- Remove
***
and___
text pattern and support for spaces in---
. The onlyhr
text pattern is 3 or more dashes, no spaces. Remove the*
,_
, and__
text patterns for bold and italic. [37023] #33300
TinyMCE, Inline Link
- Add back the bottom box-shadow on the Apply button. Shrink
.mce-btn.mce-primary
to compensate for the bottombox-shadow
. Tighten up/reduce the margins between the buttons. [37004] #33301 - Remove bottom
box-shadow
from the Apply button so it matches the rest. Change the tooltip for the cogwheel button to Link options. [37001] #33301
Build/Test Tools
- Allow to cache the
node_modules
directory. This should speed up the installation of npm dependencies. [37058] #36291 - Bump grunt-contrib-qunit ~0.7.0 → ~1.1.0 [37020] #35104
- Bump grunt-contrib-watch ~0.6.1 → ~1.0.0 [37019] #35104
- Bump grunt-contrib-jshint ~0.11.3 → ~1.0.0 [37017] #35104
Users
XMLRPC
- Unit tests left off [r37043] [37044] #35874
- Fix bug where draft posts couldn’t be published in the future, and would publish immediately. [37043] #35874
Props
Thanks to @aargh-a-knot, @adamsilverstein, @azaozz, @DrewAPicture, @empireoflight, @gitlost, @iamtakashi, @jaspermdegroot, @joehoyle, @joemcgill, @johnbillion, @jorbin, @karmatosed, @liljimmi, @melchoyce, @mensmaximus, @mikeschroder, @netweb, @ocean90, @overclokk, @pbearne, @pento, @rachelbaker, @raimy, @ramiy, @redsweater, @SergeyBiryukov, @wesleye, and @westonruter for their contributions!
Week in Core, Mar 15 – Mar 22 2016 by Grant Palin was originally posted at https://make.wordpress.org/core/2016/03/23/week-in-core-mar-15-mar-22-2016/
No comments:
Post a Comment