Make WordPress Core

Changeset 18859


Ignore:
Timestamp:
10/01/2011 06:13:27 PM (13 years ago)
Author:
nacin
Message:

Deprecate screen_meta(). see #18785.

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/deprecated.php

    r18858 r18859  
    792792    return ob_get_clean();
    793793}
     794
     795/**
     796 * Renders the screen's help.
     797 *
     798 * @since unknown
     799 * @deprecated 3.3.0
     800 * @deprecated Use $current_screen->render_screen_meta()
     801 * @see WP_Screen::render_screen_meta()
     802 */
     803function screen_meta( $screen ) {
     804    $current_screen = get_current_screen();
     805    $current_screen->render_screen_meta();
     806}
  • trunk/wp-admin/includes/screen.php

    r18858 r18859  
    235235    $screen = (object) array('id' => $screen, 'base' => $screen);
    236236    return $screen;
    237 }
    238 
    239 function screen_meta( $screen ) {
    240     $current_screen = get_current_screen();
    241     $current_screen->render_screen_meta();
    242237}
    243238
Note: See TracChangeset for help on using the changeset viewer.