Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389.
git-svn-id: http://core.svn.wordpress.org/trunk@24320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -81,7 +81,7 @@ function install_popular_tags( $args = array() ) {
|
||||
|
||||
function install_dashboard() {
|
||||
?>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<h4><?php _e('Search') ?></h4>
|
||||
<?php install_search_form( false ); ?>
|
||||
@@ -358,7 +358,7 @@ function install_plugin_information() {
|
||||
<?php endif; if ( ! empty($api->downloaded) ) : ?>
|
||||
<li><strong><?php _e('Downloaded:') ?></strong> <?php printf(_n('%s time', '%s times', $api->downloaded), number_format_i18n($api->downloaded)) ?></li>
|
||||
<?php endif; if ( ! empty($api->slug) && empty($api->external) ) : ?>
|
||||
<li><a target="_blank" href="http://wordpress.org/extend/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page »') ?></a></li>
|
||||
<li><a target="_blank" href="http://wordpress.org/plugins/<?php echo $api->slug ?>/"><?php _e('WordPress.org Plugin Page »') ?></a></li>
|
||||
<?php endif; if ( ! empty($api->homepage) ) : ?>
|
||||
<li><a target="_blank" href="<?php echo $api->homepage ?>"><?php _e('Plugin Homepage »') ?></a></li>
|
||||
<?php endif; ?>
|
||||
@@ -386,7 +386,7 @@ function install_plugin_information() {
|
||||
else
|
||||
$title = ucwords( str_replace( '_', ' ', $section_name ) );
|
||||
|
||||
$content = links_add_base_url($content, 'http://wordpress.org/extend/plugins/' . $api->slug . '/');
|
||||
$content = links_add_base_url($content, 'http://wordpress.org/plugins/' . $api->slug . '/');
|
||||
$content = links_add_target($content, '_blank');
|
||||
|
||||
$san_section = esc_attr( $section_name );
|
||||
|
||||
Reference in New Issue
Block a user