Ticket #37253: 37253.patch
File 37253.patch, 3.4 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/deprecated.php
842 842 * @see WP_Screen::render_screen_meta() 843 843 */ 844 844 function screen_meta( $screen ) { 845 _deprecated_function( __FUNCTION__, '3.3', 'WP_Screen::render_screen_meta()' ); 845 846 $current_screen = get_current_screen(); 846 847 $current_screen->render_screen_meta(); 847 848 } … … 1215 1216 * @see get_screen_icon() 1216 1217 */ 1217 1218 function screen_icon() { 1219 _deprecated_function( __FUNCTION__, '3.8' ); 1218 1220 echo get_screen_icon(); 1219 1221 } 1220 1222 … … 1226 1228 * @return string 1227 1229 */ 1228 1230 function get_screen_icon() { 1231 _deprecated_function( __FUNCTION__, '3.8' ); 1229 1232 return '<!-- Screen icons are no longer used as of WordPress 3.8. -->'; 1230 1233 } 1231 1234 … … 1235 1238 * @since 2.5.0 1236 1239 * @deprecated 3.8.0 1237 1240 */ 1238 function wp_dashboard_incoming_links_output() {} 1241 function wp_dashboard_incoming_links_output() { 1242 _deprecated_function( __FUNCTION__, '3.8' ); 1243 } 1239 1244 1240 1245 /** 1241 1246 * Deprecated dashboard secondary output. … … 1242 1247 * 1243 1248 * @deprecated 3.8.0 1244 1249 */ 1245 function wp_dashboard_secondary_output() {} 1250 function wp_dashboard_secondary_output() { 1251 _deprecated_function( __FUNCTION__, '3.8' ); 1252 } 1246 1253 1247 1254 /** 1248 1255 * Deprecated dashboard widget controls. … … 1250 1257 * @since 2.7.0 1251 1258 * @deprecated 3.8.0 1252 1259 */ 1253 function wp_dashboard_incoming_links() {} 1260 function wp_dashboard_incoming_links() { 1261 _deprecated_function( __FUNCTION__, '3.8' ); 1262 } 1254 1263 1255 1264 /** 1256 1265 * Deprecated dashboard incoming links control. … … 1257 1266 * 1258 1267 * @deprecated 3.8.0 1259 1268 */ 1260 function wp_dashboard_incoming_links_control() {} 1269 function wp_dashboard_incoming_links_control() { 1270 _deprecated_function( __FUNCTION__, '3.8' ); 1271 } 1261 1272 1262 1273 /** 1263 1274 * Deprecated dashboard plugins control. … … 1264 1275 * 1265 1276 * @deprecated 3.8.0 1266 1277 */ 1267 function wp_dashboard_plugins() {} 1278 function wp_dashboard_plugins() { 1279 _deprecated_function( __FUNCTION__, '3.8' ); 1280 } 1268 1281 1269 1282 /** 1270 1283 * Deprecated dashboard primary control. … … 1271 1284 * 1272 1285 * @deprecated 3.8.0 1273 1286 */ 1274 function wp_dashboard_primary_control() {} 1287 function wp_dashboard_primary_control() { 1288 _deprecated_function( __FUNCTION__, '3.8' ); 1289 } 1275 1290 1276 1291 /** 1277 1292 * Deprecated dashboard recent comments control. … … 1278 1293 * 1279 1294 * @deprecated 3.8.0 1280 1295 */ 1281 function wp_dashboard_recent_comments_control() {} 1296 function wp_dashboard_recent_comments_control() { 1297 _deprecated_function( __FUNCTION__, '3.8' ); 1298 } 1282 1299 1283 1300 /** 1284 1301 * Deprecated dashboard secondary section. … … 1285 1302 * 1286 1303 * @deprecated 3.8.0 1287 1304 */ 1288 function wp_dashboard_secondary() {} 1305 function wp_dashboard_secondary() { 1306 _deprecated_function( __FUNCTION__, '3.8' ); 1307 } 1289 1308 1290 1309 /** 1291 1310 * Deprecated dashboard secondary control. … … 1292 1311 * 1293 1312 * @deprecated 3.8.0 1294 1313 */ 1295 function wp_dashboard_secondary_control() {} 1314 function wp_dashboard_secondary_control() { 1315 _deprecated_function( __FUNCTION__, '3.8' ); 1316 } 1296 1317 1297 1318 /** 1298 1319 * This was once used to move child posts to a new parent. -
wp-includes/deprecated.php
3391 3391 * @return int Number of topics. 3392 3392 */ 3393 3393 function default_topic_count_text( $count ) { 3394 _deprecated_function( __FUNCTION__, '3.9' ); 3394 3395 return $count; 3395 3396 } 3396 3397