Commit Graph

48013 Commits

Author SHA1 Message Date
Peter Wilson
8bafa5d18b Block Editor: Update SVN props to ignore new asset files.
Update svn props to ignore additional CSS files added to WordPress 6.3.

Merges [56463] to the 6.3 branch.
Fixes #59197.

Built from https://develop.svn.wordpress.org/branches/6.3@56465


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-24 21:12:24 +00:00
audrasjb
7ef1de02ae Post WordPress 6.3.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56432


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 21:30:28 +00:00
audrasjb
d17e7baf7c WordPress 6.3.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.3@56431


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 21:12:28 +00:00
Sergey Biryukov
29017af114 Docs: Correct duplicate hook reference for wp_min_priority_img_pixels.
The original filter location is `wp_maybe_add_fetchpriority_high_attr()` in `wp-includes/media.php`.

This commit updates the instance in `wp_get_loading_optimization_attributes()` to point to the correct file.

Follow-up to [56037], [56143], [56347].

Props tmatsuur, rajinsharwar, khokansardar.
Reviewed by azaozz, audrasjb.
Merges [56386] to the 6.3 branch.
Fixes #59067.
Built from https://develop.svn.wordpress.org/branches/6.3@56429


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 14:02:26 +00:00
audrasjb
77191b645c Site Health: Correct the check for disk space available to safely perform updates.
If the available disk space exceeds the `PHP_INT_MAX` value, i.e. a 32-bit PHP version is in use with more than 2 GB free, the type casting to `(int)` could cause 
an overflow, and the Site Health test would then erroneously report that there is not enough free space.

This commit removes the unnecessary type casting and uses the result from `disk_free_space()` directly.

Includes optimizing the logic to skip further checks if the available disk space could not be determined.

Follow-up to [55720].

Props mathsgrinds, Presskopp, rajinsharwar, SergeyBiryukov.
Reviewed by azaozz, audrasjb.
Merges [56401] to the 6.3 branch.
Fixes #59116.




Built from https://develop.svn.wordpress.org/branches/6.3@56428


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 13:31:22 +00:00
audrasjb
82e625f72f Users: Correct the logic for switch_to_blog() in WP_User_Query::generate_cache_key().
If `$blog_id` equals `0`, it should be treated as the current site ID, and there is no need to switch to a different site.
This commit prevents an unnecessary call to `switch_to_blog()` on single site to avoid a fatal error when using `'orderby' => 'post_count'` and the deprecated 
`'who' => 'authors'` parameter:

`Uncaught Error: Call to undefined function switch_to_blog() in wp-includes/class-wp-user-query.php:1077`

Follow-up to [55657].

Props dd32, austinginder, RavanH, mukesh27.
Reviewed by azaozz, audrasjb.
Merges [56381] to the 6.3 branch.
Fixes #59011.




Built from https://develop.svn.wordpress.org/branches/6.3@56427


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 13:23:24 +00:00
audrasjb
544ca05b84 Editor: Fix error handling of converting classic to block menus.
Fixes the error handling for when `WP_Classic_To_Block_Menu_Converter::convert()` returns an instance of `WP_Error`. 
`WP_Navigation_Fallback::create_classic_menu_fallback()` now checks for `is_wp_error()` and if `true`, returns the error. And the `@return` type is updated to 
`string|WP_Error`.

Also includes a fix in the return type in `WP_Classic_To_Block_Menu_Converter::convert()` to return an empty string instead of an array instead, i.e. when bailing 
out for no menu items returned by `wp_get_nav_menu_items()`. The return type is clearly documented as a string.

Follow-up to [56052].

Props dlh, get_dave, antonvlasenko, hellofromTonya.
Reviewed by azaozz, audrasjb.
Merges [56422] to the 6.3 branch.
Fixes #58823.

 --Cette ligne, et les suivantes ci-dessous, seront 
ignorées--

_M   .
M    src/wp-includes/class-wp-classic-to-block-menu-converter.php
M    src/wp-includes/class-wp-navigation-fallback.php
M    tests/phpunit/tests/editor/classic-to-block-menu-converter.php

Built from https://develop.svn.wordpress.org/branches/6.3@56426


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 20:59:24 +00:00
audrasjb
e4d4ef8f0e General: Revert the last use of str_starts_with() in update-core.php.
Fixes updating WordPress from 5.7 and earlier versions. When doing the update this file runs first in the old version where the polifills may not be available.

Props frankit, azaozz.
Reviewed by audrasjb.
Merges [56417] to the 6.3 branch.
Fixes #59145.



Built from https://develop.svn.wordpress.org/branches/6.3@56425


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 12:47:25 +00:00
audrasjb
a2e308dfb5 Editor: update npm packages with critical bug fixes for 6.3.1.
Includes fixes for footnotes and editor styles related crashes, as well as a cut and paste-related crash.

This changeset partially merges [56419] to the 6.3 branch as the package-lock had to be rebuilt due to the release branch still using node 14.x.x, and some manual 
editing was necessary due to the unresolved floating-ui dependency issue.

Props ramonopoly, isabel_brison.
Reviewed by azaozz, audrasjb.
Merges [56419] to the 6.3 branch.
See #59151.



Built from https://develop.svn.wordpress.org/branches/6.3@56423


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 10:00:06 +00:00
davidbaumwald
69fd66e6c1 Bump version in package-lock.json.
Props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/branches/6.3@56375


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:49:24 +00:00
davidbaumwald
164567daca Update package.json version to 6.3.1.
Built from https://develop.svn.wordpress.org/branches/6.3@56374


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:46:23 +00:00
davidbaumwald
2eaa9591f7 Post WordPress 6.3 version bump.
The 6.3 branch is now 6.3.1-alpha.
Built from https://develop.svn.wordpress.org/branches/6.3@56373


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:32:24 +00:00
davidbaumwald
b970e85822 WordPress 6.3.
Built from https://develop.svn.wordpress.org/branches/6.3@56371


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 19:28:28 +00:00
davidbaumwald
5ed60bd109 Post WordPress 6.3 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56369


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 19:09:26 +00:00
davidbaumwald
923fb2edb6 WordPress 6.3 RC4.
Built from https://develop.svn.wordpress.org/branches/6.3@56368


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 18:53:27 +00:00
davidbaumwald
a6e50d7419 General: Commit changes after running precommit:css.
The `{min|max}-device-pixel-ratio` syntax as a a non-standard CSS media feature that was used as an alternative to the now standard `resolution`. Prior to Safari 16.0, `-webkit-{min|max}-device-pixel-ratio` was needed to correctly support it.

This change is a result of the `caniuse-lite` update that was applied recently in [56065]. Though there were no changes to target browsers as a result of this update, it seems an upstream change identified these as unnecessary.

Props desrosj, joemcgill, isabel_brison, SergeyBiryukov, azaozz.
Reviewed by SergeyBiryukov, azaozz.
Backports [56279] to the 6.3 branch.
Fixes #57856.

Built from https://develop.svn.wordpress.org/branches/6.3@56367


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 17:57:27 +00:00
davidbaumwald
160687edcb Upgrade/Install: Update $_old_files for 6.3.
Props SergeyBiryukov.
Reviewed by azaozz, SergeyBiryukov.
Merges [56365] to the 6.3 branch.
Fixes #58994.
Built from https://develop.svn.wordpress.org/branches/6.3@56366


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 17:33:27 +00:00
Sergey Biryukov
cea8337d78 Emoji: Suppress console errors from sessionStorage usage in sandboxed post embed iframe.
Amends [56074].

Props westonruter, flixos90.
Reviewed by westonruter, SergeyBiryukov.
Merges [56358] to the 6.3 branch.
Fixes #58978. See #58472.
Built from https://develop.svn.wordpress.org/branches/6.3@56364


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 16:54:35 +00:00
isabel_brison
196cd1e45c Build/Test Tools: revert downgrade of uuid.
Reverts the accidental downgrade of uuid in [56065] by changing it back to 9.0.0.

Props Hareesh Pillai, JeffPaul, audrasjb.
Reviewed by audrasjb.
Merges [56350] to the 6.3 branch.
See #58623.

Built from https://develop.svn.wordpress.org/branches/6.3@56351


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-03 05:18:38 +00:00
audrasjb
b5bc1f7f22 Post WordPress 6.3 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56344


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:52:20 +00:00
audrasjb
1b8ad38956 WordPress 6.3 RC3.
Built from https://develop.svn.wordpress.org/branches/6.3@56343


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:32:20 +00:00
Sergey Biryukov
59e4256bcc Upgrade/Install: Pass stored credentials to WP_Filesystem() where appropriate.
With the introduction of temporary backups of plugins and themes before updating, a new Site Health test was added to verify that plugin and theme temporary backup directories are writable or can be created.

When using a non-direct filesystem, the Site Health test did not include the required credentials, leading to a fatal error as the connection was not initialized properly.

This commit attemps to use the stored credentials if available, and displays a message otherwise.

Includes a similar fix in a function that performs a cleanup of the temporary backup directory.

Follow-up to [55720].

Props utsav72640, rajinsharwar, costdev, mukesh27, peterwilsoncc, audrasjb, SergeyBiryukov.
Reviewed by audrasjb, SergeyBiryukov.
Merges [56341] to the 6.3 branch.
See #58940.
Built from https://develop.svn.wordpress.org/branches/6.3@56342


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:10:22 +00:00
ryelle
6baed7cbc9 Help/About: Add images to About page, match header style to images.
Props richtabor, markoserb, audrasjb, peterwilsoncc, mukesh27.
Reviewed by davidbaumwald.
Merges [56339] to the 6.3 branch.
See #58067.


Built from https://develop.svn.wordpress.org/branches/6.3@56340


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 15:11:20 +00:00
audrasjb
fb9861e7d8 Help/About: Escape "Contribute" links, for better consistency.
Props SergeyBiryukov, peterwilsoncc.
Reviewed by peterwilsoncc, audrasjb.
Merges [56337] to the 6.3 branch.
See #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56338


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 13:00:29 +00:00
audrasjb
b3c1e21cfe Help/About: Remove target="_blank" from the Contribute link.
Props davidbaumwald.
Reviewed by audrasjb.
Merges [56335] to the 6.3 branch.
See #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56336


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 12:53:22 +00:00
audrasjb
65ce3cdb8a Editor: second update of npm packages for 6.3 RC3.
Includes bug fixes for footnotes, patterns, command palette, top toolbar and other small regressions.

Props andrewserong, spacedmonkey.
Reviewed by audrasjb.
Merges [56332] to the 6.3 branch.
Fixes #58926.



Built from https://develop.svn.wordpress.org/branches/6.3@56334


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 12:40:52 +00:00
isabel_brison
509e2e1c53 Editor: fix duplication in templates list.
Excludes parent template when a child template is defined during template retrieval.

Props oandregal, mukesh27, flixos90, bgardner, peterwilsoncc.
Reviewed by peterwilsoncc.
Merges [56329] to the 6.3 branch.
Fixes #57756.

Built from https://develop.svn.wordpress.org/branches/6.3@56330


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 04:24:23 +00:00
audrasjb
1c76c022b1 Help/About: Make Contribute links translatable.
Follow-up to [17877], [26354], [35898], [43032], [56220], [56312].

Props sereedmedia, tobifjellner, oglekler, ryelle, fierevere, davidbaumwald, audrasjb.
Reviewed by davidbaumwald.
Merges [56327] to the 6.3 branch.
See #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56328


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-31 20:35:22 +00:00
audrasjb
8af1599161 Editor: initial update of npm packages for 6.3 RC3.
Includes bug fixes for patterns, command palette and several minor regressions.

Props ramonopoly.
Reviewed by audrasjb, isabel_brison.
Merges [56320] to the 6.3 branch.
See #58926.



Built from https://develop.svn.wordpress.org/branches/6.3@56322


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-28 13:04:07 +00:00
audrasjb
0ea6839f7c Bundled Themes: Bump version numbers for WordPress 6.3.
In coordination with the release of 6.3, a new version of each bundled theme will also be released. This bumps the version of each theme to the following:

- Twenty Ten: 3.9
- Twenty Eleven: 4.4
- Twenty Twelve: 4.0
- Twenty Thirteen: 3.9
- Twenty Fourteen: 3.7
- Twenty Fifteen: 3.5
- Twenty Sixteen: 3.0
- Twenty Seventeen: 3.3
- Twenty Nineteen: 2.6
- Twenty Twenty: 2.3
- Twenty Twenty-One: 1.9
- Twenty Twenty-Two: 1.5
- Twenty Twenty-Three: 1.2

Props mukesh27, hareesh-pillai, audrasjb, jakariaistauk, kafleg, sabernhardt, spacedmonkey.
Reviewed by audrasjb, spacedmonkey.
Merges [56315] to the 6.3 branch.
Fixes #57857.



Built from https://develop.svn.wordpress.org/branches/6.3@56318


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-27 10:20:24 +00:00
Sergey Biryukov
b3a8cdbb99 Help/About: Update “Get involved in WordPress” link on the Credits tab.
This commit updates the link URL to send contributors to an orientation tool for a short survey on what team they may be interested in joining. This coincides with the Get Involved tab.

Follow-up to [17877], [26354], [35898], [43032], [56220].

Props courane01, audrasjb.
Reviewed by audrasjb, SergeyBiryukov.
Merges [56311] to the 6.3 branch.
See #23348.
Built from https://develop.svn.wordpress.org/branches/6.3@56312


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-26 16:25:24 +00:00
joedolson
a138828cdc Help/About: Fix the Get Involved tab on Network Admin.
This changeset adds a wp-admin/network/contribute.php file to allow the Get Involved tab to work on Network Admin.

Props courane01, ryelle, audrasjb.
Reviewed by joedolson.
Merges [56309] to the 6.3 branch.
See #23348.
Built from https://develop.svn.wordpress.org/branches/6.3@56310


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 22:21:25 +00:00
audrasjb
6b22cd46a3 Post WordPress 6.3 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56307


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 16:40:25 +00:00
audrasjb
052b20b973 WordPress 6.3 RC2.
Built from https://develop.svn.wordpress.org/branches/6.3@56306


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 16:15:20 +00:00
audrasjb
5133c0f01e Editor: update npm packages with bug fixes for 6.3 RC2.
Includes miscellaneous bug fixes for 6.3 RC12.

Props ramonopoly, audrasjb, swissspidy, peterwilsoncc, joemcgill.
Reviewed by audrasjb, mikeschroder.
Merges [56298] to the 6.3 branch.
Fixes #58804.



Built from https://develop.svn.wordpress.org/branches/6.3@56305


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 15:05:59 +00:00
audrasjb
6d38f4ce0c Twenty Twenty-One: Enable Dark Mode in the block editor iframe.
This changeset replaces `add_action( 'enqueue_block_editor_assets' )`, with `add_action( 'enqueue_block_assets' )`, in class `Twenty_Twenty_One_Dark_Mode` and class 
`Twenty_Twenty_One_Custom_Colors`. This fixes an issue when activating dark mode in Twenty Twenty-One, where dark mode was not enabled in the block editor.

Props poena, mikinc860, huzaifaalmesbah, hasanuzzamanshamim, Ankit-K-Gupta.
Reviewed by desrosj, audrasjb.
Merges [56300] to the 6.3 branch.
Fixes #58835.



Built from https://develop.svn.wordpress.org/branches/6.3@56304


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 14:44:22 +00:00
audrasjb
007d78e87a Editor: Fix conditionals in Template Editing Mode.
Previously, Site Editor client-side routing started using only the path query argument for loading non-editor views. The router removed the `postType` query 
argument, which caused an error message to be displayed when the template parts list page was reloaded.

This changeset fixes the issue as it was affecting hybrid themes.

Props Mamaduka, isabel_brison, ramonopoly.
Reviewed by isabel_brison, audrasjb.
Merges [56302] to the 6.3 branch.
Fixes #58889.



Built from https://develop.svn.wordpress.org/branches/6.3@56303


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 14:35:23 +00:00
isabel_brison
d09c4a36a7 Editor: load title on navigation fallback.
Adds raw title property when loading the navigation fallback with an embed context.

Props ramonopoly, get_dave, scruffian, mukesh27, audrasjb.
Reviewed by audrasjb.
Merges [56296] to the 6.3 branch.
See #58557.

Built from https://develop.svn.wordpress.org/branches/6.3@56297


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 06:35:23 +00:00
audrasjb
62f019bc23 Help/About: Updates to About page.
Update the headers, icons, and avatar style to match the designs. Fix the version strings on embedded images. Remove the tagline on main About page. Update "ctrl" 
to the correct capitalization, "Ctrl".

Follow-up to [56263].

Props richtabor, markoserb, audrasjb, nekojonez.
Reviewed by peterwilsoncc, audrasjb.
Merges [56292] to the 6.3 branch.
See #58067.



Built from https://develop.svn.wordpress.org/branches/6.3@56295


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 00:12:21 +00:00
audrasjb
7d5814060e Administration: Update dashboard welcome panel for 6.3.
Update the background image and styles for the Welcome Panel. This iteration does not use different colors on the admin color schemes, so the CSS for that has been 
removed. This also adds back in a working "Edit styles" link, which was removed in 6.2 because the link was broken.

Props richtabor, markoserb.
Reviewed by peterwilsoncc, audrasjb.
Merges [56291] to the 6.3 branch.
Fixes #58545.



Built from https://develop.svn.wordpress.org/branches/6.3@56294


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 00:09:22 +00:00
audrasjb
fb9504dd30 Help/About: Add illustrations to the Get Involved tab.
Follow-up to [56220], [56227], [56233], [56234], [56259].

Props richtabor, markoserb.
Reviewed by peterwilsoncc, audrasjb.
Merges [56290] to the 6.3 branch.
Fixes #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56293


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-25 00:06:21 +00:00
audrasjb
d0bb87c6a4 Editor: fix popover positioning.
Pins the floating-ui package versions to avoid breaking changes when they update.

Props isabel_brison, ramonopoly, spacedmonkey, bhrugesh12, huzaifaalmesbah, audrasjb, azaozz.
Reviewed by audrasjb.
Merges [56284] to the 6.3 branch.
Fixes #58847.



Built from https://develop.svn.wordpress.org/branches/6.3@56289


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-24 21:02:22 +00:00
audrasjb
4a63b05cf5 Editor: Fix abbreviations of "Example" in block-template-utils.php.
This changeset improves the consistency of the use of "e.g." in template descriptions.

Props jordesign, audrasjb, joedolson.
Reviewed by joedolson.
Merges [56287] to the 6.3 branch.
Fixes #58879.



Built from https://develop.svn.wordpress.org/branches/6.3@56288


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-24 20:57:20 +00:00
audrasjb
8cbba20cf3 Media: Fix Image rotation button overflow in translations.
Fix CSS to cover the image rotation button action text being longer than the Image Rotation menu toggle. Prevent the button text from overflowing the 
button.

Follow-up to [56239].

Props kebbet, joedolson.
Reviewed by audrasjb.
Merges [56282] to the 6.3 branch.
Props kebbet.
Fixes #58877.



Built from https://develop.svn.wordpress.org/branches/6.3@56286


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-24 20:41:27 +00:00
joedolson
a91966ad2e Docs: Fix indentation issue in WP_REST_Global_Styles_Revisions_Controller class.
Follow-up to [56082].
Reviewed by joedolson.
Merges [56272] to the 6.3 branch.
See #57840, #58524.
Built from https://develop.svn.wordpress.org/branches/6.3@56280


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-21 18:45:24 +00:00
audrasjb
b69a1e9a0c Media: Fix height max value in image scaling.
Set the `max` attribute in the height input for image scaling to reference the image height, instead of the width.

Follow-up to [55919].

Props costdev, joedolson, joemcgill.
Reviewed by audrasjb.
Merges [56277] to the 6.3 branch.
Fixes #50523.



Built from https://develop.svn.wordpress.org/branches/6.3@56278


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-21 15:07:26 +00:00
audrasjb
d4baa8ced3 REST API: Update Global styles revisions private methods to protected.
This changeset updates the private vars and methods in the Global styles revisions rest API controller to be protected, so class entities that inherit 
from the base can use them, and to allow iterating on 6.3 features without having to copy over private methods to new classes.

Props ramonopoly.
Reviewed by spacedmonkey.
Merges [56268] to the 6.3 branch.
Fixes #58846.



Built from https://develop.svn.wordpress.org/branches/6.3@56275


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-21 09:43:27 +00:00
Sergey Biryukov
614e0c2da4 Security: Update the Security Policy for the 6.3 branch.
See [56267] for trunk.
Built from https://develop.svn.wordpress.org/branches/6.3@56269


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-19 11:13:55 +00:00
Mike Schroder
c0c1489f2f Branch 6.3
Built from https://develop.svn.wordpress.org/branches/6.3@56266


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-19 05:16:14 +00:00
davidbaumwald
b8438bdcbb Post WordPress 6.3 RC1 version bump.
Built from https://develop.svn.wordpress.org/trunk@56265


git-svn-id: http://core.svn.wordpress.org/trunk@55777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-18 17:04:21 +00:00