WordPress.org

Make WordPress Core

Changeset 35632


Ignore:
Timestamp:
11/12/2015 06:20:42 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Remove <code> tags from translatable string in wp-includes/load.php.

Add translator comment.

Props ramiy.
Fixes #34621.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r34896 r35632  
    398398    if ( is_wp_error( $prefix ) ) {
    399399        wp_load_translations_early();
    400         wp_die( __( '<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.' ) );
     400        wp_die(
     401            /* translators: 1: $table_prefix 2: wp-config.php */
     402            sprintf( __( '<strong>ERROR</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ),
     403                '<code>$table_prefix</code>',
     404                '<code>wp-config.php</code>'
     405            )
     406        );
    401407    }
    402408}
Note: See TracChangeset for help on using the changeset viewer.