Make WordPress Core


Ignore:
Timestamp:
07/31/2025 10:47:24 PM (10 months ago)
Author:
audrasjb
Message:

Plugins: Move the Add Plugins screen description above the filter menu.

This changeset moves the Add Plugins screen general description above the filter menu. It also rephrases a bit the wording of this description.

Props Presskopp, audrasjb, dhruvang21, shailu25.
Fixes #63723.

File:
1 edited

Legend:

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

    r58873 r60528  
    400400            break;
    401401        case 'install_plugins_featured':
    402             printf(
    403                 /* translators: %s: https://wordpress.org/plugins/ */
    404                 '<p>' . __( 'Plugins extend and expand the functionality of WordPress. You may install plugins in the <a href="%s">WordPress Plugin Directory</a> right from here, or upload a plugin in .zip format by clicking the button at the top of this page.' ) . '</p>',
    405                 __( 'https://wordpress.org/plugins/' )
    406             );
    407402            break;
    408403        case 'install_plugins_recommended':
     
    414409            }
    415410            break;
     411    }
     412    if ( isset( $_GET['tab'] ) && 'featured' === $_GET['tab'] ) {
     413        echo '<br />';
    416414    }
    417415    ?>
Note: See TracChangeset for help on using the changeset viewer.