Make WordPress Core


Ignore:
Timestamp:
05/22/2013 09:01:57 PM (13 years ago)
Author:
nacin
Message:

Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389.

File:
1 edited

Legend:

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

    r23563 r24320  
    8282function install_dashboard() {
    8383        ?>
    84         <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="http://wordpress.org/extend/plugins/">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%s">this page</a>.' ), self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p>
     84        <p><?php printf( __( '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 via <a href="%s">this page</a>.' ), 'http://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p>
    8585
    8686        <h4><?php _e('Search') ?></h4>
     
    359359                        <li><strong><?php _e('Downloaded:') ?></strong> <?php printf(_n('%s time', '%s times', $api->downloaded), number_format_i18n($api->downloaded)) ?></li>
    360360<?php endif; if ( ! empty($api->slug) && empty($api->external) ) : ?>
    361                         <li><a target="_blank" href="http://wordpress.org/extend/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page &#187;') ?></a></li>
     361                        <li><a target="_blank" href="http://wordpress.org/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page &#187;') ?></a></li>
    362362<?php endif; if ( ! empty($api->homepage) ) : ?>
    363363                        <li><a target="_blank" href="<?php echo $api->homepage ?>"><?php _e('Plugin Homepage &#187;') ?></a></li>
     
    387387                                $title = ucwords( str_replace( '_', ' ', $section_name ) );
    388388
    389                         $content = links_add_base_url($content, 'http://wordpress.org/extend/plugins/' . $api->slug . '/');
     389                        $content = links_add_base_url($content, 'http://wordpress.org/plugins/' . $api->slug . '/');
    390390                        $content = links_add_target($content, '_blank');
    391391
Note: See TracChangeset for help on using the changeset viewer.