Changeset 34314
- Timestamp:
- 09/18/2015 08:28:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r34018 r34314 90 90 // Site Wide Only is the old header for Network 91 91 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>' ) ); 93 94 $plugin_data['Network'] = $plugin_data['_sitewide']; 94 95 }
Note: See TracChangeset
for help on using the changeset viewer.