Make WordPress Core

Ticket #55389: 55389.diff

File 55389.diff, 1.3 KB (added by sabbir1991, 4 years ago)

Created a patch

  • src/wp-admin/includes/plugin-install.php

    diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php
    index f2f02e0218..df3e75482b 100644
    a b function install_popular_tags( $args = array() ) { 
    267267 */
    268268function install_dashboard() {
    269269        ?>
    270         <p>
    271                 <?php
    272                 printf(
    273                         /* translators: %s: https://wordpress.org/plugins/ */
    274                         __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%s">WordPress Plugin Directory</a> or upload a plugin in .zip format by clicking the button at the top of this page.' ),
    275                         __( 'https://wordpress.org/plugins/' )
    276                 );
    277                 ?>
    278         </p>
    279270
    280271        <?php display_plugins_table(); ?>
    281272
    function display_plugins_table() { 
    410401                                'https://make.wordpress.org/core/handbook/about/release-cycle/features-as-plugins/'
    411402                        );
    412403                        break;
     404                case 'install_plugins_featured':
     405                        printf(
     406                                /* translators: %s: https://wordpress.org/plugins/ */
     407                                '<p>' . __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%s">WordPress Plugin Directory</a> or upload a plugin in .zip format by clicking the button at the top of this page.' ) . '</p>',
     408                                __( 'https://wordpress.org/plugins/' )
     409                        );
     410                        break;
    413411        }
    414412
    415413        ?>