From bcc8cdf112ac5cfb5e9c87c4f670e2f635b401ec Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Fri, 2 Dec 2016 22:43:52 +0000 Subject: [PATCH] About page: Add strings for 4.7 and make available for translation. It doesn't look very pretty; design changes still to come. merges [39420], [39432], [39433], [39442], [39443] to the 4.7 branch. props helen, michaelarestad, samuelsidler, jbpaul17, jorbin, nacin, melchoyce, ocean90, ramiy. see #38616. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39445 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 170 +++++++++++++++++++------------------- src/wp-admin/credits.php | 2 +- src/wp-admin/freedoms.php | 2 +- 3 files changed, 86 insertions(+), 88 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index b86e09e44c..1876a942fd 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -49,7 +49,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-

+

-
+
-
-

-

- 'https://s.w.org/images/core/4.6/streamlined-updates.mp4', - 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', - 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', - 'loop' => true, - 'autoplay' => true, - 'width' => 1050, - 'height' => 630, - 'class' => 'wp-video-shortcode feature-video', - ) ); - remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' ); - } else { - echo ''; - } - ?> +
+

+

+


-
-

-

- +
+

+

+ +

+

+
+ +
+
+

+

+
+
+

+

+
+
+ +
+
+

+

+
+
+

+

+

-

- -

-

+

+

- -

-

+

+


+
+

+

+

Check out the REST API reference.' ), + 'https://developer.wordpress.org/rest-api/' + ); + ?>

+
+ +
+
-

+

-

+

+

+
+
+

Resource hints help browsers decide which resources to fetch and preprocess. WordPress 4.6 adds them automatically for your styles and scripts making your site even faster.' ), - 'https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/' + /* translators: %s: https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/ */ + __( 'WordPress 4.7 includes new functions, hooks, and behavior for theme developers.' ), + 'https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/' ); ?>

-

-

-
-
-

WP_Term_Query', 'WP_Post_Type' ); - ?>

-

WP_Term_Query', - 'WP_Post_Type' - ); - ?>

+

+

-

+

WP_Hook

has been expanded to support types, descriptions, and REST API visibility.' ), - 'https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/' + /* translators: %s: https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ */ + __( 'The code that lies beneath actions and filters has been overhauled and modernized, fixing bugs along the way.' ), + 'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/' ); ?>

-

-

WordPress.org’s community of translators.' ); ?>

+

+

has been enhanced to include type, description, and REST API visibility.' ), + 'register_setting()', + 'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/' + ); + ?>

-

-

+

+

-
-
-

-

API for enforcing validation constraints. Likewise, customizer controls now support notifications, which are used to display validation errors instead of failing silently.' ); ?>

-
-
-

-

WP_Site_Query', - 'WP_Network_Query' - ); - ?>

-
-

diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 6c2ff78015..5938e9513c 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -20,7 +20,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-

+

diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index f8aa8b4941..2aa9537210 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -19,7 +19,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-

+