wp core update 6.6
This commit is contained in:
@@ -92,7 +92,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
|
||||
global $tabs, $tab, $paged, $type, $term;
|
||||
|
||||
wp_reset_vars( array( 'tab' ) );
|
||||
$tab = ! empty( $_REQUEST['tab'] ) ? sanitize_text_field( $_REQUEST['tab'] ) : '';
|
||||
|
||||
$paged = $this->get_pagenum();
|
||||
|
||||
@@ -626,7 +626,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
} elseif ( ! $compatible_wp ) {
|
||||
$incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' );
|
||||
if ( current_user_can( 'update_core' ) ) {
|
||||
$incompatible_notice_message .= printf(
|
||||
$incompatible_notice_message .= sprintf(
|
||||
/* translators: %s: URL to WordPress Updates screen. */
|
||||
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
|
||||
self_admin_url( 'update-core.php' )
|
||||
|
||||
Reference in New Issue
Block a user