diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php index 43dcc6ea5a..ea64b88fb6 100644 --- a/src/wp-admin/includes/class-wp-plugins-list-table.php +++ b/src/wp-admin/includes/class-wp-plugins-list-table.php @@ -448,9 +448,15 @@ class WP_Plugins_List_Table extends WP_List_Table { if ( 'recently_activated' == $status ) { submit_button( __( 'Clear List' ), 'button', 'clear-recent-list', false ); } elseif ( 'top' === $which && 'mustuse' === $status ) { - echo '

' . sprintf( __( 'Files in the %s directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '

'; + /* translators: %s: mu-plugins directory name */ + echo '

' . sprintf( __( 'Files in the %s directory are executed automatically.' ), + '' . str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) . '' + ) . '

'; } elseif ( 'top' === $which && 'dropins' === $status ) { - echo '

' . sprintf( __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), str_replace( ABSPATH, '', WP_CONTENT_DIR ) ) . '

'; + /* translators: %s: wp-content directory name */ + echo '

' . sprintf( __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), + '' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '' + ) . '

'; } echo ''; } @@ -522,7 +528,11 @@ class WP_Plugins_List_Table extends WP_List_Table { $description = '

' . $dropins[ $plugin_file ][0] . '

'; } else { $is_active = false; - $description = '

' . $dropins[ $plugin_file ][0] . ' ' . __('Inactive:') . ' ' . sprintf( __( 'Requires %s in wp-config.php.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '

'; + $description = '

' . $dropins[ $plugin_file ][0] . ' ' . __( 'Inactive:' ) . ' ' . + /* translators: %s: drop-in constant name */ + sprintf( __( 'Requires %s in wp-config.php.' ), + "define('" . $dropins[ $plugin_file ][1] . "', true);" + ) . '

'; } if ( $plugin_data['Description'] ) $description .= '

' . $plugin_data['Description'] . '

';