Welcome back the latest issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., covering changes [39666-39758]. Here are the highlights:
- 93 commits
- 35 contributors
- 100 tickets created
- 8 tickets reopened
- 80 tickets closed
Ticketticket Created for both bug reports and feature development on the bug tracker. numbers based on trac timeline for the period above. The following is a summary of commits, organized by component.
Code Changes
Administration
- Docs: Remove incorrect
@paramtags foradmin_print_footer_scripts-{$hook_suffix}andadmin_footer-{$hook_suffix}dynamic actiona. [39755] #39527
Build/Test Tools
- Build: Update pinned version of grunt-cssjanus for the 4.0 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a “branch”, such as “the 4.0 branch”. to hopefully please the build. [39747-39748] #29038
Bundled Theme
- Twenty Seventeen: Expand a changelog entry added in [39742] with the new item name. [39752] #39489
- Twenty Seventeen: Correct
@paramentries fortwentyseventeen_content_width,twentyseventeen_custom_colors_saturationandtwentyseventeen_social_links_iconsfilters. [39733] #39488 - Twenty Seventeen: Correct
@paramentry fortwentyseventeen_front_page_sectionsfilterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output.. [39732] #39488 - Twenty Seventeen: Introduce a theme-specific filter
twentyseventeen_starter_contentfor customizing the starter content array. [39720] #39109 - Upgrade: Fix the installation of TwentySeventeen upon upgrade from an early version. [39687] #38551, #30799, #39138
Comments
- Docs: Use correct closing tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) in
submit_fielddescription incomment_form(). [39753] #39508
Customize
- Correct a comment in
get_theme_starter_content()added in [39561]. [39751] #39104 - Docs: Correct
@accessentries and duplicate hook references inWP_Customize_Selective_Refresh. [39734] #39501 - Prevent removal of underline upon hover/focus for nav menu deletion links. [39696] #37527, #39444
- Remove extra left padding in core for site title and widgets in preview. [39695] #38651, #39349
- Ensure
theme_mod-cache ofcustom_csslookup of-1short-circuits aWP_Queryfrom being made. [39694] #35395, #39259 - CDon’t query for postmeta for Custom CSSCSS Cascading Style Sheets. (for not-current-themes) and CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings. Changeset posts. [39692-39693] #39194
- Ensure
theme_mod-cache ofcustom_csslookup of-1short-circuits aWP_Queryfrom being made. [39688] #35395, #39259 - Update
customize.phpURLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org withchangeset_uuidparam the instant a change is made instead of deferring until the changeset update request responds. [39686] #39227 - Remove extra left padding in core for site title and widgets in preview. [39685] #38651, #39349
- Prevent removal of underline upon hover/focus for nav menu deletion links. [39677] #37527, #39444
- Docs: Correct
@accesstag forWP_Customize_Partial::id_dataproperty. [39674] #39464 - Docs: Add missing
@sinceand@accesstags forWP_Widget_Form_Customize_Control::to_json()and::render_content(). [39673] #39463
Database
- Docs: Move
install_network()DocBlockdocblock (phpdoc, xref, inline docs) after thefunction_exists()call. [39709] #39478
Editor
- Docs: Use 3-digit, x.x.x style semantic versioning for
@sinceentries inwp-admin/js/word-count.js. [39739] #37718 - Docs: Add documentation for
wp-admin/js/editor.js. [39738] #38933 - Always add
page-template-defaultclass to the editor body when the template is not specified. This matches the behavior on the front-end. [39678-39679] #39368
External Libraries
- Mail: Upgrade PHPMailer to 5.2.21. [39722-39731] #37210
Feeds
- Don’t override the Content-Type headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. inside
fetch_feed(). [39681], [39683] #39066
General
- Docs: Add missing
@sinceentry forWalker::unset_children(). [39741] #39506 - Update copyright year to 2017 in license.txt. [39698-39707] #39433
- Docs: Correct
rest_insert_*duplicate hook references in REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”)
https://developer.wordpress.org/rest-api/. [39671] #39371 - Docs: Add missing
session_token_managerduplicate hook reference inwp-includes/class-wp-session-tokens.php. [39670] #39371 - Docs: Correct
comment_emailduplicate hook reference inwp-admin/includes/class-wp-comments-list-table.php. [39669] #39371 - Docs: Add missing duplicate hook references in
wp-admin/includes/ajax-actions.php. [39668] #39371
I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.
- Docs: Correct
@accessentries forWP_Locale::init()andWP_Locale::register_globals(). [39737] #39504 - Add post type context to “Featured ImageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts.” post labels. [39667] #39458
- In PHPMailer 5.2.7 the case of the
Send()method changed tosend(), update our call for consistency with the library. [39691] #39469
Media
- Docs: Use 3-digit, x.x.x style semantic versioning for
@sinceentries inwp-admin/js/image-edit.js. [39740] #38748
Menus
- Posts, Post Types: Add a
@sinceentry forarchivespost type label introduced in [35382]. [39666] #16075
Misc
Options, MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs
Posts, Post Types
- Use an existing string for “Invalidinvalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. post type” error message. [39756] #39171
- Docs: Add missing
@paramtag forshow_post_locked_dialogfilter. [39710] #39479
Query
- Docs: Add missing
@sinceand@accesstags forWP_Date_Query::is_first_order_clause(). [39672] #39462
REST API
Security
- Docs: Make
@deprecatedentry forwp_kses_js_entities(), deprecated in [38785], consistent with other entries. [39758] #39541
TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.
- Docs: Correct
@sinceand@accesstags forWP_Term_Query::get_terms()andWP_Term_Query::parse_orderby_meta(). [39675] #39467
Themes
- Docs: Add missing
@sinceentries forWP_Themeclass methods. [39736] #39503 - Docs: Correct the DocBlock for
get_header_video_url(). [39676] #39468
Upgrade/Install
- Docs: Move
install_global_terms()DocBlock after thefunction_exists()call. [39754] #39526 - Avoid creating nonce during installation. [39697] #39047
- Updates: Properly define
$filesystemFormto handle error in modals. [39689-39690] #39057 - Avoid creating nonce during installation. [39684] #39047
Users
- Docs: Change
@paramtype for$user_objectinWP_Users_List_Table::single_row()fromobjecttoWP_Userto be more accurate. [39757] #39536 - Docs: Correct
@accessentry forWP_User::filterproperty. [39735] #39502, #39278
Thanks to @ocean90 @Presskop, @aaroncampbell, @adamsilverstein, @asalce, @azaozz, @BharatKambariya, @celloexpressions, @chiragpatel, @dd32, @dlh, @ireneyoast, @Jaydeep Rami, @karmatosed, @keesiemeijer, @ketuchetan, @michalzuber, @monikarao, @Nikschavan, @nullvariable, @pento, @priyankabehera155, @prosti, @ramiy, @rmccue, @sanket.parmar, @sebastian.pisula, @SergeyBiryukov, @sirbrillig, @stevenkword, @teinertb, @terwdan, @timph, @truongwp, and @westonruter for their contributions!