Commit Graph

50545 Commits

Author SHA1 Message Date
audrasjb
b863373e3c Administration: Remove useless arrow icon from WordPress admin menu.
This changeset deletes the arrow that is typically added next to WordPress admin menu items that have submenus. The `.wp-menu-arrow` element is no longer visible since the WP 3.8 redesign, but the HTML and CSS remained. With this changeset, the HTML generating the arrow is removed, and the corresponding CSS styling is deleted.

Props helen, azaozz, jbkkd, pbearne, flixos90.
Fixes #26960.



Built from https://develop.svn.wordpress.org/trunk@59690


git-svn-id: http://core.svn.wordpress.org/trunk@59032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 22:33:22 +00:00
audrasjb
c72b77f1ee Themes: Add wp-singular to the list of body classes when viewing a single post object.
The `wp-singular` class includes a `wp` prefix to avoid conflicts with existing classes. This changeset also updates the `Tests_Post_GetBodyClass` PHPUnit test to include the new CSS class.

Props danielpataki, peterwilsoncc, swissspidy, johnbillion, eceleste, poena, audrasjb, raj198, shailu25.
Fixes #35164.



Built from https://develop.svn.wordpress.org/trunk@59689


git-svn-id: http://core.svn.wordpress.org/trunk@59031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 21:18:23 +00:00
audrasjb
692f6d4b9e General: Stop direct loading of files in /wp-includes that should only be included.
This changeset restricts direct access call in `/wp-includes` and its sub directories.

Follow-up to [11768], [59678].

Props deepakrohilla.
Fixes #61314.



Built from https://develop.svn.wordpress.org/trunk@59688


git-svn-id: http://core.svn.wordpress.org/trunk@59030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 19:48:25 +00:00
John Blackbourn
67b029cbc1 Build/Test Tools: Coerce the run_id input to a string before passing it to the "Failed Workflow" workflow.
Follow-up to [59679].

See #62221

Built from https://develop.svn.wordpress.org/trunk@59687


git-svn-id: http://core.svn.wordpress.org/trunk@59029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 19:26:26 +00:00
desrosj
3012d6ea80 Build/Test Tools: Update @playwright/test.
This updates `@playwright/test` to the latest version, currently `1.49.1`.

In older branches using Playwright, the E2E and Performance workflows have recently started failing. This is due to changes in the GitHub Actions runner images. Updating Playwright ensures more modern dependency trees are used when installing browsers for testing and fixes the issue.

Props swissspidy.
See #62843.
Built from https://develop.svn.wordpress.org/trunk@59682


git-svn-id: http://core.svn.wordpress.org/trunk@59025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 17:51:31 +00:00
desrosj
efaefdc79d Build/Test Tools: Fix Slack message payload generation.
The JSON string set as an output for the Slack message payload needs to be one line to prevent causing errors. This ensures `jq` returns a compact JSON string.

Follow up to [59679].

Props johnbillion.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@59681


git-svn-id: http://core.svn.wordpress.org/trunk@59024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 17:05:25 +00:00
Sergey Biryukov
60f95c14fd Coding Standards: Rename $thisEnclosure variable in wp_xmlrpc_server methods.
This resolves a WPCS warning:
{{{
Variable "$thisEnclosure" is not in valid snake_case format, try "$this_enclosure"
}}}

Follow-up to [16824], [19848].

See #62279.
Built from https://develop.svn.wordpress.org/trunk@59680


git-svn-id: http://core.svn.wordpress.org/trunk@59023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 15:40:20 +00:00
John Blackbourn
140cfa6d5d Build/Test Tools: Improve the security and correctness of the GitHub Actions workflows files.
This includes removing use of dangerous inline GitHub Actions expressions, preventing word splitting, further tightening permissions, and generally improving many aspects of the workflows.

This also introduces a new workflow that runs Actionlint to detect incorrect and insecure code and configuration in workflow files.

Props johnbillion, swissspidy, flixos90, desrosj.

See #62221

Built from https://develop.svn.wordpress.org/trunk@59679


git-svn-id: http://core.svn.wordpress.org/trunk@59022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 15:15:21 +00:00
audrasjb
0619c6d95a General: Stop direct loading of files in /wp-admin that should only be included.
This changeset restricts direct access call in `/wp-admin` and its sub directories.

Follow-up to [11768].

Props deepakrohilla.
See #61314.



Built from https://develop.svn.wordpress.org/trunk@59678


git-svn-id: http://core.svn.wordpress.org/trunk@59021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-22 14:06:22 +00:00
audrasjb
a79b4ef4c9 Formatting: Preserve target="_blank" in Biographical Info and Category Description.
This changeset ensures the `target="_blank"` attribute is preserved when adding links in the Biographical Info and Category Description fields. Previously, this attribute was being stripped by the KSES sanitization process.

Additionally, new unit tests have been added to verify the preservation of the `target="_blank"` attribute in these specific contexts.

Props lovewpmu, miqrogroove, bsutcliffe, sjefen6, nofearinc, nacin, harmr, blogitsolutions, stefahn, nirajgirixd, martinkrcho, spacedmonkey, sukhendu2002, audrasjb, gaellebesson, nuryko, guillaumeturpin, maximemeganck, ranafge, azaozz, joedolson, rinkalpagdar, mikinc860.
Fixes #12056.



Built from https://develop.svn.wordpress.org/trunk@59677


git-svn-id: http://core.svn.wordpress.org/trunk@59020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 22:59:18 +00:00
audrasjb
c84a324ab2 Customize: Show sidebar's description below its name in Customizer Widgets sidebar list.
This is part of an effort to reduce `title` attribute usage in WordPress Admin. This changeset updates the Customizer Widgets sidebar list to show sidebar name and description (as these informations may benefit to everyone), and remove the `title` attribute.

Follow-up to [22439], [27548], [31513], [32991], [50804], [53414], [59675].

Props karlgroves, sabernhardt, mukesh27, joedolson.
Fixes #62836.
See #24766.



Built from https://develop.svn.wordpress.org/trunk@59676


git-svn-id: http://core.svn.wordpress.org/trunk@59019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 22:38:23 +00:00
audrasjb
37e2744105 Themes: Remove title attributes from theme list tables.
This changeset updates the old list tables for themes and theme installation to remove `title` attributes or replace them with a more acessible implementation:
- Removes `title` attributes from `span` elements
- Replaces `title` with `aria-label` for links whose visible text starts with the same word, consistently with links on the "Add Plugins" screen
- Reuses the `$preview_title` variable to keep ARIA labels consistent for both Preview links

Follow-up to [22439], [27548], [31513], [32991], [50804], [53414].

Props karlgroves, sabernhardt, audrasjb, alh0319.
Fixes #62834.
See #24766.



Built from https://develop.svn.wordpress.org/trunk@59675


git-svn-id: http://core.svn.wordpress.org/trunk@59018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 21:49:22 +00:00
Weston Ruter
091d5e460e Menus: Improve performance by calling get_privacy_policy_url() once per Walker_Nav_Menu instance rather than for every nav menu item.
The `start_el()` method in `Walker_Nav_Menu` was calling `get_privacy_policy_url()` for every menu item when building menus. This resulted in redundant queries, particularly for menus with many items. This obtains the `get_privacy_policy_url()` value in the constructor for reuse in the `start_el()` method to improve performance.

Redundant code to construct the privacy policy page is also refactored into the `set_up()` method during tests.

Props arzola, swissspidy, westonruter, mukesh27.
Fixes #62818.

Built from https://develop.svn.wordpress.org/trunk@59674


git-svn-id: http://core.svn.wordpress.org/trunk@59017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 21:26:23 +00:00
John Blackbourn
1cd758d2ee Build/Test Tools: Switch to using local references for reusable workflows.
The benefit of this is that when PRs are made to make changes to a reusable workflow, the references doesn't need to be updated to point to the fork in order for the changed workflow to run.

A `npm run grunt replace:workflow-references-local-to-remote` command has also been introduced in order to convert these local references back to remote ones. This command can be used to switch release branches over to using remote workflows, as they are currently, so they continue to benefit from workflow changes in trunk without the need for continual backporting to all the branches.

Props desrosj, johnbillion

Fixes #62416

Built from https://develop.svn.wordpress.org/trunk@59673


git-svn-id: http://core.svn.wordpress.org/trunk@59016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 15:42:21 +00:00
Sergey Biryukov
0f51cfd3b4 Coding Standards: Rename the $errorString variable in wp_xmlrpc_server methods.
This resolves a WPCS warning:
{{{
Variable "$errorString" is not in valid snake_case format, try "$error_string"
}}}

Follow-up to [5054].

See #62279.
Built from https://develop.svn.wordpress.org/trunk@59672


git-svn-id: http://core.svn.wordpress.org/trunk@59015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 15:34:20 +00:00
John Blackbourn
783c6905dd Security: Set the HttpOnly flag for the test cookie and the wp_lang cookie on the login screen.
These cookies are only accessed server-side and don't need to be exposed to JavaScript in the browser.

Props earthman100, kevinlearynet

Fixes #61322

Built from https://develop.svn.wordpress.org/trunk@59671


git-svn-id: http://core.svn.wordpress.org/trunk@59014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 13:19:21 +00:00
Pascal Birchler
78c401da14 I18N: Set textdomain registry information before loading plugins/theme.
This way, warnings for early translation calls can be emitted that aren't attached to any hook.

Follow-up to [59461].

Props swissspidy.
Fixes #62244.See #44937.
Built from https://develop.svn.wordpress.org/trunk@59670


git-svn-id: http://core.svn.wordpress.org/trunk@59013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 11:44:21 +00:00
Pascal Birchler
f036ffa43a Build/Test Tools: Do not download extra browsers in performance tests.
Props euthelup, johnbillion, mukesh27.
Fixes #62822.
Built from https://develop.svn.wordpress.org/trunk@59669


git-svn-id: http://core.svn.wordpress.org/trunk@59012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-21 08:34:21 +00:00
John Blackbourn
6fb84ace49 Build/Test Tools: Pass the working directory path from the host to the dev environment containers.
This allows development tools to read the host path information from the `HOST_PATH` environment variable in order to, for example, map a path in a stack trace from the path in the container to the path on the host machine.

Fixes #62833

Built from https://develop.svn.wordpress.org/trunk@59668


git-svn-id: http://core.svn.wordpress.org/trunk@59011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-20 22:08:19 +00:00
John Blackbourn
d93f38e360 Administration: Clarify some references to "we" and "our" in the administration area.
This changes some text to better match the guidelines and recommendations set forth in the make/core handbook, specifically:

> the word “we” should be avoided (...) unless its made very clear which group is speaking

Fixes #62295

Built from https://develop.svn.wordpress.org/trunk@59667


git-svn-id: http://core.svn.wordpress.org/trunk@59010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-20 22:04:28 +00:00
John Blackbourn
33729cf0db Build/Test Tools: Instruct git and svn to ignore SQLite files
This prevents users of the SQLite Database Integration plugin from seeing untracked files in the `src/wp-content/database` directory.

Props sukhendu2002, johnbillion

Fixes #62813

Built from https://develop.svn.wordpress.org/trunk@59666


git-svn-id: http://core.svn.wordpress.org/trunk@59009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-20 21:51:25 +00:00
Sergey Biryukov
5c35a5f4c5 Coding Standards: Rename the $isPrimary variable in wp_xmlrpc_server methods.
This resolves a few WPCS warnings:
{{{
Variable "$isPrimary" is not in valid snake_case format, try "$is_primary"
}}}

Additionally, this commit renames `$catids` to `$cat_ids` for consistency.

Follow-up to [1671].

See #62279.
Built from https://develop.svn.wordpress.org/trunk@59665


git-svn-id: http://core.svn.wordpress.org/trunk@59008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-20 14:32:26 +00:00
Sergey Biryukov
3a140bb318 Coding Standards: Rename the $dateCreated variable in wp_xmlrpc_server methods.
This resolves a few WPCS warnings:
{{{
Variable "$dateCreated" is not in valid snake_case format, try "$date_created"
}}}

Follow-up to [1563], [1659], [5888], [6691], [8543], [19848].

See #62279.
Built from https://develop.svn.wordpress.org/trunk@59664


git-svn-id: http://core.svn.wordpress.org/trunk@59007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-19 16:57:22 +00:00
Sergey Biryukov
a8196960bc Coding Standards: Use strict comparison in wp_xmlrpc_server::pingback_ping().
Follow-up to [2983], [55365].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59663


git-svn-id: http://core.svn.wordpress.org/trunk@59006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-18 23:43:25 +00:00
Joe McGill
89adfd4acc Editor: Improve consistency of render_block_context filter.
This ensures that when block context is filtered via `render_block_context`, the filtered value is provided as available context to inner blocks.

For backwards compatibility reasons, filtered context is added to inner block context regardless of whether that block has declared support via the `uses_context` property.

Props mukesh27, flixos90, gziolo, dlh, joemcgill, santosguillamot.
Fixes #62046.

Built from https://develop.svn.wordpress.org/trunk@59662


git-svn-id: http://core.svn.wordpress.org/trunk@59005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 21:37:21 +00:00
desrosj
570c050e53 Build/Test Tools: Auto-close linked PRs on GitHub.
There are currently ~2,000 open pull requests on GitHub for `wordpress-develop`. Many of these were for testing changes that have already been merged.

To help prevent orphaned pull requests, this new workflow will search for any pull requests referencing the `Fixed` Trac tickets as noted in the commit message and close them out. For now, this only happens for `push` events.

Props peterwilsoncc, swissspidy, johnbillion, davidbaumwald.
Fixes #62817.
Built from https://develop.svn.wordpress.org/trunk@59661


git-svn-id: http://core.svn.wordpress.org/trunk@59004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 14:03:22 +00:00
Sergey Biryukov
52a592e1b8 Coding Standards: Use strict comparison in wp_xmlrpc_server::wp_deleteCategory().
Follow-up to [20157], [32733].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59660


git-svn-id: http://core.svn.wordpress.org/trunk@59003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 10:39:18 +00:00
John Blackbourn
6629610493 Build/Test Tools: Hide the Node.js error message when a Docker command produces a non-zero exit code.
When running a command that goes via docker.js and produces a non-zero exit code, the error message and stack trace from node an safely be hidden because the stack trace only points to the `execSync()` call and is of no use.

Fixes #62814

Built from https://develop.svn.wordpress.org/trunk@59659


git-svn-id: http://core.svn.wordpress.org/trunk@59002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 10:37:19 +00:00
John Blackbourn
958e52f4cb Build/Test Tools: Use quiet pulls during local environment installation and WP-CLI commands.
This reduces the noise of the output -- both locally and on CI -- when first pulling containers during local environment installation and the first time the cli container is pulled for WP-CLI commands.

See #62280

Built from https://develop.svn.wordpress.org/trunk@59658


git-svn-id: http://core.svn.wordpress.org/trunk@59001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 10:34:26 +00:00
Peter Wilson
cf9594c4ae Options/Meta APIs: Document type juggling of meta data.
Document that unserialised data types are stored as strings in the database and returned as such by the meta data functions. For example, setting meta data to the integer value `1` will be returned as `"1"` when subsequently queried via `get_metadata()` and the related functions.

Props sukhendu2002, azaozz, jrf, rodrigosprimo.
Fixes ticket:61950.



Built from https://develop.svn.wordpress.org/trunk@59657


git-svn-id: http://core.svn.wordpress.org/trunk@59000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-17 00:12:26 +00:00
desrosj
2e64ee9f0d Administration: Modernize admin color scheme SASS files.
This updates the admin color scheme `.sass` files to address some deprecated notices caused by upstream changes.

- `string` and `colors` are no longer globally available functions.
- `@import` is deprecated in favor of `@use`.

There are still a few notices that are output, however this will require an update to the `grunt-sass` package to resolve.

Props MattyRob.
Fixes #62323.
Built from https://develop.svn.wordpress.org/trunk@59656


git-svn-id: http://core.svn.wordpress.org/trunk@58999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-16 21:05:33 +00:00
desrosj
3ed22fda3a Build/Test Tools: Add input for disabling AppArmor.
Old branches requiring outdated versions of Chromium to run JavaScript tests have recently started failing as a result of the `ubuntu-latest` container being updated to point to `ubuntu-24`.

This introduces a new input to the reusable JavaScript testing workflow to allow a fix to be used without having to update Chromium or tests in these branches.

Props swissspidy.
See #62808.
Built from https://develop.svn.wordpress.org/trunk@59635


git-svn-id: http://core.svn.wordpress.org/trunk@58998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-16 20:21:23 +00:00
Sergey Biryukov
201d79b06e Upload: Remove redundant check for ABSPATH in wp-admin/async-upload.php.
This aims to bring consistency with a similar fragment in other files, since relocating `wp-admin` or `wp-load.php` is not supported at this time.

Follow-up to [6659], [7971], [8315].

Props hussain896, swissspidy, knutsp, SergeyBiryukov.
Fixes #62809.
Built from https://develop.svn.wordpress.org/trunk@59634


git-svn-id: http://core.svn.wordpress.org/trunk@58997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-16 16:18:24 +00:00
John Blackbourn
3579e69fe2 Users: Retain the current session when a user changes their password.
Prior to this change a new session was unnecessarily created when a user changed their own password.

Existing authentication cookies for the user will still be invalidated regardless of whether they share the same session token because session cookie keys contain a substring of the password hash.

Props snicco, narenin, johnbillion

Fixes #61366

Built from https://develop.svn.wordpress.org/trunk@59633


git-svn-id: http://core.svn.wordpress.org/trunk@58996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-16 15:35:27 +00:00
Sergey Biryukov
5765a2eb1b Coding Standards: Use strict comparison in wp_xmlrpc_server::_multisite_getUsersBlogs().
Follow-up to [https://mu.trac.wordpress.org/changeset/1218 mu:1218], [12852].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59632


git-svn-id: http://core.svn.wordpress.org/trunk@58995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-16 12:04:23 +00:00
Peter Wilson
5351aabea8 Options/Meta APIs: Optimize cache hits for non-existent options.
Optimize the order of checking the various options caches in `get_option()` to prevent hitting external caches each time it is called for a known non-existent option.

The caches are checked in the following order when getting an option:

1. Check the `alloptions` cache first to prioritize existing loaded options.
2. Check the `notoptions` cache before a cache lookup or DB hit.
3. Check the `options` cache prior to a DB hit.

Follow up to [56595].

Props adamsilverstein, flixos90, ivankristianto, joemcgill, rmccue, siliconforks, spacedmonkey.
Fixes #62692.
See #58277.

Built from https://develop.svn.wordpress.org/trunk@59631


git-svn-id: http://core.svn.wordpress.org/trunk@58994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-15 22:13:24 +00:00
Felix Arntz
b742570d1b REST API: Fix PHP warning about undefined paged argument in various REST API endpoints.
This bug could occur in `WP_REST_Posts_Controller`, `WP_REST_Global_Styles_Revisions_Controller`, `WP_REST_Revisions_Controller`, and any of their child classes. This changeset fixes it throughout.

Props apermo, pbearne, hemant-ahir, flixos90.
Fixes #62292.

Built from https://develop.svn.wordpress.org/trunk@59630


git-svn-id: http://core.svn.wordpress.org/trunk@58993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-15 18:36:24 +00:00
Pascal Birchler
8e649f1a2e Undo accidental svn:mergeinfo property change in [59605].
See #61970.

Built from https://develop.svn.wordpress.org/trunk@59607


git-svn-id: http://core.svn.wordpress.org/trunk@58992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-15 12:55:16 +00:00
Sergey Biryukov
b01086811d Coding Standards: Use strict comparison in paginate_links().
Follow-up to [4275], [28785].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59606


git-svn-id: http://core.svn.wordpress.org/trunk@58991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-15 12:52:17 +00:00
Pascal Birchler
7dcc7f8d32 REST API: Improve autosave and revision endpoints for templates and template parts.
Fixes those endpoints for file-based templates and template parts, as templates based on theme files can't be revisioned or autosaved.

Props antonvlasenko, swissspidy, spacedmonkey, kadamwhite.
Fixes #61970.
Built from https://develop.svn.wordpress.org/trunk@59605


git-svn-id: http://core.svn.wordpress.org/trunk@58990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-15 12:46:25 +00:00
Sergey Biryukov
5372b3ffa2 Tests: Restore the environment before performing assertions in download_url() tests.
This aims to avoid affecting other tests in case of failure.

Follow-up to [42773], [51939].

See #62280.
Built from https://develop.svn.wordpress.org/trunk@59604


git-svn-id: http://core.svn.wordpress.org/trunk@58989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-14 15:37:31 +00:00
John Blackbourn
7c245831e8 Docs: Correct a translator comment that was added in [59578].
See #62005

Built from https://develop.svn.wordpress.org/trunk@59603


git-svn-id: http://core.svn.wordpress.org/trunk@58988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-14 11:38:24 +00:00
Sergey Biryukov
08ffc54083 Docs: Correct @return value for update_attached_file().
Follow-up to [4612], [21967], [24490], [47611], [48214].

Props arnoutblueshell, karthickmurugan, SergeyBiryukov.
Fixes #62803.
Built from https://develop.svn.wordpress.org/trunk@59602


git-svn-id: http://core.svn.wordpress.org/trunk@58987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-13 22:22:25 +00:00
desrosj
6658e0eb76 Coding Standards: Add missing space for self-closing tags.
Props laxman-prajapati, sabernhardt.
Fixes #62799.
Built from https://develop.svn.wordpress.org/trunk@59600


git-svn-id: http://core.svn.wordpress.org/trunk@58986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-13 14:57:23 +00:00
Sergey Biryukov
6f097ada4b Coding Standards: Use strict comparison in get_page_by_path().
Follow-up to [3511], [18541], [19075], [21845].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59599


git-svn-id: http://core.svn.wordpress.org/trunk@58985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-12 18:14:23 +00:00
Pascal Birchler
b9a1723711 Embeds: Add Canva to oEmbed provider allowlist.
Props swissspidy.
Fixes #58840.
Built from https://develop.svn.wordpress.org/trunk@59598


git-svn-id: http://core.svn.wordpress.org/trunk@58984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-11 13:44:25 +00:00
Sergey Biryukov
c38d71bcc0 Coding Standards: Use strict comparison in wp_check_post_hierarchy_for_loops().
Follow-up to [10129], [15806].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59597


git-svn-id: http://core.svn.wordpress.org/trunk@58983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-11 00:37:24 +00:00
Sergey Biryukov
b273bbf538 Coding Standards: Use strict comparison in get_posts_by_author_sql().
Follow-up to [13576], [25669].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59596


git-svn-id: http://core.svn.wordpress.org/trunk@58982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-10 18:14:23 +00:00
Sergey Biryukov
504d02539f Login and Registration: Check that the $_POST values are strings in wp_signon().
This prevents a fatal error from `trim()` via `wp_authenticate()` if an array is passed instead.

Follow-up to [6643], [58093].

Props leedxw, audrasjb, SergeyBiryukov.
Fixes #62794.
Built from https://develop.svn.wordpress.org/trunk@59595


git-svn-id: http://core.svn.wordpress.org/trunk@58981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-09 19:43:23 +00:00
poena
0086f4ba40 Twenty Twenty: Correct the font weight of the quote block in the editor.
This change removes the font weight of the paragraph inside the quote block,
so that the design in the editor and the front looks the same.

Props sainathpoojary, ankitkumarshah, sabernhardt, krupajnanda.
Fixes #62753.
Built from https://develop.svn.wordpress.org/trunk@59594


git-svn-id: http://core.svn.wordpress.org/trunk@58980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-09 09:23:23 +00:00