Make WordPress Core

Ticket #35938: wordpress_45_productnames_org.diff

File wordpress_45_productnames_org.diff, 3.7 KB (added by mpol, 9 years ago)

set name to WordPress.org Plugin Directory

  • wp-admin/includes/class-wp-plugins-list-table.php

    diff -uNr wordpress/wp-admin/includes/class-wp-plugins-list-table.php wordpress-productnames.org/wp-admin/includes/class-wp-plugins-list-table.php
    old new  
    322322
    323323                        // We assume that somebody who can install plugins in multisite is experienced enough to not need this helper link.
    324324                        if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) {
    325                                 echo ' <a href="' . esc_url( admin_url( 'plugin-install.php?tab=search&s=' . urlencode( $s ) ) ) . '">' . __( 'Search for plugins in the WordPress Plugin Directory.' ) . '</a>';
     325                                echo ' <a href="' . esc_url( admin_url( 'plugin-install.php?tab=search&s=' . urlencode( $s ) ) ) . '">' . __( 'Search for plugins in the WordPress.org Plugin Directory.' ) . '</a>';
    326326                        }
    327327                } elseif ( ! empty( $plugins['all'] ) )
    328328                        _e( 'No plugins found.' );
  • wp-admin/includes/plugin-install.php

    diff -uNr wordpress/wp-admin/includes/plugin-install.php wordpress-productnames.org/wp-admin/includes/plugin-install.php
    old new  
    210210 */
    211211function install_dashboard() {
    212212        ?>
    213         <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p>
     213        <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress.org Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p>
    214214
    215215        <?php display_plugins_table(); ?>
    216216
  • wp-admin/plugins.php

    diff -uNr wordpress/wp-admin/plugins.php wordpress-productnames.org/wp-admin/plugins.php
    old new  
    372372'content'       =>
    373373        '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>' .
    374374        '<p>' . sprintf(
    375                 /* translators: 1: Plugin Browser/Installer URL, 2: WordPress Plugin Directory URL 3: local plugin directory */
    376                 __( 'You can find additional plugins for your site by using the <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="%2$s" target="_blank">WordPress Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your %3$s directory. Once a plugin has been installed, you can activate it here.' ),
     375                /* translators: 1: Plugin Browser/Installer URL, 2: WordPress.org Plugin Directory URL 3: local plugin directory */
     376                __( 'You can find additional plugins for your site by using the <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="%2$s" target="_blank">WordPress.org Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your %3$s directory. Once a plugin has been installed, you can activate it here.' ),
    377377                'plugin-install.php',
    378378                'https://wordpress.org/plugins/',
    379379                '<code>/wp-content/plugins</code>'