Changeset 40028 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 01/29/2017 11:49:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r39936 r40028 1208 1208 1209 1209 if ( 'misc' == $page ) { 1210 _deprecated_argument( __FUNCTION__, '3.0.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'misc' ) ); 1210 _deprecated_argument( __FUNCTION__, '3.0.0', 1211 /* translators: %s: misc */ 1212 sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 1213 'misc' 1214 ) 1215 ); 1211 1216 $page = 'general'; 1212 1217 } 1213 1218 1214 1219 if ( 'privacy' == $page ) { 1215 _deprecated_argument( __FUNCTION__, '3.5.0', sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 'privacy' ) ); 1220 _deprecated_argument( __FUNCTION__, '3.5.0', 1221 /* translators: %s: privacy */ 1222 sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 1223 'privacy' 1224 ) 1225 ); 1216 1226 $page = 'reading'; 1217 1227 } … … 1259 1269 1260 1270 if ( 'misc' == $page ) { 1261 _deprecated_argument( __FUNCTION__, '3.0.0', __( 'The miscellaneous options group has been removed. Use another settings group.' ) ); 1271 _deprecated_argument( __FUNCTION__, '3.0.0', 1272 /* translators: %s: misc */ 1273 sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 1274 'misc' 1275 ) 1276 ); 1262 1277 $page = 'general'; 1263 1278 } 1264 1279 1265 1280 if ( 'privacy' == $page ) { 1266 _deprecated_argument( __FUNCTION__, '3.5.0', __( 'The privacy options group has been removed. Use another settings group.' ) ); 1281 _deprecated_argument( __FUNCTION__, '3.5.0', 1282 /* translators: %s: privacy */ 1283 sprintf( __( 'The "%s" options group has been removed. Use another settings group.' ), 1284 'privacy' 1285 ) 1286 ); 1267 1287 $page = 'reading'; 1268 1288 }
Note: See TracChangeset
for help on using the changeset viewer.