From 27a384caa4020d14ec9384da806f2f12df2feee9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Aug 2019 03:13:55 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-debug-data.php | 6 +++++- wp-admin/includes/class-wp-plugins-list-table.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index f3ecdca9f2..2f6a788b2f 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -123,7 +123,11 @@ class WP_Debug_Data { $info['wp-dropins'] = array( 'label' => __( 'Drop-ins' ), '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.' ), + '' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '' + ), 'fields' => array(), ); diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index 92d1a945a1..fa4f6e21dd 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -542,7 +542,7 @@ class WP_Plugins_List_Table extends WP_List_Table { } elseif ( 'top' === $which && 'dropins' === $status ) { echo '

' . sprintf( /* 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.' ), '' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '' ) . '

'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index f75c25956c..383581554b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.