WordPress.org

Make WordPress Core

Ticket #37253: 37253.patch

File 37253.patch, 3.4 KB (added by ramiy, 5 years ago)
  • wp-admin/includes/deprecated.php

     
    842842 * @see WP_Screen::render_screen_meta()
    843843 */
    844844function screen_meta( $screen ) {
     845        _deprecated_function( __FUNCTION__, '3.3', 'WP_Screen::render_screen_meta()' );
    845846        $current_screen = get_current_screen();
    846847        $current_screen->render_screen_meta();
    847848}
     
    12151216 * @see get_screen_icon()
    12161217 */
    12171218function screen_icon() {
     1219        _deprecated_function( __FUNCTION__, '3.8' );
    12181220        echo get_screen_icon();
    12191221}
    12201222
     
    12261228 * @return string
    12271229 */
    12281230function get_screen_icon() {
     1231        _deprecated_function( __FUNCTION__, '3.8' );
    12291232        return '<!-- Screen icons are no longer used as of WordPress 3.8. -->';
    12301233}
    12311234
     
    12351238 * @since 2.5.0
    12361239 * @deprecated 3.8.0
    12371240 */
    1238 function wp_dashboard_incoming_links_output() {}
     1241function wp_dashboard_incoming_links_output() {
     1242        _deprecated_function( __FUNCTION__, '3.8' );
     1243}
    12391244
    12401245/**
    12411246 * Deprecated dashboard secondary output.
     
    12421247 *
    12431248 * @deprecated 3.8.0
    12441249 */
    1245 function wp_dashboard_secondary_output() {}
     1250function wp_dashboard_secondary_output() {
     1251        _deprecated_function( __FUNCTION__, '3.8' );
     1252}
    12461253
    12471254/**
    12481255 * Deprecated dashboard widget controls.
     
    12501257 * @since 2.7.0
    12511258 * @deprecated 3.8.0
    12521259 */
    1253 function wp_dashboard_incoming_links() {}
     1260function wp_dashboard_incoming_links() {
     1261        _deprecated_function( __FUNCTION__, '3.8' );
     1262}
    12541263
    12551264/**
    12561265 * Deprecated dashboard incoming links control.
     
    12571266 *
    12581267 * @deprecated 3.8.0
    12591268 */
    1260 function wp_dashboard_incoming_links_control() {}
     1269function wp_dashboard_incoming_links_control() {
     1270        _deprecated_function( __FUNCTION__, '3.8' );
     1271}
    12611272
    12621273/**
    12631274 * Deprecated dashboard plugins control.
     
    12641275 *
    12651276 * @deprecated 3.8.0
    12661277 */
    1267 function wp_dashboard_plugins() {}
     1278function wp_dashboard_plugins() {
     1279        _deprecated_function( __FUNCTION__, '3.8' );
     1280}
    12681281
    12691282/**
    12701283 * Deprecated dashboard primary control.
     
    12711284 *
    12721285 * @deprecated 3.8.0
    12731286 */
    1274 function wp_dashboard_primary_control() {}
     1287function wp_dashboard_primary_control() {
     1288        _deprecated_function( __FUNCTION__, '3.8' );
     1289}
    12751290
    12761291/**
    12771292 * Deprecated dashboard recent comments control.
     
    12781293 *
    12791294 * @deprecated 3.8.0
    12801295 */
    1281 function wp_dashboard_recent_comments_control() {}
     1296function wp_dashboard_recent_comments_control() {
     1297        _deprecated_function( __FUNCTION__, '3.8' );
     1298}
    12821299
    12831300/**
    12841301 * Deprecated dashboard secondary section.
     
    12851302 *
    12861303 * @deprecated 3.8.0
    12871304 */
    1288 function wp_dashboard_secondary() {}
     1305function wp_dashboard_secondary() {
     1306        _deprecated_function( __FUNCTION__, '3.8' );
     1307}
    12891308
    12901309/**
    12911310 * Deprecated dashboard secondary control.
     
    12921311 *
    12931312 * @deprecated 3.8.0
    12941313 */
    1295 function wp_dashboard_secondary_control() {}
     1314function wp_dashboard_secondary_control() {
     1315        _deprecated_function( __FUNCTION__, '3.8' );
     1316}
    12961317
    12971318/**
    12981319 * This was once used to move child posts to a new parent.
  • wp-includes/deprecated.php

     
    33913391 * @return int Number of topics.
    33923392 */
    33933393function default_topic_count_text( $count ) {
     3394        _deprecated_function( __FUNCTION__, '3.9' );
    33943395        return $count;
    33953396}
    33963397