Plugins: Correct plugin card layout when incompatible plugin message is displayed.
This replaces an erroneous `printf()` call with `sprintf()` that was missed when updating this fragment to use `wp_admin_notice()`. Follow-up to [56571]. Props wojtekn, sabernhardt, rajinsharwar. Fixes #61465. Built from https://develop.svn.wordpress.org/trunk@58446 git-svn-id: http://core.svn.wordpress.org/trunk@57895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43b4079e2b
commit
f4989bdf32
|
@ -626,7 +626,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||||
} elseif ( ! $compatible_wp ) {
|
} elseif ( ! $compatible_wp ) {
|
||||||
$incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' );
|
$incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' );
|
||||||
if ( current_user_can( 'update_core' ) ) {
|
if ( current_user_can( 'update_core' ) ) {
|
||||||
$incompatible_notice_message .= printf(
|
$incompatible_notice_message .= sprintf(
|
||||||
/* translators: %s: URL to WordPress Updates screen. */
|
/* translators: %s: URL to WordPress Updates screen. */
|
||||||
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
|
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
|
||||||
self_admin_url( 'update-core.php' )
|
self_admin_url( 'update-core.php' )
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-beta3-58444';
|
$wp_version = '6.6-beta3-58446';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue