Welcome back to a new issue of Week in Core 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 Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between July 10 and July 17, 2023.
- 78 commits
- 135 contributors
- 61 tickets created
- 12 tickets reopened
- 70 tickets closed
Ticket 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 a missing closing
`span>
tag 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 column sorting indicators – #32170, #57839
Bootstrap/Load
- Require
wp-includes/compat.php
in src/index.php
– #58206
Build/Test Tools
- Remove outmoded jsvalidate task from Gruntfil – #58645, #26615
- Prevent 404 errors in the E2E tests – #58777
- Reset main query object after each test – #58776
- Suppress E2E test suite Slack 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 – #58779
- Add tests to ensure the
contribute
Toolbar node is added when appropriate
- Use assertSame() in Tests_Comment – #57855
Bundled Theme
- fix height of featured images in Twenty Twenty Three – #58766
- Twenty Seventeen: Use
wp_register_script()
to register HTML5 Shiv script – #56699
- Twenty Twenty-Three: Add a border to Quote block 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. – #57506
- Twenty Twenty-Three: Remove the
perPage
attribute where the query inherits from the global query. The global attribute should be used instead – #58581
- Twenty Twenty-Three: Revert [55898] – #58485
Code Modernization
- Use
str_contains()
in a few more places – #58206
Coding Standards
- Use single quotes for a string in
Tests_Comment
– #57855
- Use strict comparison for static strings in
wp-admin/includes/class-wp-list-table.php
– #32170, #57839
- Use strict comparison in
wp-includes/class-wp-network.php
– #57839
- Use strict comparison in
wp-includes/class-wp-rewrite.php
– #57839
- Use strict comparison in
wp-includes/load.php
– #57839
- Use strict comparison in
wp-includes/rewrite.php
– #57839
Docs
- Clarify where the
wp_get_development_mode()
value is retrieved from – #57487, #57840
- Fix incorrect type for
$crop
param is various WP_Image_Editor
classes and methods – #58271, #57840
- Fix various incorrect
@since
mentions – #58834, #57840
- Replace multiple single line comments with multi-line comments – #58459
- Replace multiple single line comments with multi-line comments – #58459
- Replace multiple single line comments with multi-line comments – #58459
- Replace multiple single line comments with multi-line comments – #58459
- Replace multiple single line comments with multi-line comments – #58459
- Replace multiple single line comments with multi-line commentsProps costdev, audrasjb – #58459
- Use consistent wording for development mode – #57487, #57840
- Various docblocks corrections – #57840
Editor
- Add test for context setting in Comment Template block – #58839
- Fix a PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher notice appearing when adding a new template part – #57851
- Fix bug 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. where it was not possible to style custom block elements in
theme.json
– #57868
- Fix layout of no-js state in site editor – #56228
- Fix open_basedir warnings on the classic Edit Post screen when additional TinyMCE plugins are use – #54354
- Lazily load Duotone settings only when needed – #58673
- fix duotone filters in classic themes – #58734 – #46132
- fix since annotation in rest blocks controller class – #58677
- opt out of Navigation fallback – #58750
- remove one preloaded navigation endpoint – #58749
- trim footnote anchors from post excerpts – #58805
- update npm packages with bug fixes and blessed tasks – #58745
- update npm packages with first round of bug fixes for 6.3 RC1 – #58804
- update npm packages with second round of bug fixes for 6.3 RC1 – #58804
- update string incorrectly marked for translation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. in Chrome – #58716
External Libraries
- Update deprecated jQuery code in Farbtastic lib – #57946
Filesystem API 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.
- Ensure
wp_tempnam()
does not produce file names longer than 255 characters as this is the limit on most filesystems – #35755
General
- Escape nonce used for block theme activation – #58712
- Introduce
all
development mode – #57487
- Rename
wp_in_development_mode()
to wp_is_development_mode()
– #57487
- add nonce for block theme preview activation – #58712
- fix botched file move in r56199 – #58712
Help/About
- Add a “Get Involved” tab to the About page – #23348
- Adjust horizontal padding on the tabs under 960 pixels width – #23348
- Fix closing contextual help when scrolled – #55342
- Fix typo in [56171]: support forum WordPress Support Forums is a place to go for help and conversations around using WordPress. Also the place to go to report issues that are caused by errors with the WordPress code and implementations. “topic”, not “ticket”
- String changes in the Contribute screen – #23348
- Update the About page for 6.3 – #58067
- Update “Get Involved” tab content with the latest edits – #23348
I18n 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 the use of
dashicons-external
icon for external links – #47303
- Move translator comments inside
sprintf
for tagline field description – #57675
Media
- Fix admin (and super admin) image editor layout at intermediary widths – #58692
- Fix responsive views in image editor – #58692
- Improve layout of image rotation options panel – #58756
- Optimize images created in shortcodes – #58681
- Set default state for image rotation button – #58800
- Stop using and deprecate
set_imagick_time_limit()
. Seems it causes more problems than it solves – #58202
Menus
- Fix critical errors when the
page_on_front
and/or page_for_posts
options contain references to non-existing posts – #58345
Script Loader
- Improve test coverage for
wp_print_scripts()
– #58648
Toolbar
- Make the ‘Edit site’ link open the editor with the current template – #58746
Upgrade/Install
- Add correct parameters to add_option in upgrade_630 – #58821
Props
Thanks to the 135 (!) people who contributed to WordPress Core on Trac last week:
@costdev (24), @mukesh27 (13), @audrasjb (13), @sergeybiryukov (12), @ramonopoly (9), @poena (9), @sabernhardt (8), @spacedmonkey (8), @flixos90 (8), @swissspidy (8), @joemcgill (7), @peterwilsoncc (7), @oglekler (7), @afercia (6), @joedolson (6), @azaozz (5), @mrinal013 (4), @aristath (4), @desrosj (3), @wildworks (3), @westonruter (3), @mikinc860 (3), @davidbaumwald (3), @richtabor (3), @eidolonnight (3), @andrewserong (3), @jpantani (2), @nithi22 (2), @annezazu (2), @priethor (2), @tobifjellner (2), @marybaum (2), @dunhakdis (2), @vivekawsm (2), @robinwpdeveloper (2), @meher (2), @mikeschroder (2), @get_dave (2), @SeReedMedia (2), @antpb (2), @Presskopp (2), @ryelle (2), @nithins53 (2), @jameskoster (2), @alexstine (2), @ajlende (2), @scruffian (2), @isabel_brison (2), @jorbin (2), @mikachan (2), @nacin (1), @jeffmora (1), @bridgetwillard (1), @jenmylo (1), @boemedia (1), @davidmusnik (1), @lukecavanagh (1), @mehdi01 (1), @hugobaeta (1), @TacoVerdo (1), @joostdevalk (1), @johnbillion (1), @markoheijnen (1), @helen (1), @bacoords (1), @fierevere (1), @skorasaurus (1), @andraganescu (1), @dhrumilk (1), @zoonini (1), @akrocks (1), @nidhidhandhukiya (1), @syamraj24 (1), @jomonthomaslobo1 (1), @Toro_Unit (1), @eric.7186 (1), @thunderdw (1), @paaljoachim (1), @courane01 (1), @clubkert (1), @Shelob9 (1), @beckej (1), @abitofmind (1), @Mamaduka (1), @thekt12 (1), @antonvlasenko (1), @mohiuddinomran (1), @estelaris (1), @webcommsat (1), @cathibosco1 (1), @deepakvijayan (1), @mt_suzette (1), @Malae (1), @soulseekah (1), @matt_fw (1), @ekazda (1), @densityapps (1), @mtxz (1), @hberberoglu (1), @dsar (1), @onemaggie (1), @TobiasBg (1), @Rahmohn (1), @oandregal (1), @glendaviesnz (1), @gudmdharalds (1), @saxonafletcher (1), @joen (1), @markoserb (1), @cbringmann (1), @clarkeemily (1), @peterwilson (1), @youknowriad (1), @karmatosed (1), @MadtownLems (1), @brasofilo (1), @jeryj (1), @nazmul111 (1), @Chouby (1), @suzettefranck (1), @ugyensupport (1), @ibrahimmonir (1), @njsamsatli (1), @rembem (1), @mcsf (1), @josklever (1), @wplindavantol (1), @hbhalodia (1), @dansoschin (1), @Heiko_Mamerow (1), @piotrek (1), @mai21 (1), @studionashvegas (1), @mikecho (1), and @doems (1).
Congrats and welcome to our 23 (!!) new contributors of the week: @jeffmora, @davidmusnik, @mehdi01, @beckej, @mohiuddinomran, @mt_suzette, @matt_fw, @ekazda, @densityapps, @mtxz, @hberberoglu, @dsar, @gudmdharalds, @saxonafletcher, @nazmul111, @suzettefranck, @ibrahimmonir, @njsamsatli, @rembem, @wplindavantol, @Heiko_Mamerow, @mikecho ♥️
Core committers: @audrasjb (17), @sergeybiryukov (17), @isabel_brison (13), @joedolson (7), @azaozz (6), @joemcgill (5), @peterwilsoncc (5), @davidbaumwald (2), @spacedmonkey (2), @ryelle (1), @bernhard-reiter (1), @flixos90 (1), @kadamwhite (1), @jorbin (1), and @mikeschroder (1).
#6-3, #core, #week-in-core