Hi everybody! Welcome back to the latest issue of Week in Core, covering changes from February 2nd [36471] – February 9th [36504], changesets [36471-36504]. Here are the highlights:
- 34 commits
- 19 contributors with props
- 114 tickets created
- 13 tickets reopened
- 52 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 Updates
Accessibility
Administration
Comments
- Restore the ability to bypass post_id filter using 0 or ‘0’. Reverts [36381], [36387]. [36480] #35090
- Add
parent__in
andparent__not_in
to query var defaults. [36479] #35677 - Allow comments to be queried by ‘any’
post_type
orpost_status
. [36486] #35512
Database
Docs
- Fix a variety of phpDoc issues [36471] [36472] [36473] [36474] [36475] [36476] [36493] [36494] [36495] [36496] [36499] [36500] [36501] #32246
- Revert unintended changes in
wp-includes/post.php
, mistakenly included in [36497]. [36498] #34988, #33701 - Add a missing version to the file header for
wp-admin/term.php
, introduced in [36308]. [36497] #34988, #33701 - Add a note to the DocBlock for
current_user_can()
to explain that it will always return true for super admins, unless specifically denied. [36492] #35551 - Fix two notations in the DocBlocks for
show_admin_bar()
andis_admin_bar_showing()
to reflect use of the$show_admin_bar
global rather than$wp_admin_bar
. [36491] #35686 - Use the correct parameter name in the DocBlock for
wp_kses_post_deep()
, introduced in [36429]. [36489] #35700, #35316 - Add a missing type to the return description for
map_deep()
. [36488] #35700
Posts
- Make the
$post
param optional inget_post_field()
. When$post
isnull
, the current post object will be returned. [36481] #35683
Taxonomy
- Allow
get_terms()
results to ordered by metadata. […] This brings order-by-meta support for terms in line with post, comment, and user queries. [36485] #34996 WP_Query
taxonomy query vars should be set to first of multiple taxonomies […] for better parity withget_queried_object()
, which will return the first taxonomy/term matched by the current query. [36484] #35619
Themes
- Pass information about the old theme in the form of a
WP_Theme
object when theswitch_theme
action is fired. [36502] #22401
TinyMCE
Users
- Display the new user email notice in user admin too. Also […], use the global
$pagenow
and add a translators comment for the placeholder. [36504] #35767 - Use
self_admin_url()
for the email change confirmation link – prevents sending users towp-admin/profile.php
if they only have access towp-admin/user/profile.php
. [36503] #35766 - When updating a user, invalidate its ‘userslugs’ cache. [36482] #35750
Props
Thanks to @afercia, @azaozz, @boonebgorges, @Chouby, @danielbachhuber, @DrewAPicture, @eherman24, @finnj, @Frozzare, @jadpm, @kouratoras, @markoheijnen, @MikeHansenMe, @ocean90, @pento, @ramiy, @sebastianpisula, @SergeyBiryukov, and @thebrandonallen for their contributions!
Week in Core, Feb. 2-9 2016 by Grant Palin was originally posted at https://make.wordpress.org/core/2016/02/11/week-in-core-feb-2-9-2016/
No comments:
Post a Comment