Open
Conversation
Follow-up to [14760]. Props rejaulalomkhan, huzaifaalmesbah, westonruter, SergeyBiryukov. See #64224. Built from https://develop.svn.wordpress.org/trunk@61512 git-svn-id: http://core.svn.wordpress.org/trunk@60823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Adds styles for responsive grid layouts and fixes a block gap bug and a max column width bug. Props isabel_brison, aaronrobertshaw. Fixes #64532. Built from https://develop.svn.wordpress.org/trunk@61513 git-svn-id: http://core.svn.wordpress.org/trunk@60824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Webkit-based browsers add a cancel button to search inputs. This input uses the default cursor standard to buttons and inputs, but the WordPress admin applies the `pointer` cursor to buttons and inputs. Apply the WordPress standard pointer to this pseudoelement for UI consistency. Props sumitsingh, manhphucofficial, joedolson, sabernhardt, dhruvang21. Fixes #64382. Built from https://develop.svn.wordpress.org/trunk@61514 git-svn-id: http://core.svn.wordpress.org/trunk@60825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the autofocus script in Twenty Ten that forced a bypass of the navigation, main heading, and explanation on the 404 error page. Props sabernhardt, ravichudasama01, joedolson. Fixes #64064. Built from https://develop.svn.wordpress.org/trunk@61515 git-svn-id: http://core.svn.wordpress.org/trunk@60826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Checks that the value passed to add_declaration is a string to prevent fatal errors due to malformed block attributes. Props andrewserong. Fixes #64545. Built from https://develop.svn.wordpress.org/trunk@61516 git-svn-id: http://core.svn.wordpress.org/trunk@60827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… variables. Introduce the `wp-base-styles` stylesheet handle to provide admin color scheme CSS custom properties across WordPress. This stylesheet is added as a dependency for: - The `wp-admin` styles bundle - The block editor content iframe styles This is the Core-side implementation of the changes from Gutenberg PRs #69128 and #69130, which consolidate the admin color scheme CSS custom properties into a single reusable stylesheet instead of duplicating them across multiple packages. See #64308. Props fabiankaegy, wildworks. Built from https://develop.svn.wordpress.org/trunk@61517 git-svn-id: http://core.svn.wordpress.org/trunk@60828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The function is no longer used by WordPress and better alternatives are available: `wp_get_script_tag()` and `wp_get_inline_script_tag()`. Developed in WordPress/wordpress-develop#10742. Follow-up to [61415], [61485]. Props jonsurrell, westonruter. Fixes #64511. See #64442. Built from https://develop.svn.wordpress.org/trunk@61518 git-svn-id: http://core.svn.wordpress.org/trunk@60829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Ensure whitespace text nodes are correctly represented by `build_visual_html_tree()`. The `build_visual_html_tree()` function used by `assertEqualHTML()` would remove some leading whitespace from text nodes. Some whitespace-only text nodes were omitted from the tree. Developed in WordPress/wordpress-develop#10765. Follow-up to [60295]. Props jonsurrell, dmsnell, bernhard-reiter. Fixes #64531. Built from https://develop.svn.wordpress.org/trunk@61519 git-svn-id: http://core.svn.wordpress.org/trunk@60830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ore_upgrade()`. Developed in WordPress/wordpress-develop#10570 Follow-up to [61512], [32642], [32654]. Props rejaulalomkhan, westonruter, huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61520 git-svn-id: http://core.svn.wordpress.org/trunk@60831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#10569 Follow-up to [32642]. Props huzaifaalmesbah, westonruter, noruzzaman. See #64224. Built from https://develop.svn.wordpress.org/trunk@61521 git-svn-id: http://core.svn.wordpress.org/trunk@60832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…_response()`. Follow-up to [61508]. See #64224. Built from https://develop.svn.wordpress.org/trunk@61522 git-svn-id: http://core.svn.wordpress.org/trunk@60833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [14760]. Props huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61523 git-svn-id: http://core.svn.wordpress.org/trunk@60834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [31146], [35021]. Props huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61524 git-svn-id: http://core.svn.wordpress.org/trunk@60835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix an issue where adding `comment_type=all` as a query parameter to the `wp-admin/edit-comments.php` page would unexpectedly cause notes to show. Follow-up to [61183]. Props adamsilverstein, jorbin, mukesh27, ozgursar, Presskopp, r1k0, rollybueno, soyebsalar01, westonruter, wildworks. Fixes #64474. Built from https://develop.svn.wordpress.org/trunk@61525 git-svn-id: http://core.svn.wordpress.org/trunk@60836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Support for non-HTML5 scripts was removed in [61415]. Removes obsolete tests and references to the non-HTML5 script behaviors including CDATA wrappers and `type` attributes. Developed in WordPress/wordpress-develop#10740. Follow-up to [61415]. Props jonsurrell, westonruter, mukesh27. Fixes #64442. Built from https://develop.svn.wordpress.org/trunk@61526 git-svn-id: http://core.svn.wordpress.org/trunk@60837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update custom CSS validation to allow any CSS except `STYLE` close tags. Previously, some valid CSS would be rejected for containing HTML syntax characters, like this example:
{{{
@Property --animate {
syntax: "<custom-ident>"; /* <-- Validation error on `<` */
inherits: true;
initial-value: false;
}
}}}
Developed in WordPress/wordpress-develop#10667.
Follow-up to [61418], [61486].
Props jonsurrell, westonruter, peterwilsoncc, johnbillion, xknown, sabernhardt, dmsnell, soyebsalar01, dlh.
Fixes #64418.
Built from https://develop.svn.wordpress.org/trunk@61527
git-svn-id: http://core.svn.wordpress.org/trunk@60838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [7043], [7092], [8304], [9053], [21871]. Props huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61532 git-svn-id: http://core.svn.wordpress.org/trunk@60843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the text color setting on the Written by pattern. The setting was resulting in color contrast that was well below contrast guidelines. Allow the text color to be inherited by default. Props poena, rinkalpagdar, narenin, sabernhardt, noruzzaman, huzaifaalmesbah, joedolson. Fixes #62982. Built from https://develop.svn.wordpress.org/trunk@61534 git-svn-id: http://core.svn.wordpress.org/trunk@60845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This reverts [61010]. Setting the sender address by default has shown to reduce deliverability for emails for sites that were working correctly in 6.8 and before. As reduced deliverability can harm IP reputation which means it's not just the single WordPress install that is harmed, [61010] is being reverted out of an abundance of caution. Follow up to [61010]. Props jorbin, dmsnell, SirLouen, wildworks, desrosj, siliconforks, digitalblanket, studiomondiale, zoe20, Monarobase, amanandhishoe, Fixes #64368.See #49687. Built from https://develop.svn.wordpress.org/trunk@61537 git-svn-id: http://core.svn.wordpress.org/trunk@60848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow-up to [32642], [32654], [34021]. Props huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61538 git-svn-id: http://core.svn.wordpress.org/trunk@60849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…dating CSSLint, Esprima, HTMLHint, and JSONLint. This installs npm packages for `codemirror`, `csslint`, `esprima`, `htmlhint`, and `jsonlint` to replace the libraries which had been copied into SVN. A new `grunt build:codemirror` task is responsible for building CodeMirror as part of the build process. This finally revisits the original CodeMirror integration which was originally developed in the [https://github.com/WordPress/better-code-editing/ Better Code Editing] feature plugin in 2017. ||= Package =||= Old Version =||= New Version =|| || codemirror || 5.29.1-alpha-ee20357 || 5.65.20 || || esprima || 4.0.0 || 4.0.1 || || jsonlint || 1.6.2 || 1.6.3 || || htmlhint || 0.9.14-xwp || 1.8.0 || Follow-up to [41376]. Props westonruter, jonsurrell, tobiasbg, desrosj, adamsilverstein, WraithKenny, rafa8626, netweb. See #12423. Fixes #48456, #41870. Built from https://develop.svn.wordpress.org/trunk@61539 git-svn-id: http://core.svn.wordpress.org/trunk@60850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ssages. Improve dependency warning messages so that list separators are localized according to the current locale when multiple dependencies are listed. Follow-up to [61323], [60999], [61357]. Props mukeshpanchal27, jorbin, westonruter, wildworks. See #64229. Built from https://develop.svn.wordpress.org/trunk@61542 git-svn-id: http://core.svn.wordpress.org/trunk@60853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The `react-refresh-entry.js` script was bundling its own copy of `react-refresh/runtime` instead of using the `window.ReactRefreshRuntime` global set up by `react-refresh-runtime.js`. This created two separate runtime instances: the entry script set up hooks on its bundled copy, while plugins called `performReactRefresh()` on the window global — a different instance with no hooks registered. This splits the development webpack config into two configs so that `externals` only applies to the entry script. The runtime config bundles `react-refresh/runtime` and exposes it as `window.ReactRefreshRuntime`, while the entry config uses that global as an external. Props manzoorwanijk, wildworks. See #64393. Built from https://develop.svn.wordpress.org/trunk@61543 git-svn-id: http://core.svn.wordpress.org/trunk@60854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the core configuration to allow JS language features which area already shipping in core via Gutenberg packages. Obsolete `/* jshint esversion: 6 */` comments are also removed from JS files. Developed in WordPress/wordpress-develop#10808 Follow-up to [59963]. Props westonruter, jonsurrell, mukesh27. See #63077. Fixes #64562. Built from https://develop.svn.wordpress.org/trunk@61544 git-svn-id: http://core.svn.wordpress.org/trunk@60855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ns in Grunt tasks. The `uglify:core` and `copy:files` tasks utilized broad negative glob patterns (`!**/*.min.js` and `!**/*.map`) to exclude files from processing. The glob expansion scans the entire `src/` directory tree, including `wp-content`. For environments where `wp-content` contains deep directory structures (such as plugins with `node_modules` dependencies) this traversal becomes prohibitively slow, causing the build process to hang. This change scopes the exclusion patterns to specific directories (e.g. `wp-admin`, `wp-includes`, default themes, and Akismet), limiting the file scan to relevant core paths and preventing unnecessary recursion into `wp-content`. In one dev environment, this reduces `npm run build:dev` from 43s to 9s, and `npm run build` from 51s to 13s. Developed in WordPress/wordpress-develop#10809 Follow up to [61475]. Props westonruter, jonsurrell. See #63606. Fixes #64563. Built from https://develop.svn.wordpress.org/trunk@61545 git-svn-id: http://core.svn.wordpress.org/trunk@60856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ent when registering a post type. Props ocean90, mukesh27, johnbillion See #64224 Built from https://develop.svn.wordpress.org/trunk@61546 git-svn-id: http://core.svn.wordpress.org/trunk@60857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In [simplepie/simplepie#795 simplepie/simplepie#795] handling of multiple feed requests was deprecated, triggering the message `Fetching multiple feeds with single SimplePie instance is deprecated since SimplePie 1.9.0, create one SimplePie instance per feed and use SimplePie::merge_items to get a single list of items.` This updates `fetch_feed()` to handle multiple requests using seperate SimplePie instances in order to retain backward compatibility. A PHP 8.5 deprecation was throwing notices in the event an empty URL was passed to `fetch_feed()`, `Using null as an array offset is deprecated, use an empty string instead`. This includes a workaround pending the release of a SimplePie version including [simplepie/simplepie#949 simplepie/simplepie#949]. Fixes #64136. Props audrasjb, jorbin, muryam, oglekler, ozgursar, presskopp, swissspidy, westonruter, wildworks, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@61551 git-svn-id: http://core.svn.wordpress.org/trunk@60862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ed functions. This also improves consistency with other themes. Follow-up to [56716], [61272]. Props huzaifaalmesbah, mukesh27, sabernhardt. See #64226. Built from https://develop.svn.wordpress.org/trunk@61552 git-svn-id: http://core.svn.wordpress.org/trunk@60863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…hoisting late-printed styles. This refactors `wp_hoist_late_printed_styles()` to strictly preserve the classic theme CSS cascade when moving styles from `wp_footer` to the `HEAD`. Previously, hoisted styles were appended in an order closer to the CSS cascade for block themes, potentially causing specificity issues for CSS selectors written for the previous cascade. This is intended to eliminate the need for sites which upgraded to 6.9 to apply a hotfix involving `add_filter( 'should_load_separate_core_block_assets', '__return_false' )` to disable the optimization. Key changes: * Identifies styles enqueued during `enqueue_block_assets`. * Separates core block styles from third-party block styles. * Inserts core block styles immediately after `wp-block-library`. * Inserts third-party block styles after `classic-theme-styles`. * Inserts `global-styles` after all `enqueue_block_assets` styles. This ensures the following order is maintained: 1. Core block library. 2. Core block styles. 3. Classic theme styles. 4. Third-party block styles. 5. Global styles. Developed in WordPress/wordpress-develop#10601 Follow-up to [61174], [61122], [61076], [61008]. Props westonruter, wildworks, jorbin, peterwilsoncc, sabernhardt, audrasjb, pmbs, threadi, madhavishah01, raftaar1191, noruzzaman, ozgursar. See #64099, #64150, #43258. Fixes #64354. Built from https://develop.svn.wordpress.org/trunk@61554 git-svn-id: http://core.svn.wordpress.org/trunk@60865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
"At a glance" links in the dashboard were labeled with the count of published posts, but linked to the All posts view. Change the links so that they target only the published posts list and update link text to clarify. Props awardpress, birgire, benpinales, susiyanti, sergeybiryukov, sirlouen, noruzzaman, huzaifaalmesbah, westonruter, nikunj8866, joedolson. Fixes #43084. Built from https://develop.svn.wordpress.org/trunk@61555 git-svn-id: http://core.svn.wordpress.org/trunk@60866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Following the admin reskin, community events inputs were misaligned. Change to `flex` layout to fix alignment and improve handling for translated strings. Props huzaifaalmesbah, hmbashar, mirmpro, shailu25, joedolson. Fixes #64753. Built from https://develop.svn.wordpress.org/trunk@61761 git-svn-id: http://core.svn.wordpress.org/trunk@61067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update the color used for the active privacy policy tab and focused privacy disclosure accordion title. Props wildworks, hbhalodia, huzaifaalmesbah, noruzzaman, joedolson. Fixes #64747. Built from https://develop.svn.wordpress.org/trunk@61762 git-svn-id: http://core.svn.wordpress.org/trunk@61068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update the base color for text in row actions, dashboard widget footers, and similar contexts to meet WCAG color standards. Props bobbingwide, joedolson. Fixes #64313. Built from https://develop.svn.wordpress.org/trunk@61763 git-svn-id: http://core.svn.wordpress.org/trunk@61069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Switch the classic editor's taxonomy tabs to use the APG tablist/tabpanel structure. Add appropriate ARIA roles to tabs and panels and update JS to handle required keyboard events and selected states. Props alh0319, mukesh27, joedolson. Fixes #63981. Built from https://develop.svn.wordpress.org/trunk@61764 git-svn-id: http://core.svn.wordpress.org/trunk@61070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…oints for font faces and font families. The value is expected to be a serialized JSON string, which the validation callback validates. Developed in WordPress/wordpress-develop#10966 Follow-up to r57548. Props deepaklalwani, westonruter. See #59166. Fixes #64666. Built from https://develop.svn.wordpress.org/trunk@61765 git-svn-id: http://core.svn.wordpress.org/trunk@61071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…nk-template.php`. Developed in WordPress/wordpress-develop#11004 Follow-up to r61719, r61716, r32598. Props apermo, xate, westonruter, noruzzaman. See #64694, #64238. Fixes #64699. Built from https://develop.svn.wordpress.org/trunk@61766 git-svn-id: http://core.svn.wordpress.org/trunk@61072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…tomizer classes. Developed in WordPress/wordpress-develop#11006 Follow-up to r61766, r61719, r61716. Props apermo, xate, mukesh27. See #64238. Fixes #64701. Built from https://develop.svn.wordpress.org/trunk@61767 git-svn-id: http://core.svn.wordpress.org/trunk@61073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…neral-template.php`. Developed in WordPress/wordpress-develop#11005 Follow-up to r61767, r61766, r61719, r61716, r53300, r32598. Props apermo, xate, mukesh27. See #64238. Fixes #64700. Built from https://develop.svn.wordpress.org/trunk@61768 git-svn-id: http://core.svn.wordpress.org/trunk@61074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The most notable changes are PHP 8.5 compatibility fixes in version 2.0.16. Other releases between 2.0.11 and 2.0.17 contain only certificate bundle updates, which are skipped as WordPress manages its own certificate bundle (#62812). References: * [https://github.com/WordPress/Requests/releases/tag/v2.0.17 Requests 2.0.17 release notes] * [https://github.com/WordPress/Requests/releases/tag/v2.0.16 Requests 2.0.16 release notes] * [https://github.com/WordPress/Requests/releases/tag/v2.0.15 Requests 2.0.15 release notes] * [https://github.com/WordPress/Requests/releases/tag/v2.0.14 Requests 2.0.14 release notes] * [https://github.com/WordPress/Requests/releases/tag/v2.0.13 Requests 2.0.13 release notes] * [https://github.com/WordPress/Requests/releases/tag/v2.0.12 Requests 2.0.12 release notes] * [WordPress/Requests@v2.0.11...v2.0.17 Full list of changes from Requests 2.0.11 to 2.0.17] Follow-up to [54997], [55629], [56554], [56835], [57086], [57876]. Props rodrigosprimo, desrosj. Fixes #64752. Built from https://develop.svn.wordpress.org/trunk@61769 git-svn-id: http://core.svn.wordpress.org/trunk@61075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
In General Settings, set the `remove-site-icon` class in initial state and add border for clearer control boundaries. Props sabernhardt, noruzzaman, madhavishah01, huzaifaalmesbah, hmbashar, shailu25, joedolson. Fixes #64736. Built from https://develop.svn.wordpress.org/trunk@61770 git-svn-id: http://core.svn.wordpress.org/trunk@61076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The same error message was returned whether a user attempted bulk edit without selecting an action or attempted without selecting any posts. These two situations need different messages. Return error messages appropriate to the actual user error. Props Presskopp, r1k0, pratiknawkar94, joedolson. Fixes #64659. Built from https://develop.svn.wordpress.org/trunk@61771 git-svn-id: http://core.svn.wordpress.org/trunk@61077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…tes. This commit protects against another multisite cache edge-case where a persistent object-cache drop-in plugin (namely memcached) may use a numerically-keyed `global_groups` array instead of `'key' => true` like the default object-cache class, and includes the following changes: * Use `wp_is_numeric_array()` inside of `wp_cache_switch_to_blog_fallback()` so that the global group names array are always properly formatted regardless of the caching back-end in use * Add private helper methods to `Tests_Multisite_WpCacheSwitchToBlogFallback` to properly format global group names, and tweak a few tests to make them more resilient to different caching back-ends Follow up to r61760. See #23290. Built from https://develop.svn.wordpress.org/trunk@61772 git-svn-id: http://core.svn.wordpress.org/trunk@61078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…T_Posts_Controller::prepare_items_query()`. The variable may get set to `null` by a filter or subclass. Developed in WordPress/wordpress-develop#7625 Follow-up to r38832. Props apermo, dmsnell, westonruter. Fixes #62287. Built from https://develop.svn.wordpress.org/trunk@61773 git-svn-id: http://core.svn.wordpress.org/trunk@61079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This ensures PHPStan is aware that passing a `WP_Error` instance to `is_wp_error()` will cause the function to return `true`. This reduces the total number of PHPStan errors at rule level 7 from 14,271 to 13,233 (-1,038 or -7.27%). Developed in WordPress/wordpress-develop#11095 See #64238. Built from https://develop.svn.wordpress.org/trunk@61774 git-svn-id: http://core.svn.wordpress.org/trunk@61080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ogin_header()`. Follow-up to [28096]. Props opurockey. Fixes #64673. Built from https://develop.svn.wordpress.org/trunk@61775 git-svn-id: http://core.svn.wordpress.org/trunk@61081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This package update allows registered providers to have a description, and it fixes an issue with Redis compatibility. Props jason_the_adams, laurisaarni. See #64591. Built from https://develop.svn.wordpress.org/trunk@61776 git-svn-id: http://core.svn.wordpress.org/trunk@61082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Follow up to [61700]. Props soean. See #64591. Built from https://develop.svn.wordpress.org/trunk@61777 git-svn-id: http://core.svn.wordpress.org/trunk@61083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…very Mode services. Follow-up to [44973], [45211]. Props marian1, shailu25, westonruter, apermo. Fixes #64765. Built from https://develop.svn.wordpress.org/trunk@61778 git-svn-id: http://core.svn.wordpress.org/trunk@61084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix the focus color on the Iris color picker slider and color base selectors to the new admin color scheme. Props shailu25, hmbashar, huzaifaalmesbah, noruzzaman, rahultank, joedolson. Fixes #64754. Built from https://develop.svn.wordpress.org/trunk@61779 git-svn-id: http://core.svn.wordpress.org/trunk@61085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update the background and border colors to new admin color scheme on active plugin highlighting. Props fabiankaegy, r1k0, shailu25, noruzzaman, rahultank, joedolson. Fixes #64745. Built from https://develop.svn.wordpress.org/trunk@61780 git-svn-id: http://core.svn.wordpress.org/trunk@61086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…hods. This aims to make the code more readable and consistent, as the function is already used extensively in core files. WordPress core includes a polyfill for `str_starts_with()` on PHP < 8.0 as of WordPress 5.9. Follow-up to [55703], [58313]. Props Soean, mukesh27. Fixes #64773. Built from https://develop.svn.wordpress.org/trunk@61781 git-svn-id: http://core.svn.wordpress.org/trunk@61087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… admin styles. This changeset ensures the "View All Locations" link in the Customizer is consistent with the new admin styles. Props huzaifaalmesbah, hmbashar, noruzzaman, audrasjb, mukesh27, shailu25. Fixes #64758. Built from https://develop.svn.wordpress.org/trunk@61782 git-svn-id: http://core.svn.wordpress.org/trunk@61088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
… not passed a string. Developed in WordPress/wordpress-develop#10994 Follow-up to r61585, r61578. Props westonruter, jonsurrell, dmsnell, hugod. See #64574, #64274. Built from https://develop.svn.wordpress.org/trunk@61783 git-svn-id: http://core.svn.wordpress.org/trunk@61089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update the sizing of icons in the welcome panel, bulk edit, quick edit, and admin notifications to use relative sizing, fixing alignment issues. Update focus state for bulk edit remove buttons. Props mohitbsf, opurockey, sabernhardt, huzaifaalmesbah, madhavishah01, r1k0, ozgursar, noruzzaman, shailu25, joedolson, mukesh27. Fixes #64684. Built from https://develop.svn.wordpress.org/trunk@61784 git-svn-id: http://core.svn.wordpress.org/trunk@61090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix alignment of the empty dashboard widget placeholders to match the alignment of populated dashboard widget regions. Props fabiankaegy, shailu25, r1k0, noruzzaman, mirmpro, tusharaddweb, joedolson. Fixes #64743. Built from https://develop.svn.wordpress.org/trunk@61785 git-svn-id: http://core.svn.wordpress.org/trunk@61091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
These functions, which are needed for the package, are already polyfilled by WordPress Core. They were never loaded by the custom autoloader in Core anyway, so they are dead code that is safe to remove. Props gziolo. See #64591. Built from https://develop.svn.wordpress.org/trunk@61786 git-svn-id: http://core.svn.wordpress.org/trunk@61092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Exceptions were already caught and transformed into `WP_Error` objects in all instance methods of `WP_AI_Client_Prompt_Builder`, but not in the constructor. This meant that if an exception was thrown during construction, it would not be caught and would cause a fatal error instead of returning a `WP_Error` object. Props gziolo. See #64591. Built from https://develop.svn.wordpress.org/trunk@61787 git-svn-id: http://core.svn.wordpress.org/trunk@61093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Slashes the meta key and meta values when adding or deleting meta data in the `WP_Sync_Post_Meta_Storage` class for real time collaboration. Props peterwilsoncc, westonruter. Fixes #64783. Built from https://develop.svn.wordpress.org/trunk@61788 git-svn-id: http://core.svn.wordpress.org/trunk@61094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…ost, site, term, and user. When constructing these objects, the specific instance type is redundantly used in a union with a generic `object`. A generic object can be passed directly from database row result. This also hardens `get_post()` to account for passing an object that lacks an `ID` property. Similarly, `sanitize_term()` is hardened to account for an object lacking a `term_id` property. Comprehensive unit tests are added for `get_post()` and `sanitize_term()`. Developed in WordPress/wordpress-develop#11096 Props westonruter, apermo. See #64238, #64225. Built from https://develop.svn.wordpress.org/trunk@61789 git-svn-id: http://core.svn.wordpress.org/trunk@61095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Developed in WordPress/wordpress-develop#11111 Follow-up to r61745, r61703, r33268. Props soean. See #64226. Built from https://develop.svn.wordpress.org/trunk@61790 git-svn-id: http://core.svn.wordpress.org/trunk@61096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.