WordPress.org

Make WordPress Core

Changeset 45905


Ignore:
Timestamp:
08/28/2019 03:12:09 AM (3 months ago)
Author:
SergeyBiryukov
Message:

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

Props garrett-eclipse, ramiy, Clorith.
Fixes #47247.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r45904 r45905  
    124124            'label'       => __( 'Drop-ins' ),
    125125            'show_count'  => true,
    126             'description' => __( 'Drop-ins are single files that replace or enhance WordPress features in ways that are not possible for traditional plugins.' ),
     126            'description' => sprintf(
     127                /* translators: %s: wp-content directory name */
     128                __( '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.' ),
     129                '<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>'
     130            ),
    127131            'fields'      => array(),
    128132        );
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r45750 r45905  
    543543            echo '<p>' . sprintf(
    544544                /* translators: %s: wp-content directory name */
    545                 __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ),
     545                __( '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.' ),
    546546                '<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>'
    547547            ) . '</p>';
Note: See TracChangeset for help on using the changeset viewer.