Make WordPress Core

Changeset 42782


Ignore:
Timestamp:
03/05/2018 03:16:05 AM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Props denisco.
See #43472.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/index.php

    r42781 r42782  
    7979    $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>';
    8080}
    81 if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) {
    82     $help .= '<p>' . sprintf(
    83         /* translators: %s: WordPress Planet URL */
    84         __( '<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.' ),
    85         __( 'https://planet.wordpress.org/' )
    86     ) . '</p>';
    87 } else {
    88     $help .= '<p>' . sprintf(
    89         /* translators: %s: WordPress Planet URL */
    90         __( '<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>.' ),
    91         __( 'https://planet.wordpress.org/' )
    92     ) . '</p>';
    93 }
     81$help .= '<p>' . sprintf(
     82    /* translators: %s: WordPress Planet URL */
     83    __( '<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>.' ),
     84    __( 'https://planet.wordpress.org/' )
     85) . '</p>';
    9486if ( current_user_can( 'edit_theme_options' ) ) {
    9587    $help .= '<p>' . __( '<strong>Welcome</strong> &mdash; Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
Note: See TracChangeset for help on using the changeset viewer.