Make WordPress Core


Ignore:
Timestamp:
09/18/2015 06:17:26 PM (11 years ago)
Author:
wonderboymusic
Message:

Network Setup: don't use <code> in translation strings in wp-admin/network files.

Props ramiy.
Fixes #31840.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network.php

    r34023 r34292  
    3939
    4040if ( ! network_domain_check() && ( ! defined( 'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) ) {
    41     wp_die( __( 'You must define the <code>WP_ALLOW_MULTISITE</code> constant as true in your wp-config.php file to allow creation of a Network.' ) );
     41    wp_die(
     42        printf(
     43            /* translators: 1: WP_ALLOW_MULTISITE 2: wp-config.php */
     44            __( 'You must define the %1$s constant as true in your %2$s file to allow creation of a Network.' ),
     45            '<code>WP_ALLOW_MULTISITE</code>',
     46            '<code>wp-config.php</code>'
     47        )
     48    );
    4249}
    4350
Note: See TracChangeset for help on using the changeset viewer.