From cc5e86207badb3a2a1338f00effb2581829989d4 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 4 Dec 2015 16:12:51 +0000 Subject: [PATCH] About page: Fix some minor string errors and simplify URL-building for the plugin install link for capable users. Props ocean90, DrewAPicture See #34663. git-svn-id: https://develop.svn.wordpress.org/trunk@35765 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 8bda1e58cd..7bf4ad4bda 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -109,16 +109,21 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

WordPress REST API'; + $url_args = array( + 'tab' => 'plugin-information', + 'plugin' => 'rest-api', + 'TB_iframe' => true, + 'width' => 600, + 'height' => 550 + ); + + $plugin_link = 'WordPress REST API'; } else { $plugin_link = 'WordPress REST API'; } /* translators: WordPress REST API plugin link */ - printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API, which also targets inclusion of core endpoints in an upcoming release. To get a sneak peek of the core endpoints, and for more on extending the REST API, check out the official %s plugin.' ), - $plugin_link - ); + printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API, which also targets inclusion of core endpoints in an upcoming release. To get a sneak peek of the core endpoints, and for more on extending the REST API, check out the official %s plugin.' ), $plugin_link ); ?>

@@ -129,7 +134,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

add_term_meta()', 'get_term_meta()', 'update_term_meta()' @@ -140,7 +145,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

WP_Comment_Query' ); + printf( ( 'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.' ), 'WP_Comment_Query' ); ?>