49853 Commits

Author SHA1 Message Date
Pascal Birchler
9cd0523017 Quick/Bulk Edit: Further adjust label width for translations. after [58325]
Props zodiac1978.
Fixes #60851.

git-svn-id: https://develop.svn.wordpress.org/trunk@58411 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 21:36:45 +00:00
Sergey Biryukov
e7e6e096a8 Twenty Twenty-One: Fix typography settings for the Quote block.
Follow-up to [49216], [49478], [49574], [49633], [49800].

Props poena, jyolsna, deepakvijayan, audrasjb, whaze, ironprogrammer, suascat_wp, sannevndrmeulen, zunaid321, oglekler, sabernhardt, mukesh27, ugyensupport, devmuhib, priyanshii5, nicolefurlan, hellofromTonya, huzaifaalmesbah, shailu25, vivekawsm, imranhasanraaz, karmatosed.
Fixes #55991.

git-svn-id: https://develop.svn.wordpress.org/trunk@58410 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 20:53:39 +00:00
Tonya Mork
4575c26a2c Code Modernization: Use wp_trigger_error() instead of trigger_error().
Replaces `trigger_error()` with `wp_trigger_error()`.

The usage of `wp_trigger_error()` avoids generating `E_USER` family errors unless `WP_DEBUG` is on. In doing so, users should not see these messages in normal production.

Notes:
* Removes `E_USER_NOTICE` when passed as an argumnent, as it's the default error level.
* An empty string is passed for the function name when its name is already in the error message or does not add value to the error message.
* Externally maintained libraries are not included.

Follow-up to [55204], [25956], [29630], [38883], [52062], [52049], [54272], [38883], [55245], [51599], [14452], [38883], [24976].

Props prasadkarmalkar, rajinsharwar, thelovekesh, hellofromTonya, swissspidy. 
Fixes #59652.

git-svn-id: https://develop.svn.wordpress.org/trunk@58409 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 20:48:33 +00:00
Jonathan Desrosiers
a4c9a6e3f8 Coding Standards: Apply changes after running composer format.
This applies several formatting related changes made while running `composer format`.

Follow up to [55720], [58171], [58271], [58282], [58283], [58292], [58299], [58303], [58332].
See #51857, #60719, #60895, #61021, #61118, #61228, #61276, #61324.

git-svn-id: https://develop.svn.wordpress.org/trunk@58408 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 15:04:50 +00:00
Joe Dolson
2dbd470927 Themes: Fix attachment rendered as site logo on attachment page.
Fix issue where the attachment thumbnail would be rendered as the site logo on attachment single templates if no site logo is set. Avoid calling `wp_attachment_is_image()` with no value, since that function will fallback to the global `$post` variable. Follow up to [58213]. See #60922.

Props greenshady, krupajnanda, hmbashar, rajinsharwar, joedolson.
Fixes #61408.

git-svn-id: https://develop.svn.wordpress.org/trunk@58407 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 14:46:08 +00:00
Jonathan Desrosiers
986e4643e6 Posts/Post Types: Display the correct message when post status is filtered on save.
This prevents the display of an inaccurate message when the `wp_insert_post_data` filter is used to change the status of a post while saving. This bug was only present when using the Classic Editor.

The previous code incorrectly assumed that a filter would never change a post’s status to `draft`, resulting in a “Post published.” message instead of “Post draft updated.”.

Props freibergergarcia, sirzooro, hakre, blepoxp, scribu, kawauso.
Fixes #11207.

git-svn-id: https://develop.svn.wordpress.org/trunk@58406 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 14:44:45 +00:00
Joe Dolson
dbb326167a Administration: A11y: Add visible labels in theme UI.
Finish task to replace placeholders used for labels with visible label elements. Add label elements in theme browser and theme installation screen. Change position of search input to match other user interfaces in WordPress.

Also crediting all contributors to ticket #61389, which this also closes.

Props joedolson, rcreators, sabernhardt, balub, rejaulalomkhan, syamraj24, nazmul111, krupajnanda, huzaifaalmesbah, hmbashar, mdnesarmridha, colorful-tones, printsachen1.
Fixes #40331, #61389.

git-svn-id: https://develop.svn.wordpress.org/trunk@58405 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 13:55:46 +00:00
Jb Audras
aedad15f57 Bundled block themes: Set theme.json schema version to 6.5.
This changeset updates the `theme.json` schema version from `trunk` which is the development version to the last schema for version 2 available at `https://schemas.wp.org/wp/6.5/theme.json`.

Props poena, sabernhardt, wildworks, mukesh27, kafleg.
Fixes #61342.




git-svn-id: https://develop.svn.wordpress.org/trunk@58403 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 13:43:59 +00:00
Tonya Mork
63cafcf35c Plugins: Remove unassigned sprintf in wp_get_plugin_action_button().
Removes an unassigned `sprintf` that was accidentally included as part of [57545] in the `wp_get_plugin_action_button()`. A copy/paste whoopsie.

The actual used code is assigned a wee bit lower in the function within the `install` case.

Follow-up to [57545].

Props hellofromTonya, costdev, rajinsharwar.
Fixes #61420.

git-svn-id: https://develop.svn.wordpress.org/trunk@58402 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 13:25:41 +00:00
Aaron Jorbin
d4688047b9 Comments: Expire comment author cookies after 1 year (rather than 0.95129375951 of a year)
This filter was originally added in [19622] which predates the addition of the constant added in [21996] by 24085717 seconds.

Props peterwilsoncc, khokansardar, krupalpanchal.
Fixes #61412.


git-svn-id: https://develop.svn.wordpress.org/trunk@58401 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 13:03:15 +00:00
Adam Silverstein
7f70d68353 Networks and sites: use get_allowed_mime_types to populate multisite’s upload_filetypes.
Ensure new multisite installs are up to date with the current mime types supported in core.

Note that this will only affect newly created networks, since this is only used to populate the schema for new networks, not change the allowed mime types for existing networks

Props spacedmonkey, costdev, pavanpatil1, joemcgill, rajinsharwar, tb1909.
Fixes #53167.




git-svn-id: https://develop.svn.wordpress.org/trunk@58400 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 09:58:11 +00:00
Tammie Lister
3a71df6aef Twenty Fourteen: Fixes table block not having same design in editors.
The table block did not have the same design in the editor for front and back. This resolves the issue for the front end editor.

Props pranitdugad, nidjidhandhukiya, poena, shailu25, hmbashar, ugyensupport.
Fixes #60293.


git-svn-id: https://develop.svn.wordpress.org/trunk@58399 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 09:51:27 +00:00
Jb Audras
3806b25058 HTML API: Revert using regex in block bindings HTML replacement logic.
This changeset reverts part of the changes made in [58298] to avoid using regex that can cause potential bugs. It is indeed safer to revert these changes for now and do the refactoring once the HTML API supports CSS selectors and provides a way to set inner content.

It also adds a unit test to cover the regression experienced in https://github.com/WordPress/gutenberg/issues/62347.

Follow-up to [58298].

Props santosguillamot, gziolo.
Fixes #61385.
See #61351.




git-svn-id: https://develop.svn.wordpress.org/trunk@58398 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-13 08:55:47 +00:00
Peter Wilson
459d99618c Docs: Correct typos in JavaScript wordmark.
Fixes documentation and comment references to capitalize JavaScript in accordance with the wordmark.

Props peterwilsoncc, mukesh27, dmsnell.
See #60699.


git-svn-id: https://develop.svn.wordpress.org/trunk@58397 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-12 23:10:50 +00:00
Tonya Mork
cf2b0eece5 Plugins: Ensure wp_get_plugin_action_button() returns a string.
[57545] introduced `wp_get_plugin_action_button()`. This function is documented to return a `string`. However, if the user does not have the appropriate capabilities, it returned `void`, which is unexpected.

Resolves the issue by moving the `return $button` to the bottom of the function to ensure it always returns a `string` type. On success, the button's HTML string is returned; else, an empty string is returned.

Unit tests are included.

Follow-up to [57545].

Props costdev, rajinsharwar, hellofromTonya.
Fixes #61400.

git-svn-id: https://develop.svn.wordpress.org/trunk@58396 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-12 18:15:33 +00:00
Sergey Biryukov
f30f29c24f Docs: Correct alignment in WP_Block_Bindings_Registry::register() DocBlock.
Follow-up to [57373], [57375], [57641].

Props nareshbheda, mukesh27.
Fixes #61412.

git-svn-id: https://develop.svn.wordpress.org/trunk@58395 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-12 12:42:28 +00:00
André
c2bf2eb24f Editor: register block style variations defined by the theme using the init action.
Props oandregal, aaronrobertshaw, annezazu.

Follow-up to [58264].
See #61312.



git-svn-id: https://develop.svn.wordpress.org/trunk@58394 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-12 07:15:06 +00:00
Isabel Brison
7bb62f4395 Editor: Fix specificity of core block style variations.
Adds styles for default block style variations to core `theme.json` so they can override core element styles where needed.

Props aaronrobertshaw, isabel_brison.
Follows r58241.
See #61165.


git-svn-id: https://develop.svn.wordpress.org/trunk@58393 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-12 06:09:10 +00:00
Jb Audras
1537f0043a Post WordPress 6.6 Beta 2 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@58392 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 16:22:37 +00:00
Jb Audras
0631487063 WordPress 6.6 Beta 2.
git-svn-id: https://develop.svn.wordpress.org/trunk@58391 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 16:08:58 +00:00
Jb Audras
ad0203ca93 Docs: Fix improper docblock format in lang_dir_for_domain hook.
Follow-up to [58236].

Props khokansardar.
See #60699.




git-svn-id: https://develop.svn.wordpress.org/trunk@58390 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 14:25:58 +00:00
Sergey Biryukov
adeb3eca8e Administration: Remove redundant type casting in WP_List_Table::search_box().
Scalar values passed to `esc_attr()` are already converted internally to a string via both `wp_check_invalid_utf8()` and `_wp_specialchars()`.

Includes adding `@covers` tags for unit tests.

Follow-up to [58379].

See #58379.

git-svn-id: https://develop.svn.wordpress.org/trunk@58389 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 12:36:13 +00:00
Sergey Biryukov
b215c598ea Docs: Further improve the wp_http_validate_url() DocBlock.
Follow-up to [58384].

See #61092.

git-svn-id: https://develop.svn.wordpress.org/trunk@58388 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 12:04:40 +00:00
Ella
7cf81d37b0 Editor: Update npm packages for WP 6.6 Beta 2.
See https://github.com/WordPress/wordpress-develop/pull/6773.

Fixes #61410.

Props vcanales.



git-svn-id: https://develop.svn.wordpress.org/trunk@58387 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 10:05:48 +00:00
Jb Audras
0b988ac119 Docs: Remove unwanted whitespace found in wp-includes/http.php.
Follow-up to [58384].

Unprops audrasjb.




git-svn-id: https://develop.svn.wordpress.org/trunk@58386 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 07:27:47 +00:00
Jb Audras
8b30441e30 Docs: Various docblock improvements in HTTP Request API, as per WP docs standards.
See #60699.




git-svn-id: https://develop.svn.wordpress.org/trunk@58385 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 07:12:57 +00:00
Jb Audras
7a3a0fa204 Docs: Improve wp_remote_safe_* and wp_http_validate_url docblocks.
Props benjaminpick, audrasjb.
Fixes #61092.




git-svn-id: https://develop.svn.wordpress.org/trunk@58384 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 07:07:35 +00:00
Jb Audras
2778f483fb Login and Registration: Make the wp-login.php form padding more consistent.
This changeset removes the extra `padding-bottom` to the login form located in `wp-login.php`.

Props deeppatel8950, meetmehta1205, audrasjb, webcommsat, dhrumilk.
Fixes #61013.




git-svn-id: https://develop.svn.wordpress.org/trunk@58383 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 06:39:27 +00:00
Jb Audras
1488682468 Login and Registration: Add required attribute to username and password fields in wp_login_form().
These attributes are needed to indicate that both fields are required. This changeset doesn't add the attribute by default but allows extenders to enable it by passing `true` to the `$required_username` and `$required_password` to `wp_login_form()` arguments array.

Props alesflex, sabernhardt, joedolson, rcreators, rajinsharwar.
Fixes #60062.




git-svn-id: https://develop.svn.wordpress.org/trunk@58382 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 06:22:37 +00:00
Peter Wilson
48497199e1 Options, Meta APIs: Lower priority of default autoload threshold filter.
Lowers the priority at which `wp_filter_default_autoload_value_via_option_size()` is registered to run on the `wp_default_autoload_value()` filter. The default filter now runs at priority 5.

This is to allow third party developers to modify whether an option is autoloaded using the default priority, 10, rather than require they register their code to run at a higher priority.

Follow up to [57920].

Props peterwilsoncc, joemcgill.
Fixes #42441.




git-svn-id: https://develop.svn.wordpress.org/trunk@58381 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 02:38:42 +00:00
Peter Wilson
9955b87bce Options, Meta APIs: Add SQL escaping to query loading 'all options'.
Escapes the return value of `wp_autoload_values_to_autoload()` for use in the database query loading 'all options'. This is a hardening fix to protect against future changes to the options API which may allow developers to further customize the return value of the `wp_autoload_values_to_autoload` filter.

Follow up to [57920].

Props peterwilsoncc, joemcgill.
Fixes #42441.




git-svn-id: https://develop.svn.wordpress.org/trunk@58380 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 02:29:14 +00:00
Peter Wilson
8cd24bc12c Administration: Prevent an orderby array throwing a notice.
Prevent `WP_List_Table::search_box()` from throwing an array to string conversion notice when post list tables are loaded with an array of orderby parameters in the URL, eg: `/wp-admin/edit.php?post_type=page&orderby[menu_order]=ASC&orderby[title]=ASC`.

Follow up to [29027].

Props leonidasmilossis, rajinsharwar, swissspidy, NomNom99, pls78, SergeyBiryukov.
Fixes #59494.
See #17065.


git-svn-id: https://develop.svn.wordpress.org/trunk@58379 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 02:12:52 +00:00
Isabel Brison
90225fb7e6 Editor: Improve maintainability of class WP_Theme_JSON tests.
Updates tests calling `get_stylesheet` to not output layout styles if they’re not relevant to the test or to call `get_styles_for_block` instead where more appropriate.

Props isabel_brison, andrewserong, ramonopoly.
Fixes #61371.


git-svn-id: https://develop.svn.wordpress.org/trunk@58378 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-11 00:29:21 +00:00
Peter Wilson
7d00db4009 Editor: Add labels for template name display in site editor.
Add the label `template_name` to post types and taxonomies for use by the site editor to display on the templates/add new template screens to allow extenders to customize the display.

For post types the template name applies to templates for a singular pages with the default value "Single item: [singular name]".

For taxonomies the template name applies to templates for term archives with the default value "[singular name] Archives".

Props aljullu, audrasjb, ntsekouras, ellatrix, oglekler, rajinsharwar.
Fixes #60881.



git-svn-id: https://develop.svn.wordpress.org/trunk@58377 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-10 23:20:52 +00:00
Jb Audras
ffacf9d585 Customize: Avoid loading the widgets component if a block theme is activated.
This changeset adds a check to ensure the current theme is not a block theme before adding the `widgets` component to the Customizer manager. This avoids a PHP warning when previewing/customizing notification emails with a block theme in BuddyPress and potentially on other plugins.

See https://github.com/buddypress/buddypress/pull/215.

Props imath, mukesh27, faisal03, sumitbagthariya16, webcommsat.
Fixes #60236.




git-svn-id: https://develop.svn.wordpress.org/trunk@58376 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-10 22:10:03 +00:00
Jb Audras
8c859cdd91 Quick/Bulk Edit: Remove the iedit class from the row selector in common.js.
This changeset fixes an issue where the "Bulk select" option was getting selected when only a single user, comment, media, or plugin was selected.

Follow-up to [57745].

Props haritpanchal, swissspidy, sabernhardt, faisal03, sumitbagthariya16, mohitdadhich10.
Fixes #61168.





git-svn-id: https://develop.svn.wordpress.org/trunk@58375 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-10 21:50:28 +00:00
Sergey Biryukov
e193d337de Coding Standards: Use strict comparison in wp-admin/includes/class-wp-list-table.php.
Follow-up to [3724], [5575], [15642], [17202].

Props aristath, poena, afercia, SergeyBiryukov.
See #60700.

git-svn-id: https://develop.svn.wordpress.org/trunk@58374 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-10 16:45:39 +00:00
Sergey Biryukov
bca94a5fe4 Docs: Correct DocBlock formatting for activate_tinymce_for_media_description.
Follow-up to [58372].

See #60158.

git-svn-id: https://develop.svn.wordpress.org/trunk@58373 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 22:51:47 +00:00
Joe Dolson
dbb7e6c8d9 Media: Accessibility: Add filter for TinyMCE in media descriptions.
Add a filter to enable TinyMCE in the media description textarea on the attachment details screen.

The media description field may be used to provide extended descriptions of images and videos, such as a transcript or detailed graphic explanations. In these uses, it will generally require structural elements like paragraphs. Having the ability to enable TinyMCE makes it easier for users to add this content without HTML knowledge.

Props juliemoynat, sebastienserre, mukesh27, joedolson.
Fixes #60158.

git-svn-id: https://develop.svn.wordpress.org/trunk@58372 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 14:30:30 +00:00
Tammie Lister
c5522dbf0a Twenty Fifteen: Fixes patch miss [58370].
The latest patch was missing so one inherit wasn't added. Removes unused line.

Props @shailu25.
See #59802.


git-svn-id: https://develop.svn.wordpress.org/trunk@58371 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 14:23:51 +00:00
Tammie Lister
04ae9361fb Twenty Fifteen: Fixes patch miss [58368].
The latest patch was missing so one inherit wasn't added. Bringing that in with this commit.

Props @shailu25.
See #59802.


git-svn-id: https://develop.svn.wordpress.org/trunk@58370 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 10:34:23 +00:00
Tammie Lister
a2be9dd91c Twenty Fourteen: Fixes missing search block border.
The search block border was missing inside the wrapper on the front. This was done by adding styles to the theme block styles file along with padding.

Props nidhidhandhukiya, sabernhardt, yurajsinh2211, kamran8176, imranhasanraaz, krupajnanda, harshgajipara, rejaulalomkhan, shailu25, hmbashar, rajinsharwar.
Fixes #60164.


git-svn-id: https://develop.svn.wordpress.org/trunk@58369 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 09:50:26 +00:00
Tammie Lister
cf0979edc8 Twenty Fifteen: Fixes quote text color not changing with block setting.
The quote block citation text color wasn't changing through block settings. This resolves by using inherit.

Props viralsampat, poena, sabernhardt, shailu25, krupajnanda, hmbashar, rajinsharwar.
Fixes #59802.


git-svn-id: https://develop.svn.wordpress.org/trunk@58368 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 09:40:45 +00:00
Tammie Lister
b006ffff5e Twenty Seventeen: Fixes space between latest comments blocks as typography size is increased.
The latest comments block space between comments not increases based on typography size. This only impacts the margin if added within a post, widgets on the front-end still only have a 1em margin which is smaller yet variable.

Props pitamdey, sabernhardt, shailu25, harshgajipara, rajinsharwar.
Fixes #59130.


git-svn-id: https://develop.svn.wordpress.org/trunk@58367 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-09 09:32:16 +00:00
Sergey Biryukov
d07fe9303c Coding Standards: Use strict comparison in wp-includes/theme.php.
Follow-up to [12025], [14850], [15641], [20029], [22436], [35738], [36915], [58213].

Props aristath, poena, afercia, SergeyBiryukov.
See #60700.

git-svn-id: https://develop.svn.wordpress.org/trunk@58366 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-08 16:21:49 +00:00
Dennis Snell
d3c1b41ba1 HTML API: Call $this->is_tag_closer() in HTML Processor.
The HTML Processor had been calling the parent class `is_tag_closer()`
method, but since visiting virtual nodes was introduced, it's important
that all of the methods are called on the subclass.

This patch fixes one issue identified where the parent method was called
instead, and it fixes another case where the change from calling the
parent method to the `$this` method was done improperly.

Developed in https://github.com/WordPress/wordpress-develop/pull/6726
Discussed in https://core.trac.wordpress.org/ticket/61348

Props jonsurrell.
See #61348.
Follow-up to [58304].


git-svn-id: https://develop.svn.wordpress.org/trunk@58365 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-08 12:10:42 +00:00
Dennis Snell
1626aacc5f HTML API: Fix three small type-related bugs.
This applies three fixes that appeared as part of
adding type annotations to the HTML API.

Developed in https://github.com/WordPress/wordpress-develop/pull/6754
Discussed in https://core.trac.wordpress.org/ticket/61399

Props jonsurrell.
See #61399.
Follow-up to [55203], [56274].


git-svn-id: https://develop.svn.wordpress.org/trunk@58364 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-08 11:10:58 +00:00
Dennis Snell
0cad031a5a HTML API: Return subclass from ::create_fragment
When the `WP_HTML_Processor` was introduced with its `::create_fragment()`
static creator method, that method has been returning a `new self(...)`.
Unfortunately, this means that subclasses cannot use that method since it
will return the `WP_HTML_Processor` instead of the subclass.

With this patch, the static creator method returns `new static(...)` to preserve
the intended behavior. A new test asserts this behavior for future changes.

Developed in https://github.com/WordPress/wordpress-develop/pull/6729
Discussed in https://core.trac.wordpress.org/ticket/61374

Props dmsnell, jonsurrell.
Follow-up to [56274].
Fixes #61374.


git-svn-id: https://develop.svn.wordpress.org/trunk@58363 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-08 10:55:55 +00:00
Peter Wilson
1ea82dcd26 Embeds: Remove SlideShare embed block variation.
The oEmbed endpoint for SlideShare is effectively deprecated and throws an error for the majority of slide-decks using the service.

Capitalize the name of the service in the deprecation notice in accordance with the wordmark.

Props peterwilsoncc, mukesh27, swissspidy, talldanwp, dd32.
Fixes #61349.



git-svn-id: https://develop.svn.wordpress.org/trunk@58362 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-07 23:13:52 +00:00
Weston Ruter
da1ad311c2 General: Fix array format for allowed HTML passed into wp_kses() for wp_trigger_error().
Kses requires an associative array of allowed HTML.

See #57686. Follow-up to [56707].

Props thelovekesh, westonruter.
Fixes #61318.


git-svn-id: https://develop.svn.wordpress.org/trunk@58361 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-07 16:48:42 +00:00