A Week in Core – June 19, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between June 12 and June 19, 2023.

  • 41 commits
  • 61 contributors
  • 66 tickets created
  • 7 tickets reopened
  • 40 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Build/Test Tools

  • Revert accidental change to .env – #50523
  • Add @covers annotation to wp_set_object_terms() tests – #57841
  • Various term related test improvements – #57841

Bundled Themes

  • Fix Twenty Fourteen button blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. line-height – #58444
  • Remove load_theme_textdomain() calls from default themes – #58318
  • Twenty Seventeen: Improve Grid View variation rendering in the editor for the Post List block – #58531

Cache APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Remove unused usermeta global cache group – #58175

Coding Standards

  • Use strict comparison in wp-includes/class-wp-list-util.php#57839
  • Use strict comparison in wp-includes/class-wp-oembed.php#57839
  • Use strict comparison in wp-includes/pomo/entry.php#57839
  • Use strict comparison in wp-includes/pomo/mo.php#57839
  • Use strict comparison in wp-includes/pomo/streams.php#57839
  • Use strict comparison in wp-includes/pomo/translations.php#57839

Docs

  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840

Editor

  • Skip file_exist check for core blocks. – #58385
  • use layout.wideSize as max viewport width – #58522
  • use logarithmic scale for fluid typography – #58523
  • Fix lint issues in WP_Theme_JSON::sanitize method – #58462
  • Ignore unregistered block style variations from theme.json#58462

Filesystem API

  • Attempt to create directory in copy_dir()#41855

Formatting

  • Support aria content attributes – #55370

General

  • Replace some instances of “blogblog (versus network, site)” with “site” in documentation, translator comments, and user-facing text strings – #58117
  • fix overridden typos – #58464

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.

  • Allow to short-circuit load_textdomain()#58035

KSES

  • Add support for CSSCSS Cascading Style Sheets. repeat() function – #58551

Media

  • Deprecate the ‘edit_custom_thumbnail_sizes’ filterFilter 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. and disable the “Apply changes to [Thumbnail|All|All except thumbnail]” UIUI User interface in the image editor. Add a (boolean) filter to reenable that UI – #57685
  • Display the “Copy URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org” and “Download file” row actions when the “Unattached” filter is applied – #57890, #57893
  • Redirect deprecated wp-admin/media.php file – #57612
  • Remove duplicate div containers – #50523
  • Update adminadmin (and super admin) image editor design – #50523

Posts, Post Types

  • Introduce item_trashed post type label – #51387

Script Loader

  • Add a check to see in style is registered in wp_maybe_inline_styles – #58394

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.

  • Prevent deprecation notices clearing terms – #57923

Themes

  • Change the order of path check in is_block_theme method – #58520
  • Fix caching issue in get_post_templates method in WP_Theme#57886
  • Inline render blocking CSS classic-themes.css#58480
  • add wp_get_remote_theme_patterns function – #58460

Upgrade/Install

  • Log in link should look like a link – #40470

Props

Thanks to the 61 people who contributed to WordPress Core on Trac last week:

@costdev (12), @sergeybiryukov (11), @afercia (9), @poena (7), @audrasjb (7), @peterwilsoncc (6), @spacedmonkey (6), @aristath (6), @joedolson (5), @oglekler (4), @azaozz (4), @mukesh27 (3), @sabernhardt (3), @kebbet (3), @swissspidy (2), @joemcgill (2), @ntsekouras (2), @nrqsnchz (2), @NekoJonez (2), @antpb (2), @isabel_brison (2), @prashantbhivsane (2), @nihar007 (2), @piyushtekwani (1), @algorithmsunlocks (1), @mayur8991 (1), @flixos90 (1), @adamsilverstein (1), @nkeller15 (1), @drw158 (1), @chaion07 (1), @ocean90 (1), @chouby (1), @karmatosed (1), @james-roberts (1), @jrf (1), @talldanwp (1), @nidhidhandhukiya (1), @crs1138 (1), @johnbillion (1), @ignatggeorgiev (1), @pbiron (1), @ramonopoly (1), @ramonopoly.
(1), @Aristath (1), @kapilpaul (1), @oandregal (1), @krupalpanchal (1), @jorbin (1), @pamprn09 (1), @rianrietveld (1), @maniu (1), @hellofromTonya (1), @caraffande (1), @zunaid321 (1), @rsiddharth (1), @ryokuhi (1), @nataliat2004 (1), @xavortm (1), @menakas (1), @dd32 (1)

.

Congrats and welcome to our 9 new contributors of the week: @prashantbhivsane, @piyushtekwani, @algorithmsunlocks, @mayur8991, @nkeller15, @crs1138, @maniu, @caraffande, @nataliat2004 ♥️

Core committers: @sergeybiryukov (9), @peterwilsoncc (6), @joedolson (6), @spacedmonkey (5), @audrasjb (5), @isabel_brison (3), @oandregal (3), @swissspidy (2), @johnbillion (1), @azaozz (1).

#6-3, #core, #week-in-core

A Week in Core – June 12, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between June 5 and June 12, 2023.

  • 30 commits
  • 48 contributors
  • 67 tickets created
  • 3 tickets reopened
  • 44 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Administration

  • Improve alignment in the Activity dashboard widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user.#58114

Bootstrap/Load

  • Revert [55890]#57928
  • Avoid loading a theme’s functions.php when ! wp_using_themes()#57928

Bundled Themes

  • Twenty Twenty-Three: Remove redundant px unit in a few inline styles – #58485

Coding Standards

  • Use strict comparison in wp-admin/options-writing.php#57839
  • Use strict comparison in wp-includes/class-walker-category.php#57839
  • Use strict comparison in wp-includes/class-walker-page-dropdown.php#57839
  • Use strict comparison in wp-includes/class-walker-page.php#57839
  • Use strict comparison in wp-includes/class-wp-http-streams.php#57839
  • Use strict comparison in wp-includes/class-wp-list-util.php#57839

Docs

  • Fix a few more typos in Docblocks – #58338, #57840
  • Improve various docblockdocblock (phpdoc, xref, inline docs) in WP_Query class, as per docblock standards – #57840
  • Mark apply_filters() third parameter $args as optional – #58481, #57840
  • Various docblock improvements in Custom 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. Image related functions, as per docblocks standards – #57840

Editor

  • Improve the append_to_selector method – #58231
  • Skip file_exist check for core blocks – #58385

Embeds

  • Add support for TikTok creator profiles – #55784

External Libraries

  • Update jQuery Migrate to version 3.4.1 – #58451

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.

  • Provide gettext context to disambiguate various translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. strings – #58424

Login and Registration

  • Grammar improvement on Sign-up user-facing strings – #58115

Media

  • Fix CSSCSS Cascading Style Sheets. layout issues in Replace media dialog – #54395

Networks and Sites

  • Require a site title when a site is created – #54012

Plugins

  • Display Auto-updates filters when the current view is “Must Use” or “Drop-in” – #54309

Query

  • Allow queries by wp_dashboard_recent_posts() to be cached – #57055

Script Loader

  • Add a check to see in style is registered in wp_maybe_inline_styles – #58394
  • Improve performance of wp_maybe_inline_styles function – #58394

Themes

  • Replace file_exists checks with call to is_block_theme method in WP_Theme class – #58405

Upgrade/Install

  • Improve WP_Upgrader strings rendering on small screens – #58477

Users

  • Use type="hidden" for hidden input on User edit administration panel – #56776

XML-RPC

  • Update RSD specification URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in XMLRPC library – #58503

Props

Thanks to the 48 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (8), @spacedmonkey (6), @afercia (6), @aristath (6), @poena (6), @audrasjb (5), @mukesh27 (5), @costdev (5), @flixos90 (3), @joemcgill (3), @kebbet (2), @sabernhardt (2), @ankitmaru (2), @sumitsingh (2), @hareesh-pillai (2), @NekoJonez (2), @ryokuhi (1), @pooja1210 (1), @chiragrathod103 (1), @dhrumilk (1), @nazmulhudadev (1), @hellofromtonya (1), @peterwilsoncc (1), @danielbachhuber (1), @nihar007 (1), @juzar (1), @bpayton (1), @pavanpatil1 (1), @siddhantwadhwani (1), @ashikurwp (1), @tushar284 (1), @Ankit K Gupta (1), @smit08 (1), @gilles66 (1), @gaeldenysiak (1), @ideag (1), @benjgrolleau (1), @alvitazwar052 (1), @anveshika (1), @mgol (1), @sstoqnov (1), @utsav72640 (1), @pbiron (1), @mamaduka (1), @oandregal (1), @wildworks (1), @dd32 (1), and @gonzomir (1).

Congrats and welcome to our 7 new contributors of the week: @nazmulhudadev, @juzar, @siddhantwadhwani, @ashikurwp, @gilles66, @gaeldenysiak, @anveshika ♥️

Core committers: @audrasjb (11), @sergeybiryukov (8), @spacedmonkey (5), @danielbachhuber (2), @swissspidy (1), @joedolson (1), @ocean90 (1), and @jorbin (1).

#6-3, #core, #week-in-core

Two Weeks in Core – June 5, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between May 22 and June 5, 2023. Sorry for not being able to publish a post last week, this one will cover two weeks!

  • 37 commits
  • 63 contributors
  • 91 tickets created
  • 9 tickets reopened
  • 71 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Bundled Themes

  • Remove/disable obsolete IE-specific skip-link-focus-fix – #54421

Coding Standards

  • Improve formatting of some SQL queries for better readability – #58372
  • Use strict comparison in wp-admin/includes/menu.php#57839
  • Use strict comparison in wp-admin/includes/schema.php#58042, #58047, #57839
  • Use strict comparison in wp-admin/includes/update.php#57839
  • Use strict comparison in wp-admin/network/sites.php#57839
  • Use strict comparison in wp-admin/network/users.php#57839
  • Use strict comparison in wp-admin/users.php#57839
  • Use strict comparison in wp-includes/category.php#57839
  • Use strict comparison in wp-includes/class-walker-category.php#57839
  • Use strict comparison in wp-includes/theme-compat/comments.php#57839

Comments

  • Deprecate wp_queue_comments_for_comment_meta_lazyload function – #58301
  • Move wp_queue_comments_for_comment_meta_lazyload function to the correct file – #58301

Cron APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Attempt to raise the PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher memory limit for cron event processing – #56628

Docs

  • Add a @since 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.) for the pre_wp_setup_nav_menu_item filterFilter 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.#56577
  • Miscellaneous corrections and improvements to docblocks – #57840
  • Various docblockdocblock (phpdoc, xref, inline docs) improvements in Custom 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. Image related functions, as per docblocks standards – #57840

Editor

  • Use register_block_type_from_metadata in register_core_block_types_from_metadata – #58342

Emoji

  • Remove extraneous sprintf() from _print_emoji_detection_script()#58436, #44632

Editor

External Libraries

  • Update jQuery to version 3.7.0 – #58083

Formatting

  • Add support for schwa in remove_accents() – #57609

General

  • Improve performance of the _wp_array_get() function – #58376

Help/About

  • Remove unwanted space in a link located on about.php#58373
  • Reverse the order of conditionals for displaying the “Go to Updates” link – #57839

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.

  • Improve _load_textdomain_just_in_time() logic when there are no translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. files – #58321
  • Provide gettext context to disambiguate various translation strings – #58424
  • Refactor determine_locale() for performance and readability – #58317

Media

  • Conditionally skip lazy-loading on images before the loopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. to improve LCP performance – #58211, #53675, #56930
  • Correct the fallback value passed to the $mimes parameter of wp_check_filetype_and_ext() from _wp_handle_upload(), and update corresponding documentation – #58349
  • Fix lazy-loading bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. by avoiding to modify content images when creating an excerptExcerpt An excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox.#56588
  • Prevent scaling up of images in the Image Editor – #26381

Menus

  • Add a short-circuit filter to wp_setup_nav_menu_item()#56577

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

  • Change the option can_compress_scripts to be autoloaded. – #55270

Themes

  • Use correct escaping function for aria-label in _navigation_markup()#58387

Upgrade/Install

  • Avoid an extra database query in populate_network()#58423

Users

  • Make sure bulk actions are only executed with the Apply button, not Change – #57952

Props

Thanks to the 63 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (14), @mukesh27 (11), @costdev (10), @aristath (9), @afercia (9), @spacedmonkey (8), @poena (8), @flixos90 (5), @swissspidy (3), @nihar007 (2), @TobiasBg (2), @thekt12 (2), @audrasjb (2), @joedolson (2), @westonruter (2), @sabernhardt (2), @desrosj (2), @sakibmd (1), @azaozz (1), @suleymankenar (1), @przemekhernik (1), @umeshmcakadi (1), @krupalpanchal (1), @dhrumilk (1), @sh4lin (1), @peterwilsoncc (1), @RavanH (1), @ellatrix (1), @mikeschroder (1), @jrf (1), @samiamnot (1), @joemcgill (1), @salvoaranzulla (1), @gziolo (1), @sarequl (1), @NekoJonez (1), @sumitbagthariya16 (1), @ahsannayem (1), @Mista-Flo (1), @markoheijnen (1), @david.binda (1), @Cybr (1), @ironprogrammer (1), @andizer (1), @faisalahammad (1), @thakkarhardik (1), @johnbillion (1), @ocean90 (1), @haritpanchal (1), @Ankit-K-Gupta (1), @iandunn (1), @pkbhatt (1), @brookedot (1), @platonkristinin (1), @gonzomir (1), @mgol (1), @jorbin (1), @hbhalodia (1), @ankitmaru (1), @sudipatel007 (1), @naeemhaque (1), @nuhel (1), and @zunaid321 (1).

Congrats and welcome to our 10 new contributors of the week: @suleymankenar, @przemekhernik, @umeshmcakadi, @sh4lin, @sarequl, @pkbhatt, @platonkristinin, @hbhalodia, @sudipatel007, @nuhel ♥️

Core committers: @sergeybiryukov (17), @audrasjb (4), @spacedmonkey (4), @johnbillion (3), @westonruter (2), @swissspidy (2), @flixos90 (2), @azaozz (1), @antpb (1), @oandregal (1).

#6-3-2, #core, #week-in-core

A Week in Core – May 22, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between May 8 and May 22, 2023 (sorry for not being able to publish a post last week, this one will cover two weeks!).

  • 48 commits
  • 87 contributors
  • 108 tickets created
  • 10 tickets reopened
  • 79 tickets closed

Also, WordPress 6.2.1 and 6.2.2 maintenance and security releases went out!

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Administration

  • Add missing escaping for CSSCSS Cascading Style Sheets. classes on the body 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 the adminadmin (and super admin)#58336

Build/Test Tools

  • Call wp_cache_flush_runtime in WP_UnitTestCase. – #31463
  • Move wp_cache_flush_runtime() next to wp_cache_flush()#57841
  • Partial revert of r55745 – #57841
  • Remove expectation of a deprecation notice from WP_Posts_List_Table tests – #58157
  • Split the tests from user/author.php into individual test classes – #57841
  • Use the function get_num_queries across all unit tests – #57841

Code Modernization

  • Correct fallback return value in get_the_author()#58157
  • Explicitly declare all properties in Text_Diff_Engine_native#58298

Coding Standards

  • Use esc_url() to escape link URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org value in wp-admin/edit-link-form.php#58282

Comments

  • Always lazily load comment 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.#57801

Docs

  • A host of corrections and improvements to inline documentation – #57840
  • Clarify @param types on get_sample_permalink_html filterFilter 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.#58322
  • Correct default value for the $optimize option in Style Engine – #57840
  • Fix a few more typos in DocBlocks – #57840
  • Fix a few more typos in DocBlocks and inline comments – #57840
  • Fix a few more typos in inline comments – #58334, #57840
  • Fix typo in a comment in Bulk_Upgrader_Skin::header() and ::footer()#58334
  • Improve HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. file and class headers per the documentation standards – #57840
  • Improve Style Engine DocBlocks per the documentation standards – #57840
  • Improve Style Engine file and class headers per the documentation standards – #57840
  • Improve a few DocBlocks in wp-includes/formatting.php#58316
  • Update code examples formatting in WP_HTML_Tag_Processor documentation – #58028
  • Various corrections and improvements to inline docsinline docs (phpdoc, docblock, xref) and docblocks – #57840
  • describe return type of _get_block_template_file()#57756

Editor

  • Disable lazy loading term meta in get_block_templates#58230
  • Ensure blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. comments are of a valid form
  • Remove shortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site. support from block templates
  • Restore shortcode support for block templates – #58333
  • Update block editor packages to the latest patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. releases – #58274

Embeds

  • Add protocol validation for WordPress Embed code

General

  • Remove a few is_object() checks followed by instanceof operator – #58309
  • Use static on closures whenever $this is not used to avoid memory leaks – #58323

Help/About

  • Remove unwanted space in a link located on about.php#58373

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.

  • Introduce sanitization function for localeLocale A locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English.
  • Replace “Roll back” with “Restore” in user facing strings – #58282

Media

  • Conditionally skip lazy-loading on images before the loopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. to improve LCP performance – #58211
  • Increase default for wp_omit_loading_attr_threshold to 3 – #58213
  • Introduce wp_get_attachment_image_context filter – #58212
  • Prevent CSRF setting attachment thumbnails
  • Prevent special images within post content to skew image counts and cause lazy-loading bugs – #58089

Networks and Sites

  • Lazy load site meta – #58185
  • Load WP_Metadata_Lazyloader class file if class does not exist – #58185
  • Load WP_Metadata_Lazyloader class file if class in meta.php – #58185

Plugins

  • Remove is_object() check in WP_Hook:build_preinitialized_hooks()#58290

Posts, Post Types

  • Add a new filter for query arguments in get_pages#12821

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.

  • Add edit link functionality for the wp_template and wp_template_part post types – #57709

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.

  • Do not prime term meta in wp_get_object_terms#57701

Props

Thanks to the 87 people who contributed to WordPress Core on Trac last week: @spacedmonkey (15), @peterwilsoncc (10), @costdev (10), @mukesh27 (9), @xknown (6), @flixos90 (6), @sergeybiryukov (5), @westonruter (5), @johnbillion (5), @thekt12 (4), @audrasjb (4), @youknowriad (4), @jrf (4), @davidbaumwald (3), @timothyblynjacobs (3), @isabel_brison (3), @dd32 (3), @antpb (3), @Presskopp (3), @talldanwp (2), @andraganescu (2), @ntsekouras (2), @ocean90 (2), @NekoJonez (2), @oandregal (2), @matveb (2), @rmccue (2), @desrosj (2), @aristath (1), @johnjamesjacoby (1), @antonvlasenko (1), @ramonopoly (1), @ironprogrammer (1), @annezazu (1), @wonderboymusic (1), @boonebgorges (1), @voldemortensen (1), @DrewAPicture (1), @tillkruess (1), @mamaduka (1), @wildworks (1), @mdxfr (1), @hellofromtonya (1), @kebbet (1), @mattwiebe (1), @bph (1), @ndiego (1), @joen (1), @ellatrix (1), @kevin940726 (1), @andrewserong (1), @welcher (1), @juanmaguitar (1), @coffee2code (1), @azaozz (1), @bor0 (1), @thomask (1), @dilipbheda (1), @marianne38 (1), @mikeschroder (1), @ehtis (1), @jorbin (1), @gziolo (1), @chriscct7 (1), @Otto42 (1), @ryelle (1), @joedolson (1), @Clorith (1), @kamplugins (1), @afragen (1), @apermo (1), @kenwins (1), @noisysocks (1), @zunaid321 (1), @martinkrcho (1), @paulkevan (1), @ahsannayem (1), @rutviksavsani (1), @Enchiridion (1), @sumitbagthariya16 (1), @Soean (1), @sabernhardt (1), @salvoaranzulla (1), @ebai4 (1), @sajjad67 (1), @tijmensmit (1), and @dmsnell (1).

Congrats and welcome to our 5 new contributors of the week: @marianne38, @ahsannayem, @rutviksavsani, @ebai4, @tijmensmit ♥️

Core committers: @sergeybiryukov (17), @audrasjb (10), @spacedmonkey (9), @flixos90 (4), @johnbillion (2), @desrosj (1), @westonruter (1), @oandregal (1), and @davidbaumwald (1).

#6-3, #core, #week-in-core

A Week in Core – May 8, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between May 1 and May 8, 2023.

  • 24 commits
  • 56 contributors
  • 46 tickets created
  • 9 tickets reopened
  • 49 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Build/Test Tools

  • Fix the permissions that are granted to the SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications workflow – #57865
  • Restrict the permissions granted to jobs on GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Actions – #57865

Cache APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Add helper function wp_cache_set_last_changed#57905

Code Modernization

  • Replace usage of strpos() with str_starts_with()#58012

Coding Standards

  • Bring more consistency to PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.0 string function polyfills – #57839
  • Remove unnecessary variable escapement in Bookmark Administration API – #58239

Docs

  • Correct and improve inline docsinline docs (phpdoc, docblock, xref) relating to the style engine – #57840
  • Correct the placement of @see tags in WP_HTML_Tag_Processor class – #58254
  • Corrections and improvements to docblocks for global styles, global settings, theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. parsing, and shortcodes – #57840
  • Improve formatting of markup in the docs for WP_HTML_Tag_Processor#57840
  • Miscellaneous formatting corrections to inline docs and whitespace – #57840
  • Remove @return void from various DocBlocks – #57840
  • Update code examples formatting in WP_HTML_Tag_Processor documentation – #58028
  • Various improvements in Bookmark Administration API function descriptions, as per docblocks standards – #57840

Filesystem API

  • Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes – #58229, #57840

General

  • Restore strpos() check in wp-admin/load-styles.php#58244, #58012

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API

  • Accumulate shift for internal parsing pointer – #58179
  • Adjust coding style to pass GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ linter – #58250
  • Restore mistakenly-removed content in documentation – #58256, #57840

Help/About

  • Left-align 6.2 about page subheading – #57387

Post Types

  • Add the view_items label to the wp_block post type – #58209

Script Loader

  • Update jQuery version to 3.6.4 to match the current version – #58203, #57324

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.

  • Remove redundant call to get_term in wp_queue_posts_for_term_meta_lazyload#57966

Upgrade/Install

  • Create a temporary backup of plugins and themes before updating – #51857

Props

Thanks to the 56 people who contributed to WordPress Core on Trac last week: @costdev (5), @dmsnell (5), @johnbillion (5), @audrasjb (5), @sergeybiryukov (4), @mukesh27 (4), @desrosj (3), @TobiasBg (3), @spacedmonkey (3), @peterwilsoncc (2), @sabernhardt (2), @dd32 (2), @azaozz (2), @ayeshrajans (1), @mat-lipe (1), @ignatggeorgiev (1), @shagors (1), @johnjamesjacoby (1), @tillkruess (1), @amin7 (1), @pavanpatil1 (1), @szepeviktor (1), @jorbin (1), @nickpap (1), @dhrumilk (1), @flixos90 (1), @DigTek (1), @zieladam (1), @jrf (1), @utsav72640 (1), @lgadzhev (1), @thisisyeasin (1), @juanmaguitar (1), @davidbaumwald (1), @mikeschroder (1), @afragen (1), @pbiron (1), @hellofromTonya (1), @aristath (1), @TJNowell (1), @bronsonquick (1), @Clorith (1), @poena (1), @TimothyBlynJacobs (1), @a2hosting (1), @chaion07 (1), @KZeni (1), @galbaras (1), @richards1052 (1), @Boniu91 (1), @mai21 (1), @francina (1), @coffee2code (1), @noisysocks (1), @dlh (1), @joemcgill (1).

Congrats and welcome to our 5 new contributors of the week: @shagors, @nickpap, @DigTek, @lgadzhev, @thisisyeasin ♥️

Core committers: @sergeybiryukov (7), @johnbillion (7), @audrasjb (5), @bernhard-reiter (2), @spacedmonkey (2), @afercia (1).

#6-3, #core, #week-in-core

A Week in Core – May 1, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 24 and May 1, 2023.

  • 7 commits
  • 21 contributors
  • 50 tickets created
  • 3 tickets reopened
  • 38 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Coding Standards

  • Remove an empty else statement in dbDelta()#56982

Editor

  • Improve the 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.) field loading spinner alignment – #58136

General

  • Don’t pass $action to wp_get_session_token() in wp_create_nonce()#58181

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.

  • Use correct translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. function in wp-admin/includes/media.php#58138

Text Changes

  • Typo fix in README.md#58177

Themes

  • Improve performance of get_block_templates()#57756
  • Remove unused parameter in query for get_block_templates()#57736

Props

Thanks to the 21 people who contributed to WordPress Core on Trac last week: @audrasjb (3), @mukesh27 (2), @sergeybiryukov (2), @hellofromTonya (2), @neychok (1), @vladytimy (1), @mujuonly (1), @dd32 (1), @hztyfoon (1), @malavvasita (1), @davidbaumwald (1), @draganescu (1), @youknowriad (1), @flixos90 (1), @Presskopp (1), @jorgefilipecosta (1), @spacedmonkey (1), @brookedot (1), @krunal265 (1), @costdev (1), and @krupalpanchal (1).

Core committers: @audrasjb (3), @sergeybiryukov (2), and @oandregal (2).

#6-3, #core, #week-in-core

A Week in Core – April 24, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 17 and April 24, 2023.

  • 27 commits
  • 36 contributors
  • 51 tickets created
  • 6 tickets reopened
  • 53 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Build/Tests Tools

  • Correct the expected quotes in get_comment_author_url_link() tests – #57839

Bundled Themes

  • Twenty Nineteen: Fix a translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. issue in Comments navigation text – #58149

Coding Standards

  • Escape edit profile URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in default_password_nag()#58182
  • Remove unused $key variable in wp-admin/network/sites.php#57839
  • Update code layout in default_password_nag() for readability – #57839
  • Use more meaningful variable names in various comment functions – #57839
  • Use strict comparison in wp-admin/includes/class-wp-ms-sites-list-table.php#58139
  • Use strict comparison in wp-admin/includes/class-wp-site-icon.php#57839
  • Use strict comparison where strtolower() is involved – #57839
  • Use strict comparison where trim() is involved – #57839

Docs

  • Use third-person singular verbs for WP_Importer related function descriptions, as per docblocks standards – #57840
  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840

Editor

  • Add selectors field to blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. type definition – #57585

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Add support for a few 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. HTML comment forms – #58007
  • Ensure attribute updates happen only once for case variants – #58146
  • Fix a case where updates are overlooked when seeking to earlier locations – #58160
  • Update code style so it passes when backported into GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/#58170

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.

  • Use correct translation function in wp-admin/includes/media.php#58138

Networks and Sites

  • Simplify the check for main site on Networknetwork (versus site, blog) Adminadmin (and super admin) → Sites screen – #58150
  • Use is_main_site() in a few more places – #58150

Script Loader

  • Improve code style and readability in _wp_normalize_relative_css_links()#58069
  • Optimize performance of _wp_normalize_relative_css_links() by more than 2x – #58069, #54243

Security

  • Update GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ security policy to refer to H1 – #57937

Site Health

  • Bump the recommended MariaDB version to 10.4 – #58158

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.

  • Always lazily load term 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.#57645

Users

  • Cache database queries within WP_User_Query class – #40613
  • Change cache group from users-queries to user-queries#40613

Props

Thanks to the 36 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (6), @mukesh27 (4), @dmsnell (4), @spacedmonkey (4), @peterwilsoncc (3), @audrasjb (3), @afercia (3), @poena (3), @aristath (3), @mujuonly (2), @costdev (2), @hellofromTonya (2), @krupalpanchal (2), @pouicpouic (2), @jbcouton (1), @jankyz (1), @flixos90 (1), @rjasdfiii (1), @khoipro (1), @OllieJones (1), @srikanthmeenakshi (1), @strategio (1), @dd32 (1), @westi (1), @zieladam (1), @johnjamesjacoby (1), @JavierCasares (1), @ecorica (1), @westonruter (1), @vladytimy (1), @desrosj (1), @aaronrobertshaw (1), @ntsekouras (1), @utsav72640 (1), @laurentmagnin (1), and @sabernhardt (1).

Congrats and welcome to our 4 new contributors of the week: @pouicpouic, @jbcouton, @ecorica, @laurentmagnin ♥️

Core committers: @sergeybiryukov (11), @audrasjb (5), @spacedmonkey (3), @zieladam (2), @bernhard-reiter (2), @gziolo (1), @peterwilsoncc (1), @azaozz (1), and @westonruter (1).

#6-3, #core, #week-in-core

A Week in Core – April 17, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 10 and April 17, 2023.

  • 13 commits
  • 33 contributors
  • 39 tickets created
  • 4 tickets reopened
  • 27 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Bundled Themes

  • Twenty Nineteen: Fix a translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. issue in Comments navigation text – #58149

Coding Standards

  • Rename the $myHTML parameter to $text in htmlentities2()#58129
  • Rename the $qtInit and $mceInit variables in _WP_Editors#57839
  • Use strict comparison in wp-admin/includes/class-wp-ms-sites-list-table.php#58139
  • Use strict comparison in wp-admin/maint/repair.php#57839
  • Use strict comparison in wp-includes/http.php#57839
  • Use strict comparison where strlen() is involved – #57839
  • Use strict comparison where substr() is involved – #57839
  • Use strict comparison where trim() is involved – #57839

Docs

  • Revise comments using “we” in various docblocks – #57052

Media

Users

  • Cache database queries within WP_User_Query class – #40613

Props

Thanks to the 33 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (7), @aristath (5), @afercia (5), @poena (5), @audrasjb (3), @jrf (2), @annebovelett (1), @leamcaleese (1), @majaloncar (1), @antpb (1), @costdev (1), @kebbet (1), @joedolson (1), @adamsilverstein (1), @trepmal (1), @victoranto (1), @johnjamesjacoby (1), @sabernhardt (1), @spacedmonkey (1), @krupalpanchal (1), @jankyz (1), @mujuonly (1), @peterwilsoncc (1), @mukesh27 (1), @flixos90 (1), @rjasdfiii (1), @khoipro (1), @OllieJones (1), @srikanthmeenakshi (1), @strategio (1), @dd32 (1), @westi (1), and @azouamauriac (1).

Congrats and welcome to our 6 new contributors of the week: @annebovelett, @leamcaleese, @majaloncar, @victoranto, @jankyz, @srikanthmeenakshi ♥️

Core committers: @sergeybiryukov (8), @audrasjb (3), @spacedmonkey (1), and @joedolson (1).

#6-3, #core, #week-in-core

A Week in Core – April 10, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 4 and April 10, 2023.

  • 21 commits
  • 34 contributors
  • 50 tickets created
  • 8 tickets reopened
  • 55 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Bundled Themes

  • Twenty Twenty-One: Replace include_once with require_once for required classes – #57839
  • Twenty Twenty-Three: Add style-variations 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 style.css#58110

Coding Standards

  • Correct sprintf() calls for messages in wp-admin/upload.php#57839
  • Correct the closing PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher tag placement in some adminadmin (and super admin) files – #58053
  • Replace include_once with require_once for required files – #57839
  • Use strict comparison in wp-admin/users.php#58040
  • Use strict comparison in wp-admin/users.php#58056
  • Use strict comparison where count() is involved – #57839

Comments

  • Add missing arguments for get_comment_time() in comment_time()#58064

Docs

  • Fix a typo in wp-includes/rss.php inline comments – #57467

External Libraries

  • Update the Requests library to version 2.0.6 – #58079

General

  • Remove Windows Live Writer manifest file – #41404

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Add has_self_closing_flag() to Tag Processor – #58009

Help/About

  • Fix the Support Forums URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in wp-admin/includes/class-wp-site-health.php#58052, #57726
  • Use the new /documentation/ URLs for links about WordPress version – #58052, #57726
  • Use the new /documentation/ URLs for links about WordPress version – #58052, #57726
  • Use the new /documentation/ URLs in options-permalink.php#58052, #57726

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.

  • Correct translator comments placement in wp-admin/edit-comments.php#57839

Networks and Sites

  • Fix incorrect color for Theme enabling admin notices – #58096

Script Loader

  • Remove unused wp-nux CSSCSS Cascading Style Sheets. dependency – #57827, #57643

Upgrade/Install

  • Include the removed Windows Live Writer manifest in $_old_files#41404

Props

Thanks to the 34 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (5), @audrasjb (4), @sabernhardt (3), @costdev (2), @wildworks (2), @faisalahammad (2), @afercia (2), @flixos90 (2), @ocean90 (2), @lanacodes (1), @peterwilsoncc (1), @joostdevalk (1), @moinrrahmed (1), @ayeshrajans (1), @jhabdas (1), @Frank-Klein (1), @wtranch (1), @dmsnell (1), @youknowriad (1), @tmatsuur (1), @jrf (1), @johnbillion (1), @ugyensupport (1), @wpfy (1), @chiragrathod103 (1), @dhrumilk (1), @marineevain (1), @kausaralm (1), @poena (1), @aristath (1), @mukesh27 (1), @kafleg (1), @nithins53 (1), and @zieladam (1).

Congrats and welcome to our 3 new contributors of the week: @moinrrahmed, @marineevain, @kausaralm ♥️

Core committers: @sergeybiryukov (10), @audrasjb (9), @peterwilsoncc (1), and @bernhard-reiter (1).

#6-3-2, #core, #week-in-core

Two Weeks in Core – April 3, 2023

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between March 20 and April 3, 2023. Sorry for not being able to publish a post last week, this one will cover two weeks!

  • 38 commits
  • 76 contributors
  • 120 tickets created
  • 19 tickets reopened
  • 86 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Administration

  • Update dashboard welcome panel colors, remove broken link – #57759

Build/Test Tools

  • Fix issue with add method in object-cache.php – #57963
  • Add a@ticketreference forwp_list_pages()CSSCSS Cascading Style Sheets. classes test – #57841
  • Consistently sanitize expiration in the test suite’s Memcached implementation – #57841, #57963
  • Fix tests introduced in [55612]#57814
  • Improveget_pages()tests organization – #57841
  • Movewp_dropdown_pages()tests to their own file – #57841
  • Move thewp_list_pages()test for CSS classes to a more appropriate place – #57841
  • Rename test class and improve tests for wp_get_global_stylesheet() – #57841, #57958
  • Split the tests frompost/template.phpinto individual test classes – #57841

Code Modernization

Coding Standards

  • Apply various alignment corrections fromcomposer format#57994
  • Correct the closing PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 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.) placement in some adminadmin (and super admin) files – #58053
  • Escape some variables inwp-admin/includes/nav-menu.php#57110
  • Escape the whole attributes inwp-admin/includes/nav-menu.php#57110
  • Remove unused variable inWP_Plugins_List_Table::single_row()#55132
  • Use strict comparison inwp-admin/includes/nav-menu.php#57318
  • Use strict comparison inwp-admin/includes/user.php#57317
  • Use the correct variable – #57318

Comments

  • Use correct escaping function inget_cancel_comment_reply_link()#58025
  • Use wp_cache_get_multiple inWP_Comment_Query#57803

Date/Time

Docs

  • Add missing@returntag forWP_Automatic_Updater::is_disabled()#57680
  • Clarify the::hide_process_failed()return value in pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party and theme installer – #57680
  • Document default values for optional parameters inwp_insert_attachment()#58043
  • Use typed array notation forsearch_columnsinWP_Query::parse_query()#57996

Editor

General

  • Remove Windows Live Writer manifest file – #41404

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Addhas_self_closing_flag()to Tag Processor – #58009

Help/About

  • Add Field GuideField guide The field guide is a type of blogpost published on Make/Core during the release candidate phase of the WordPress release cycle. The field guide generally lists all the dev notes published during the beta cycle. This guide is linked in the about page of the corresponding version of WordPress, in the release post and in the HelpHub version page. link – #57998
  • Make Field Guide link translatable – #57477
  • Updates to About page – #57477

Login and Registration

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

  • Improve the lazy loading meta API to include current object id – #57901

Posts, Post Types

  • Use WP_Query internally in get_pages – #12821

Script Loader

  • Return early in _wp_theme_json_webfonts_handler if theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. not present – #57814

Upgrade/Install

  • Include the removed Windows Live Writer manifest in$_old_files#41404

Props

Thanks to the 76 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (9), @spacedmonkey (6), @costdev (6), @hellofromTonya (6), @jrf (5), @mukesh27 (4), @flixos90 (4), @peterwilsoncc (4), @audrasjb (3), @desrosj (3), @ocean90 (3), @patelmohip (2), @jenilk (2), @johnbillion (2), @sabernhardt (2), @davidbaumwald (2), @laurlittle (2), @richtabor (2), @akmelias (2), @sakibmd (2), @ankitmaru (1), @wlindley (1), @ayeshrajans (1), @azouamauriac (1), @mikeschinkel (1), @nacin (1), @scribu (1), @filosofo (1), @jane (1), @garyc40 (1), @markoheijnen (1), @grandslambert (1), @kevinB (1), @dbernar1 (1), @ryokuhi (1), @atimmer (1), @mdawaffe (1), @helen (1), @benjibee (1), @joemcgill (1), @andraganescu (1), @get_dave (1), @mamaduka (1), @ntsekouras (1), @scruffian (1), @talldanwp (1), @jhabdas (1), @ironprogrammer (1), @tillkruess (1), @francina (1), @chintan1896 (1), @zenaulislam (1), @javiercasares (1), @oglekler (1), @clorith (1), @eboxnet (1), @wpfy (1), @vladytimy (1), @reputeinfosystems (1), @Rarst (1), @priethor (1), @nekojonez (1), @markjaquith (1), @codingchicken (1), @cbringmann (1), @tmatsuur (1), @joostdevalk (1), @faisalahammad (1), @zieladam (1), @dmsnell (1), @wtranch (1), @polevaultweb (1), @azaozz (1), @Frank Klein (1), @antonvlasenko (1), and @thomask (1).

Congrats and welcome to our 8 new contributors of the week: @patelmohip, @akmelias, @wlindley, @grandslambert, @benjibee, @wpfy, @reputeinfosystems, @wtranch ♥️

Core committers: @sergeybiryukov (20), @spacedmonkey (6), @hellofromtonya (6), @audrasjb (2), @ryelle (2), @bernhard-reiter (1), and @dd32 (1).

#6-2, #core, #week-in-core