Changeset 37985 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 07/06/2016 12:39:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r37580 r37985 87 87 if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) { 88 88 /* translators: 1: Site Wide Only: true, 2: Network: true */ 89 _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>' ) );89 _deprecated_argument( __FUNCTION__, '3.0.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), '<code>Site Wide Only: true</code>', '<code>Network: true</code>' ) ); 90 90 $plugin_data['Network'] = $plugin_data['_sitewide']; 91 91 } … … 1778 1778 1779 1779 if ( 'misc' == $option_group ) { 1780 _deprecated_argument( __FUNCTION__, '3.0 ', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );1780 _deprecated_argument( __FUNCTION__, '3.0.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) ); 1781 1781 $option_group = 'general'; 1782 1782 } 1783 1783 1784 1784 if ( 'privacy' == $option_group ) { 1785 _deprecated_argument( __FUNCTION__, '3.5 ', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );1785 _deprecated_argument( __FUNCTION__, '3.5.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) ); 1786 1786 $option_group = 'reading'; 1787 1787 } … … 1807 1807 1808 1808 if ( 'misc' == $option_group ) { 1809 _deprecated_argument( __FUNCTION__, '3.0 ', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) );1809 _deprecated_argument( __FUNCTION__, '3.0.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) ); 1810 1810 $option_group = 'general'; 1811 1811 } 1812 1812 1813 1813 if ( 'privacy' == $option_group ) { 1814 _deprecated_argument( __FUNCTION__, '3.5 ', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) );1814 _deprecated_argument( __FUNCTION__, '3.5.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) ); 1815 1815 $option_group = 'reading'; 1816 1816 }
Note: See TracChangeset
for help on using the changeset viewer.