Site Health: Merge two similar strings explaining what drop-in plugins are.

Props garrett-eclipse, ramiy, Clorith.
Fixes #47247.
Built from https://develop.svn.wordpress.org/trunk@45905


git-svn-id: http://core.svn.wordpress.org/trunk@45716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-08-28 03:13:55 +00:00
parent 6cad27efcd
commit 27a384caa4
3 changed files with 7 additions and 3 deletions

View File

@ -123,7 +123,11 @@ class WP_Debug_Data {
$info['wp-dropins'] = array( $info['wp-dropins'] = array(
'label' => __( 'Drop-ins' ), 'label' => __( 'Drop-ins' ),
'show_count' => true, 'show_count' => true,
'description' => __( 'Drop-ins are single files that replace or enhance WordPress features in ways that are not possible for traditional plugins.' ), 'description' => sprintf(
/* translators: %s: wp-content directory name */
__( 'Drop-ins are single files, found in the %s directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.' ),
'<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>'
),
'fields' => array(), 'fields' => array(),
); );

View File

@ -542,7 +542,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
} elseif ( 'top' === $which && 'dropins' === $status ) { } elseif ( 'top' === $which && 'dropins' === $status ) {
echo '<p>' . sprintf( echo '<p>' . sprintf(
/* translators: %s: wp-content directory name */ /* translators: %s: wp-content directory name */
__( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), __( 'Drop-ins are single files, found in the %s directory, that replace or enhance WordPress features in ways that are not possible for traditional plugins.' ),
'<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>' '<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>'
) . '</p>'; ) . '</p>';
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45904'; $wp_version = '5.3-alpha-45905';
/** /**
* 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.