From 24f13abf63396035bd1b4d6eb0b2ecc47f38778f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 5 Mar 2018 03:17:31 +0000 Subject: [PATCH] Help/About: Remove popular plugins feed reference from help text on Dashboard 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 --- wp-admin/index.php | 18 +++++------------- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index c458ff2fb0..58f2bf21df 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -78,19 +78,11 @@ if ( current_user_can( 'edit_posts' ) ) { if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) { $help .= '

' . __( "Quick Draft — 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." ) . '

'; } -if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) { - $help .= '

' . sprintf( - /* translators: %s: WordPress Planet URL */ - __( 'WordPress Events and News — Upcoming events near you and the latest news from the official WordPress project, the WordPress Planet, and popular plugins.' ), - __( 'https://planet.wordpress.org/' ) - ) . '

'; -} else { - $help .= '

' . sprintf( - /* translators: %s: WordPress Planet URL */ - __( 'WordPress Events and News — Upcoming events near you and the latest news from the official WordPress project and the WordPress Planet.' ), - __( 'https://planet.wordpress.org/' ) - ) . '

'; -} +$help .= '

' . sprintf( + /* translators: %s: WordPress Planet URL */ + __( 'WordPress Events and News — Upcoming events near you as well as the latest news from the official WordPress project and the WordPress Planet.' ), + __( 'https://planet.wordpress.org/' ) +) . '

'; if ( current_user_can( 'edit_theme_options' ) ) { $help .= '

' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 621ed97081..31deb45819 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.