Help/About: Remove popular plugins feed reference from help text on Dashboard screen, no longer relevant since [40607].

Props denisco.
See #43472.

git-svn-id: https://develop.svn.wordpress.org/trunk@42782 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-03-05 03:16:05 +00:00
parent 366e736785
commit 3ba6cf2894
1 changed files with 5 additions and 13 deletions

View File

@ -78,19 +78,11 @@ if ( current_user_can( 'edit_posts' ) ) {
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>';
}