Help/About: Update "WordPress News" widget references in help text and inline documentation.

Props monikarao, denisco.
Fixes #43400, #43472.
Built from https://develop.svn.wordpress.org/trunk@42781


git-svn-id: http://core.svn.wordpress.org/trunk@42611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-03-05 03:04:31 +00:00
parent 5596017878
commit 31a3083c28
3 changed files with 12 additions and 12 deletions

View File

@ -1305,7 +1305,7 @@ function wp_print_community_events_templates() {
} }
/** /**
* WordPress News dashboard widget. * 'WordPress Events and News' dashboard widget.
* *
* @since 2.7.0 * @since 2.7.0
* @since 4.8.0 Removed popular plugins feed. * @since 4.8.0 Removed popular plugins feed.
@ -1315,7 +1315,7 @@ function wp_dashboard_primary() {
'news' => array( 'news' => array(
/** /**
* Filters the primary link URL for the 'WordPress News' dashboard widget. * Filters the primary link URL for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.5.0 * @since 2.5.0
* *
@ -1324,7 +1324,7 @@ function wp_dashboard_primary() {
'link' => apply_filters( 'dashboard_primary_link', __( 'https://wordpress.org/news/' ) ), 'link' => apply_filters( 'dashboard_primary_link', __( 'https://wordpress.org/news/' ) ),
/** /**
* Filters the primary feed URL for the 'WordPress News' dashboard widget. * Filters the primary feed URL for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -1333,7 +1333,7 @@ function wp_dashboard_primary() {
'url' => apply_filters( 'dashboard_primary_feed', __( 'https://wordpress.org/news/feed/' ) ), 'url' => apply_filters( 'dashboard_primary_feed', __( 'https://wordpress.org/news/feed/' ) ),
/** /**
* Filters the primary link title for the 'WordPress News' dashboard widget. * Filters the primary link title for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -1348,7 +1348,7 @@ function wp_dashboard_primary() {
'planet' => array( 'planet' => array(
/** /**
* Filters the secondary link URL for the 'WordPress News' dashboard widget. * Filters the secondary link URL for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -1357,7 +1357,7 @@ function wp_dashboard_primary() {
'link' => apply_filters( 'dashboard_secondary_link', __( 'https://planet.wordpress.org/' ) ), 'link' => apply_filters( 'dashboard_secondary_link', __( 'https://planet.wordpress.org/' ) ),
/** /**
* Filters the secondary feed URL for the 'WordPress News' dashboard widget. * Filters the secondary feed URL for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -1366,7 +1366,7 @@ function wp_dashboard_primary() {
'url' => apply_filters( 'dashboard_secondary_feed', __( 'https://planet.wordpress.org/feed/' ) ), 'url' => apply_filters( 'dashboard_secondary_feed', __( 'https://planet.wordpress.org/feed/' ) ),
/** /**
* Filters the secondary link title for the 'WordPress News' dashboard widget. * Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -1375,7 +1375,7 @@ function wp_dashboard_primary() {
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ), 'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),
/** /**
* Filters the number of secondary link items for the 'WordPress News' dashboard widget. * Filters the number of secondary link items for the 'WordPress Events and News' dashboard widget.
* *
* @since 4.4.0 * @since 4.4.0
* *
@ -1392,7 +1392,7 @@ function wp_dashboard_primary() {
} }
/** /**
* Display the WordPress news feeds. * Display the WordPress events and news feeds.
* *
* @since 3.8.0 * @since 3.8.0
* @since 4.8.0 Removed popular plugins feed. * @since 4.8.0 Removed popular plugins feed.

View File

@ -81,13 +81,13 @@ if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) {
if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) { if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) {
$help .= '<p>' . sprintf( $help .= '<p>' . sprintf(
/* translators: %s: WordPress Planet URL */ /* translators: %s: WordPress Planet URL */
__( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project, the <a href="%s">WordPress Planet</a>, and popular plugins.' ), __( '<strong>WordPress Events and News</strong> &mdash; Upcoming events near you and the latest news from the official WordPress project, the <a href="%s">WordPress Planet</a>, and popular plugins.' ),
__( 'https://planet.wordpress.org/' ) __( 'https://planet.wordpress.org/' )
) . '</p>'; ) . '</p>';
} else { } else {
$help .= '<p>' . sprintf( $help .= '<p>' . sprintf(
/* translators: %s: WordPress Planet URL */ /* translators: %s: WordPress Planet URL */
__( '<strong>WordPress News</strong> &mdash; Latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ), __( '<strong>WordPress Events and News</strong> &mdash; Upcoming events near you and the latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ),
__( 'https://planet.wordpress.org/' ) __( 'https://planet.wordpress.org/' )
) . '</p>'; ) . '</p>';
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42780'; $wp_version = '5.0-alpha-42781';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.