Make WordPress Core

Changeset 34314


Ignore:
Timestamp:
09/18/2015 08:28:23 PM (9 years ago)
Author:
ocean90
Message:

Don't use <code> in translation strings in wp-admin/includes/plugin.php.

Props ramiy.
Fixes #31856.

File:
1 edited

Legend:

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

    r34018 r34314  
    9090    // Site Wide Only is the old header for Network
    9191    if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) {
    92         _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The <code>%1$s</code> plugin header is deprecated. Use <code>%2$s</code> instead.' ), 'Site Wide Only: true', 'Network: true' ) );
     92        /* translators: 1: Site Wide Only: true, 2: Network: true */
     93        _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), '<code>Site Wide Only: true</code>', '<code>Network: true</code>' ) );
    9394        $plugin_data['Network'] = $plugin_data['_sitewide'];
    9495    }
Note: See TracChangeset for help on using the changeset viewer.