mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Plugins: Remove extra paragraph from plugin row dependency notice.
In `WP_Plugins_List_Table::add_dependencies_to_dependent_plugin_row()`, a `sprintf()` call previously wrapped the `%2$s` placeholder in paragraph tags. [57769] changed the placeholder's value to use `wp_get_admin_notice()`, which returns a paragraph-wrapped notice by default. As a result, the previous paragraph tags produced an extra, empty paragraph. This removes the paragraph tags around the `%2$s` placeholder. Follow-up to [57545], [57714], [57769]. Props mukesh27. Fixes #61546. Built from https://develop.svn.wordpress.org/trunk@58616 git-svn-id: http://core.svn.wordpress.org/trunk@58049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
31e6e2ce05
commit
bc86b48d56
@ -1594,7 +1594,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
printf(
|
||||
'<div class="requires"><p>%1$s</p><p>%2$s</p></div>',
|
||||
'<div class="requires"><p>%1$s</p>%2$s</div>',
|
||||
$requires,
|
||||
$notice
|
||||
);
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.7-alpha-58615';
|
||||
$wp_version = '6.7-alpha-58616';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user