47386 Commits

Author SHA1 Message Date
desrosj
3d0f7713c9 Editor: Restore shortcode support for block templates.
Follow up to [55761].

Props youknowriad, Clorith, desrosj, antpb, Otto42, johnbillion, jorbin, rmccue, timothyblynjacobs, mikeschroder, peterwilsoncc, audrasjb, matveb, noisysocks, xknown, ehtis, isabel_brison, talldanwp, gziolo, chriscct7, davidbaumwald.
Merges [55828] to the 6.2 branch.
See #58333.
Built from https://develop.svn.wordpress.org/branches/6.2@55829


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-20 04:03:40 +00:00
audrasjb
df12352495 Post WordPress 6.1.1 version bump.
The 6.2 branch is now `6.2.2-alpha`.


Built from https://develop.svn.wordpress.org/branches/6.2@55815


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 18:40:21 +00:00
audrasjb
607275a8f1 WordPress 6.2.1.
Built from https://develop.svn.wordpress.org/branches/6.2@55792


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 16:36:20 +00:00
Sergey Biryukov
a941d591a8 Help/About: Update the About page for 6.2.1.
Props audrasjb.
Fixes #58248.
Built from https://develop.svn.wordpress.org/branches/6.2@55770


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:59:21 +00:00
audrasjb
0420b92621 Media: Prevent CSRF setting attachment thumbnails.
Props martinkrcho, paulkevan, peterwilsoncc, xknown, peterwilsoncc.
Merges [55764] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55769


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:50:20 +00:00
audrasjb
1da3b10799 Embeds: Add protocol validation for WordPress Embed code.
Validate that links within auto-discovered embeds are using the `http` or `https` protocols before following links.

Props xknown, dd32, peterwilsoncc.
Merges [55763] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55768


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:48:19 +00:00
audrasjb
fc13f95a4d Editor: Ensure block comments are of a valid form.
Ensures that the block delimiter comments are of a valid form: opening with `<!--` and closing with `-->`.

Props xknown, isabel_brison, peterwilsoncc.
Merges [55762] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55767


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:46:22 +00:00
audrasjb
2edd1a7d5c Editor: Remove shortcode support from block templates.
Props youknowriad, xknown, timothyblynjacobs, matveb.
Merges [55761] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55766


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:44:19 +00:00
audrasjb
0f3abcc27c I18N: Introduce sanitization function for locale.
Introduce the `sanitize_locale_name()` for sanitizing user input of locales.

Props xknown, timothyblynjacobs, ocean90, peterwilsoncc.
Merges [55760] to branch 6.2.


Built from https://develop.svn.wordpress.org/branches/6.2@55765


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 14:42:20 +00:00
audrasjb
e2086e1534 Post WordPress 6.2.1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.2@55740


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-09 16:52:21 +00:00
audrasjb
4262161926 WordPress 6.2.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.2@55739


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-09 16:33:21 +00:00
audrasjb
e8eedf2c90 Editor: Update block editor packages to the latest patch releases.
This updates the block editor related npm dependencies to their latest patch versions ahead of WordPress 6.2.1 RC1.

Updated packages:
 - @wordpress/annotations@2.26.4
 - @wordpress/block-directory@4.3.12
 - @wordpress/block-editor@11.3.10
 - @wordpress/block-library@8.3.12
 - @wordpress/components@23.3.7
 - @wordpress/customize-widgets@4.3.12
 - @wordpress/edit-post@7.3.12
 - @wordpress/edit-site@5.3.12
 - @wordpress/edit-widgets@5.3.12
 - @wordpress/editor@13.3.10
 - @wordpress/format-library@4.3.10
 - @wordpress/interface@5.3.8
 - @wordpress/list-reusable-blocks@4.3.7
 - @wordpress/preferences@3.3.7
 - @wordpress/reusable-blocks@4.3.10
 - @wordpress/rich-text@6.3.4
 - @wordpress/server-side-render@4.3.7
 - @wordpress/widgets@3.3.10

This changeset includes the following fixes:
- i18n: Add context to labels related to CSS position properties gutenberg#49135
- Comments: Fix 'sprintf requires more than 1 params' error gutenberg#49054
- Fix the site editor loading in multi-site installs gutenberg#49861
- Fix quick inserter going off-screen in some situations gutenberg#49881
- Site Editor: Decode the site title properly gutenberg#49685
- Firefox: fix input rules (React async state issue) gutenberg#48210
- Only show alignment info when parent layout is constrained. gutenberg#49703
- [Inserter]: Fix onHover error on patterns tab in mobile gutenberg#49450
- Fix site editor redirection after creating new template or template part gutenberg#49364

Props mamaduka, audrasjb, wildworks, ocean90, aristath, costdev, hellofromtonya, youknowriad, mdxfr, oandregal, mattwiebe, bph, ndiego, talldanwp, joen, ellatrix, kevin940726, isabel_brison, andrewserong, ntsekouras, welcher.
Merges [55737] to branch 6.2.
Fixes #58274.

Built from https://develop.svn.wordpress.org/branches/6.2@55738


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-09 14:34:12 +00:00
audrasjb
18bf5b98aa Script Loader: Optimize performance of _wp_normalize_relative_css_links() by more than 2x.
- Replace `preg_match_all()` and its secondary `str_replace()` call with `preg_replace_callback()`.
- Fix case where paths beginning with `http` and `https` (but not `http:` and `https:`) were erroneously not counted as relative.
- Improve code style and readability by consolidating conditions and returning once.
- Use `str_starts_with()` consistently instead of `strpos()`.

Follow-up to [52036], [52695], and [52754].

Props westonruter, adamsilverstein, azaozz.
Merges [55658] and [55669] to the 6.2 branch.
Fixes #58069.
See #54243.

Built from https://develop.svn.wordpress.org/branches/6.2@55736


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-09 12:17:19 +00:00
audrasjb
5db2b65b67 Media: Render attachment custom fields for new uploads.
Initialize attachment custom fields during the add callback, so that fields are present as soon as an attachment is uploaded but do not refresh when field values are changed. Follow up to #40909.

Props trepmal, adamsilverstein, joedolson.
Merges [55649] to the 6.2 branch.
Fixes #58051.

Built from https://develop.svn.wordpress.org/branches/6.2@55735


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-09 12:07:26 +00:00
audrasjb
c7f1d4266b Help/About: Left-align 6.2 about page subheading.
This changeset removes the `aligncenter` class from `h2` and `is-subheading` items in the WordPress 6.2 About Page, for more consistent alignment. Also, future minor releases will add more left-aligned paragraphs under the "Maintenance Releases" section.

Props shagors, sabernhardt, mukesh27, amin7, costdev, pavanpatil1, audrasjb.
Merges [55716] to the 6.2 branch.
Fixes #57387.

Built from https://develop.svn.wordpress.org/branches/6.2@55731


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-08 20:15:19 +00:00
audrasjb
c3dff809b7 Script Loader: Update jQuery version to 3.6.4 to match the current version.
This changeset updates the jQuery version to 3.6.4 in `script-loader.php` to correctly match the current version used in WordPress.

This was accidentally missed in [55491].

Props nickpap, TobiasBg, dhrumilk.
Merges [55713] to the 6.2 branch.
Fixes #58203.
See #57324.

Built from https://develop.svn.wordpress.org/branches/6.2@55730


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-08 20:12:20 +00:00
Sergey Biryukov
8df7e41b8a Docs: Update code examples formatting in WP_HTML_Tag_Processor documentation.
Per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#description documentation standards], code samples should be created by indenting every line of the code by 4 spaces, with a blank line before and after. This matches the format used by the rest of core.

Follow-up to [55203], [55304], [55718], [55724].

Props juanmaguitar, coffee2code, azaozz, costdev, dmsnell, johnbillion, SergeyBiryukov.
Merges [55727] to the 6.2 branch.
Fixes #58028.
Built from https://develop.svn.wordpress.org/branches/6.2@55729


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-08 19:59:23 +00:00
Sergey Biryukov
63f3e3a5a5 Docs: Correct the placement of @see tags in WP_HTML_Tag_Processor class.
This moves a reference link in `::get_attribute_names_with_prefix()` below the code example, so that it is correctly displayed in the Developer Resources.

Includes updating some other `@see` tags for consistency as per the documentation standards.

Additionally, the example code for `WP_HTML_Tag_Processor::get_tag()` is updated to show lowercase tag names in the input HTML, so that it does not convey the wrong impression that the uppercase output from `::get_tag()` depends on the case of the input HTML.

Follow-up to [55203].

Props dmsnell, johnbillion, audrasjb, SergeyBiryukov.
Merges [55724] to the 6.2 branch.
Fixes #58254.
Built from https://develop.svn.wordpress.org/branches/6.2@55728


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-08 19:52:21 +00:00
Bernhard Reiter
6e932eb677 HTML API: Adjust coding style to pass Gutenberg linter.
This patch adjusts some minor neutral whitespace that the Gutenberg linting rejects.
There are no code changes otherwise.

Props dmsnell.
Merges [55721] to the 6.2 branch.
Fixes #58250.
Built from https://develop.svn.wordpress.org/branches/6.2@55722


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-04 08:46:21 +00:00
Bernhard Reiter
34fdb7885c HTML API: Accumulate shift for internal parsing pointer.
A bug was discovered where where the parser wasn't returning to the
start of the affected tag after making some updates.

In few words, the Tag Processor has not been treating its own internal
pointer `bytes_already_parsed` the same way it treats its bookmarks.
That is, when updates are applied to the input document and then
`get_updated_html()` is called, the internal pointer transfers to
the newly-updated content as if no updates had been applied since
the previous call to `get_updated_html()`.

In this patch we're creating a new "shift accumulator" to account for
all of the updates that accrue before calling `get_updated_html()`.
This accumulated shift will be applied when swapping the input document
with the output buffer, which should result in the pointer pointing to
the same logical spot in the document it did before the udpate.

In effect this patch adds a single workaround for treating the
internal pointer like a bookmark, plus a temporary pointer which points
to the beginning of the current tag when calling `get_updated_html()`.
This will preserve the assumption that updating a document doesn't
move that pointer, or shift which tag is currently matched.

Props dmsnell, zieladam.
Merges [55706] to the 6.2 branch.
Fixes #58179.
Built from https://develop.svn.wordpress.org/branches/6.2@55708


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-03 12:11:19 +00:00
Bernhard Reiter
94533cdb92 HTML API: Fix a case where updates are overlooked when seeking to earlier locations.
This retains the WP_HTML_Tag_Processor attribute updates applied before calling seek() – they were erroneously erased in some cases.

Props dmsnell, zieladam.
Merges [55675] to the 6.2 branch.
Fixes #58160.
Built from https://develop.svn.wordpress.org/branches/6.2@55707


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-03 11:57:23 +00:00
Peter Wilson
229077cc3f Security: Update GitHub security policy to refer to H1.
Update the security policy displayed on GitHub, `SECURITY.md`, to refer visitors to the [https://hackerone.com/wordpress HackerOne WordPress program] for the full policy.

This allows the project to maintain a single source of truth and avoid the potential for conflicting information across the two sites.

Props desrosj, hellofromTonya, costdev.
Merges [55670] to the 6.2 branch.
Fixes #57937.

Built from https://develop.svn.wordpress.org/branches/6.2@55679


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-24 05:27:22 +00:00
Bernhard Reiter
7eb548f1e4 HTML API: Add support for a few invalid HTML comment forms.
- Comments created by means of a tag closer with an invalid tag name, e.g. `</3>`.
 - Comments closed with the invalid `--!>` closer. (Comments should be closed by `-->` but if the `!` appears it will also close it, in error.)
 - Empty tag name elements, which are technically skipped over and aren't comments, e.g. `</>`.

Props dmsnell, costdev.
Merges [55667] to the 6.2 branch.
Fixes #58007.
Built from https://develop.svn.wordpress.org/branches/6.2@55668


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-20 17:17:19 +00:00
audrasjb
1e3d9b8007 Docs: Use third-person singular verbs for WP_Importer related function descriptions, as per docblocks standards.
Props pouicpouic.
See #57840.

Built from https://develop.svn.wordpress.org/branches/6.2@55663


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-20 10:24:20 +00:00
Bernhard Reiter
484b3840bd HTML API: Ensure attribute updates happen only once for case variants.
When setting a new value for an attribute multiple times and providing
multiple case variations of the attribute name the Tag Processor has
been appending multiple copies of the attribute into the updated HTML.

This means that only the first attribute set determines the value in
the final output, plus the output will //appear// wrong.

In this patch we're adding a test to catch the situation and resolving it
by using the appropriate comparable attribute name as a key for storing
the updates as we go. Previously we stored updates to the attribute by
its given `$name`, but when a new update of the same name with a
case variant was queued, it would not override the previously-enqueued
value as it out to have.

Props dmsnell, zieladam.
Merges [55659] to the 6.2 branch.
Fixes #58146.
Built from https://develop.svn.wordpress.org/branches/6.2@55662


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-20 09:13:23 +00:00
Sergey Biryukov
b838393386 Docs: Use typed array notation for search_columns in WP_Query::parse_query().
Follow-up to [55248].

Props tmatsuur.
Merges [55597] to the 6.2 branch.
Fixes #57996.
Built from https://develop.svn.wordpress.org/branches/6.2@55640


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:53:17 +00:00
Sergey Biryukov
b48bb0fb4c Administration: Define the $title global on the Menus screen for classic themes.
This brings more consistency with other screens and avoids a PHP warning in `get_plugin_page_hookname()`:
{{{
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
}}}

Follow-up to [13257], [13366], [55263].

Props nendeb55, costdev, SergeyBiryukov.
Merges [55552] to the 6.2 branch.
Fixes #57918.
Built from https://develop.svn.wordpress.org/branches/6.2@55639


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:48:18 +00:00
audrasjb
e893025eed Networks and Sites: Fix incorrect color for Theme enabling admin notices.
This changeset replaces a `notice-updated` class with `notice-success` to fix an issue where the notices were using a gray border color instead of green when enabling or disabling a theme for a network.

Follow-up to [55418].

Props ocean90, audrasjb, marineevain, SergeyBiryukov, dhrumilk, chiragrathod103.
Merges [55584] to the 6.2 branch.
Fixes #58096.

Built from https://develop.svn.wordpress.org/branches/6.2@55638


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:39:20 +00:00
Sergey Biryukov
19e810a1cf Coding Standards: Apply various alignment corrections from composer format.
This fixes a few WPCS warnings along the lines of:
* Array double arrow not aligned correctly
* Equals sign not aligned with surrounding statements
* Usage of ELSE IF is discouraged; use ELSEIF instead

Follow-up to [55099], [55192], [55194], [55271].

Props davidbaumwald, jrf, SergeyBiryukov.
Merges [55606] to the 6.2 branch.
Fixes #57994.
Built from https://develop.svn.wordpress.org/branches/6.2@55636


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:21:17 +00:00
Sergey Biryukov
fd28c6f767 Editor: Correctly load RTL stylesheets for non-core blocks.
If `SCRIPT_DEBUG` is disabled, `register_block_style_handle()` loads core blocks' styles with the `.min` suffix, while non-core ones never use the minified files, but the suffix was still mistakenly included in the `-rtl` file lookup.

This commit updates the logic to match the style path set earlier in the function, ensuring that RTL stylesheets are loaded properly for both core and non-core blocks, with or without `SCRIPT_DEBUG`.

Follow-up to [49982], [50836], [54330], [55486].

Props david.binda.
Merges [55544] and [55547] to the 6.2 branch.
Fixes #57903.
Built from https://develop.svn.wordpress.org/branches/6.2@55635


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:17:19 +00:00
Sergey Biryukov
24773a3c7c Comments: Add missing arguments for get_comment_time() in comment_time().
In a recent change, `comment_time()` was updated to accept a `$comment_id` parameter for consistency with `comment_date()`, following a similar change for `get_comment_time()`.

However, the new parameter was not correctly passed to `get_comment_time()` inside the function. It should be passed as the fourth parameter after `$format`, `$gmt` and `$translate`, not the second.

This commit adds the missing arguments and a few unit tests to confirm the correct behavior.

Follow-up to [55284], [55287], [55308].

Props costdev, tmatsuur, ugyensupport, johnbillion.
Merges [55632] to the 6.2 branch.
Fixes #58064.
Built from https://develop.svn.wordpress.org/branches/6.2@55634


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-08 09:09:20 +00:00
davidbaumwald
03f98fa1ca Post WordPress 6.2 version bump.
The 6.2 branch is now 6.2.1-alpha.
Built from https://develop.svn.wordpress.org/branches/6.2@55611


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-29 19:38:19 +00:00
davidbaumwald
3492ba3269 WordPress 6.2.
Built from https://develop.svn.wordpress.org/branches/6.2@55609


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-29 17:46:20 +00:00
davidbaumwald
028a4476da Post WordPress 6.2 RC5 Version Bump.
Built from https://develop.svn.wordpress.org/branches/6.2@55605


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-28 16:28:17 +00:00
davidbaumwald
bc3794dae0 WordPress 6.2 RC5.
Built from https://develop.svn.wordpress.org/branches/6.2@55604


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-28 16:02:20 +00:00
hellofromTonya
192afe3252 Help/About: Make Field Guide link translatable.
On the About page, wraps the Field Guide's link in `__()` to provide a localized field guide, when available.

Follow-up to [55600].

Props davidbaumwald, sergeybiryukov, desrosj, javiercasares, oglekler, mukesh27, clorith, eboxnet, costdev, ocean90.
Reviewed by sergeybiryukov.
Merges [55601] to the 6.2 branch.
Fixes #57477.
Built from https://develop.svn.wordpress.org/branches/6.2@55603


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-28 15:46:25 +00:00
hellofromTonya
5579d5baa1 Help/About: Add Field Guide link.
In the About page, replaces the `#` placeholder with the link to the Field Guide.

Follow-up to [55573], [55449], [55499], [55545].

Props vladytimy, ocean90.
Reviewed by sergeybiryukov.
Merges [55600] to the 6.2 branch.
Fixes #57477.
Built from https://develop.svn.wordpress.org/branches/6.2@55602


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-28 15:44:20 +00:00
hellofromTonya
2bbcd5af2e Date/Time: Revert [55054].
This changeset introduced a regression for partial-hour timezones such as +05:30 UTC which is India and Sri Lanka. How? These timezones are in float. The change made in [55054] type casted them to integer which dropped the decimal for the partial-hour, making the time inaccurate. For example, +05:30 UTC (India and Sri Lanka)'s `'gmt_offset'` is `5.5`, but with the changeset, it was changed to `5`.

Reverting the changeset restores the original state of `current_time()` and thus resolves the regression.

Props reputeinfosystems, Rarst, hellofromTonya, desrosj, audrasjb, sergeybiryukov, costdev, priethor, francina, nekojonez, codingchicken, cbringmann.
Reviewed by desrosj.
Merges [55598] to the 6.2 branch.
See #57035.
Fixes #57998.
Built from https://develop.svn.wordpress.org/branches/6.2@55599


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-28 14:34:27 +00:00
audrasjb
50d75e5e07 Post WordPress 6.2 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.2@55587


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-23 17:32:23 +00:00
audrasjb
5f6e47d559 WordPress 6.2 RC4.
Built from https://develop.svn.wordpress.org/branches/6.2@55586


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-23 17:18:21 +00:00
audrasjb
2bb5196b7f Login and Registration: Revert [55358] and [55360].
This reverts the changes implemented in [55358] and [55360].

Changeset [55358] was committed to prevent login name collision when one user registers with the email address `user@example.com` and a second user tries to register with the username `user@example.com`. However, it also introduced a potential backward compatibility issues for plugins that use `wp_update_user()`. When updating an existing user, it throws an `existing_user_email_as_login` error if the email address is also used for the user login, due to the code introduced in [55358].

This changeset removes the new scenario added in [55358] and [55360], restoring the `wp_insert_user()` function back to its previous state.

Props polevaultweb, audrasjb, costdev, peterwilsoncc, hellofromTonya, SergeyBiryukov, azaozz.
Reviewed by hellofromTonya.
Merges [55584] to the 6.2 branch.
See #57967, #57394.

Built from https://develop.svn.wordpress.org/branches/6.2@55585


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-23 14:19:21 +00:00
audrasjb
efae30eb04 Post WordPress 6.2 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/6.2@55579


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-21 17:39:20 +00:00
audrasjb
b4252fa186 WordPress 6.2 RC3.
Built from https://develop.svn.wordpress.org/branches/6.2@55578


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-21 17:16:21 +00:00
ryelle
7ad3ce1db6 Administration: Update dashboard welcome panel colors, remove broken link
Remove the green background from the "dot" accent, to prevent low contrast for the dismiss button. Use menu colors for the background on alternate color schemes. Remove the "Edit styles" link as there is no longer a direct link to the global styles section of the site editor.

Follow-up to [55451].

Props sabernhardt, ryokuhi, laurlittle, richtabor.
Reviewed by hellofromTonya.
Merges [55574] to the 6.2 branch.
Fixes #57759.


Built from https://develop.svn.wordpress.org/branches/6.2@55576


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-21 15:50:21 +00:00
ryelle
1d7e890623 Help/About: Updates to About page.
Remove link to release video, update split controls image.

Follow-up to [55449], [55499], [55545].

Props laurlittle, richtabor.
Reviewed by hellofromTonya.
Merges [55573] to the 6.2 branch.
Fixes #57477.


Built from https://develop.svn.wordpress.org/branches/6.2@55575


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-21 15:46:23 +00:00
hellofromTonya
f5311ed8e0 Editor: Update @wordpress packages for 6.2 RC3.
Updates the `@wordpress` packages to include the fixes for these regressions introduced in the 6.2 cycle:

* [Regression] Navigation Block: Category/Custom taxonomy links are not searchable in the Link inserter [https://github.com/WordPress/gutenberg/pull/49126 Gutenberg PR 49126]. See #57929 
* [Regression] Post Editor: List View has no close button on mobile viewports [https://github.com/WordPress/gutenberg/pull/49200 Gutenberg PR 49200] 

References:
* [811da1ab3a Packages x.3.11 publish commit].

Follow-up to [55548].

Props andraganescu, costdev, get_dave, hellofromTonya, mamaduka, ntsekouras, scruffian, talldanwp, thomask.
Reviewed by SergeyBiryukov, audrasjb.
Merges [55568] to the 6.2 branch.
See #57471.
Fixes #57929.
Built from https://develop.svn.wordpress.org/branches/6.2@55570


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-21 12:58:39 +00:00
Sergey Biryukov
c0b0ce8227 Post WordPress 6.2 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/6.2@55551


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-14 17:58:20 +00:00
Sergey Biryukov
c9b9123105 WordPress 6.2 RC2.
Built from https://develop.svn.wordpress.org/branches/6.2@55550


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-14 17:46:20 +00:00
hellofromTonya
759261325e Editor: Update @wordpress packages for 6.2 RC2.
Updates the `@wordpress` packages to include the following changes:

- [Regression] Don't offer Classic block as a recovery action when not registered [https://github.com/WordPress/gutenberg/pull/49051 Gutenberg PR 49051]  
- [i18n Change] Fix typo in the media-categories component [https://github.com/WordPress/gutenberg/pull/49047 Gutenberg PR 49047] 
- Hide navigation screen in site editor [https://github.com/WordPress/gutenberg/pull/49043 Gutenberg PR 49043]  
 [https://make.wordpress.org/core/2023/03/14/fyi-navigation-section-of-new-site-editor-experienced-removed-for-6-2-rc-2/ Feature is not ready for 6.2]
- [i18n Change] Site editor: Fix non-us spelling in sidebar [https://github.com/WordPress/gutenberg/pull/48976 Gutenberg PR 48976]  See Trac #57895.
- [Regression] Site Editor: Fix lingering insertion point within template parts [https://github.com/WordPress/gutenberg/pull/48913 Gutenberg PR 48913]  > Regression introduced in 6.2 cycle.
- Navigation Link: Remove color generation code [https://github.com/WordPress/gutenberg/pull/48927 Gutenberg PR 48927] and [https://github.com/WordPress/gutenberg/pull/49064 Gutenberg PR 49064] 
- Fix settings tab active state border in block inspector [https://github.com/WordPress/gutenberg/pull/48945 Gutenberg PR 48945] 
- Fix text alignment in the Site Editor sidebar  [https://github.com/WordPress/gutenberg/pull/48959 Gutenberg PR 48959]  Making template descriptions more prominent is part of 6.2.

References:
* [f22a3cbf0c Packages x.3.9 publish commit]
* [356298f91f Packages x.3.10 publish commit]

Follow-up to [55496].

Props mamaduka, tobifjellner, davidbaumwald, costdev, audrasjb, hellofromTonya.
Reviewed by SergeyBiryukov.
Merges [55542] to the 6.2 branch.
See #57471.
Fixes #57895.
Built from https://develop.svn.wordpress.org/branches/6.2@55548


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-14 16:33:41 +00:00
ryelle
b1140e5b29 Help/About: Add CDN images to About page.
Props richtabor.
See #57477.


Built from https://develop.svn.wordpress.org/branches/6.2@55546


git-svn-id: http://core.svn.wordpress.org/branches/6.2@55058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-14 16:21:20 +00:00