Skip to content

Commit

Permalink
Help/About: Remove popular plugins feed reference from help text on D…
Browse files Browse the repository at this point in the history
…ashboard screen, no longer relevant since [40607].

Props denisco.
See #43472.
Built from https://develop.svn.wordpress.org/trunk@42782


git-svn-id: http://core.svn.wordpress.org/trunk@42612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Mar 5, 2018
1 parent 31a3083 commit 24f13ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 deletions wp-admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,11 @@
if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) {
$help .= '<p>' . __( "<strong>Quick Draft</strong> &mdash; Allows you to create a new post and save it as a draft. Also displays links to the 3 most recent draft posts you've started." ) . '</p>';
}
if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) {
$help .= '<p>' . sprintf(
/* translators: %s: WordPress Planet URL */
__( '<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/' )
) . '</p>';
} else {
$help .= '<p>' . sprintf(
/* translators: %s: WordPress Planet URL */
__( '<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/' )
) . '</p>';
}
$help .= '<p>' . sprintf(
/* translators: %s: WordPress Planet URL */
__( '<strong>WordPress Events and News</strong> &mdash; Upcoming events near you as well as the latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ),
__( 'https://planet.wordpress.org/' )
) . '</p>';
if ( current_user_can( 'edit_theme_options' ) ) {
$help .= '<p>' . __( '<strong>Welcome</strong> &mdash; Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42781';
$wp_version = '5.0-alpha-42782';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 24f13ab

Please sign in to comment.