WordPress.org

Make WordPress Core

Ticket #47247: 47247.2.diff

File 47247.2.diff, 1.7 KB (added by garrett-eclipse, 3 months ago)

Updated to add commas for better reading.

  • src/wp-admin/includes/class-wp-debug-data.php

     
    119119                $info['wp-dropins'] = array(
    120120                        'label'       => __( 'Drop-ins' ),
    121121                        'show_count'  => true,
    122                         'description' => __( 'Drop-ins are single files that replace or enhance WordPress features in ways that are not possible for traditional plugins.' ),
     122                        'description' => sprintf(
     123                                /* translators: %s: wp-content directory name */
     124                                __( '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.' ),
     125                                '<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>'
     126                        ),
    123127                        'fields'      => array(),
    124128                );
    125129
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    542542                } elseif ( 'top' === $which && 'dropins' === $status ) {
    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>';
    548548                }