Make WordPress Core

Changeset 58446


Ignore:
Timestamp:
06/20/2024 03:29:40 PM (6 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r58069 r58446  
    627627                    $incompatible_notice_message .= __( 'This plugin does not work with your version of WordPress.' );
    628628                    if ( current_user_can( 'update_core' ) ) {
    629                         $incompatible_notice_message .= printf(
     629                        $incompatible_notice_message .= sprintf(
    630630                            /* translators: %s: URL to WordPress Updates screen. */
    631631                            ' ' . __( '<a href="%s">Please update WordPress</a>.' ),
Note: See TracChangeset for help on using the changeset viewer.