WordPress.org

Make WordPress Core

Changeset 18784


Ignore:
Timestamp:
09/26/11 23:31:54 (3 years ago)
Author:
nacin
Message:

Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.

File:
1 edited

Legend:

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

    r18782 r18784  
    597597} 
    598598 
    599 class WP_Screen { 
    600     var $action = ''; 
    601     var $base; 
    602     var $id; 
    603     var $is_network; 
    604     var $is_user; 
    605     var $parent_base; 
    606     var $parent_file; 
    607     var $post_type; 
    608     var $taxonomy; 
    609  
    610     function __construct( $id = '' ) { 
     599final class WP_Screen { 
     600    public $action = ''; 
     601    public $base; 
     602    public $id; 
     603    public $is_network; 
     604    public $is_user; 
     605    public $parent_base; 
     606    public $parent_file; 
     607    public $post_type; 
     608    public $taxonomy; 
     609 
     610    public function __construct( $id = '' ) { 
    611611        global $hook_suffix, $typenow, $taxnow; 
    612612 
     
    677677    } 
    678678 
    679     function add_option( $option, $args = array() ) { 
     679    public function add_option( $option, $args = array() ) { 
    680680        return add_screen_option( $option, $args ); 
    681681    } 
    682682 
    683     function add_help_tab( $id, $title, $content) { 
     683    public function add_help_tab( $id, $title, $content) { 
    684684        global $_wp_contextual_help; 
    685685 
     
    687687    } 
    688688 
    689     function add_help_sidebar( $content ) { 
     689    public function add_help_sidebar( $content ) { 
    690690        global $_wp_contextual_help; 
    691691 
Note: See TracChangeset for help on using the changeset viewer.