WordPress Core Weekly
Hi everyone!
It’s this time of the week again: WordPress Core Weekly is here. This updates covers all commits since last week up to to today, October 29th.
In case you missed it, the new default theme, Twenty Fifteen, is coming along very well, the feature plugins planned for 4.1 are being tested extensively and the Customizer JavaScript API is getting more and more complete.
But there are many more things going on behind the scenes and Core has even passed revision [30,000]! Let’s have a look at this week:
Admin
- Add labels to the Personal Options input fields on the user profile editing screen. [30027] #30101
- Editor: Use
<button>
instead of<a>
for the Visual/Text buttons, make them focusable. [30002] #27553 - Customizer: Add the ability for a customizer control to render its controls via a JavaScript template. Switches the default color picker control to a JavaScript template. [30014] #29572
Themes
- Twenty Fifteen: If the sidebar is taller than the viewport scroll it with the content, if it’s shorter keep it fixed. [30025] #29979
- Introduce a new means of outputting a
<title>
tag in the theme head. Requires a theme to add support by callingadd_theme_support( 'title-tag' )
. [30074] #18548 - Introduce some new template functions for navigation [30065] #29808
get_the_post_navigation()
andthe_post_navigation()
for navigation to the next and previous post.get_the_posts_navigation()
andthe_posts_navigation()
for navigation to the next and previous page of posts.get_the_pagination()
andthe_pagination()
for paginated navigation between pages of posts.- Uses
paginate_links()
. This reduces the need for themes to define their own sets of navigation functions.
Internals
- Deprecate
admin_created_user_subject()
[30005] #29915 - Introduce an
edit_form_before_permalink
action which gets fired after the title field but before the permalink fields. [30028] #29691 - In
wp_link_pages()
, only output link separators between actual pagination links. [30030] #24940 - Rename
_wp_password_hint()
to_wp_get_password_hint()
to bring it inline with core terminology. [30033] #21243 - Don’t add
sticky
class inget_post_class()
ifignore_sticky_posts
query var is set. [30036] #18035 - Don’t display Standard post format twice in the meta box if the theme unnecessarily mentions it in the
add_theme_support()
call. [30038] #16555 - Add
comment_reply_link_args
filter forget_comment_reply_link()
arguments. [30039] #10569 - Allow
slug
param ofget_terms()
to accept an array. [30042] #23636 - Introduce
orderby=include
support forget_terms()
. [30052] #23261 - Remove
UNIQUE
key fromslug
column of terms table. [30056] #22023 - Add
wp_json_encode()
, a wrapper forjson_encode()
that ensures everything is converted to UTF-8. Change all core calls fromjson_encode()
towp_json_encode()
. [30055] #28786 - Introduce
wp_is_trusted_network()
. A first step to establish concepts around trusted and untrusted networks. [30071] #30145 - Don’t hardcode
height
for videos – this was a workaround for MediaElement internals causing problems. Responsive videos now work properly and don’t cause extra whitespace. [30082] #30078 - Introduce some actions and filters which aid plugins in revisioning post meta. [30091] #20564
Queries
- Allow
ORDER BY
inWP_Comment_Query::query()
to be disabled. [30004] #29902 DisableORDER BY
by passing booleanfalse
, an empty array, or the stringnone
to theorderby
parameter. This mirrors the behavior ofWP_Query
. - Accept
orderby=include
inWP_User_Query
. [30016] #30064 This lets the results of a user query be sorted manually by the value of theinclude
param. - Fix
count
inWP_Comment_Query
when usingmeta_query
. [30026] #23369 - Optimize site query when performing network database upgrades [30029] #30097
- Improve
WP_Tax_Query
param sanitization for empty strings. [30031] #30117 - Support multiple
status
values inWP_Comment_Query
. [30084] #29612
Thanks to @peterwilsoncc, @iamtakashi, @nacin, @mnelson4, @afercia, @psycleuk, @rianrietveld, @davidakennedy, @celloexpressions, @DrewAPicture, @jipmoors, @ipm-frommen, @mattwiebe, @avryl, @heshiming, @desaiuditd, @ankit-k-gupta, @captaintheme, @marcosf, @obenland, @tmtrademark, @briandichiara, @tareq1988, @jakub.tyrcha, @johneckman, @kosvrouvas, @ptahdunbar, @nacin, @pushplaybang, @joedolson, @aaroncampbell, @jfarthing84, @dlh, @danielbachhuber, @wpsmith, @hotchkissconsulting, @JustinSainton, @jwenerd, @wonderboymusic, @tollmanz, @chrisbliss18, @joostdevalk, @TobiasBg, @nofearinc, @karpstrucking, @ebinnion, @boonebgorges, @mattheu, @adamsilverstein, @momo360modena, @tareq1988 for their core contributions!
Revisions covered: [29995] to [30093]. For the complete list of commits to trunk, check out the log on Trac.
Interested in joining in? Write or test a patch for 4.1.
Reply
You must be logged in to post a comment.