Make WordPress Core

Ticket #28679: 28679.diff

File 28679.diff, 8.4 KB (added by DrewAPicture, 11 years ago)

hash notation

  • src/wp-admin/includes/class-wp-comments-list-table.php

     
    2121
    2222        public $pending_count = array();
    2323
     24        /**
     25         * Constructor.
     26         *
     27         * @since 3.1.0
     28         *
     29         * @see WP_List_Table::__construct() for more information on default arguments.
     30         *
     31         * @param array $args An associative array of arguments.
     32         */     
    2433        public function __construct( $args = array() ) {
    2534                global $post_id;
    2635
  • src/wp-admin/includes/class-wp-links-list-table.php

     
    99 */
    1010class WP_Links_List_Table extends WP_List_Table {
    1111
     12        /**
     13         * Constructor.
     14         *
     15         * @since 3.1.0
     16         *
     17         * @see WP_List_Table::__construct() for more information on default arguments.
     18         *
     19         * @param array $args An associative array of arguments.
     20         */     
    1221        public function __construct( $args = array() ) {
    1322                parent::__construct( array(
    1423                        'plural' => 'bookmarks',
  • src/wp-admin/includes/class-wp-list-table.php

     
    22/**
    33 * Base class for displaying a list of items in an ajaxified HTML table.
    44 *
     5 * @since 3.1.0
     6 * @access private
     7 *
    58 * @package WordPress
    69 * @subpackage List_Table
    7  * @since 3.1.0
    8  * @access private
    910 */
    1011class WP_List_Table {
    1112
     
    6465        private $_pagination;
    6566
    6667        /**
    67          * Constructor. The child class should call this constructor from its own constructor
     68         * Constructor.
    6869         *
    69          * @param array $args An associative array with information about the current table
    70          * @access protected
    71          */
     70         * The child class should call this constructor from its own constructor to override
     71         * the default $args.
     72         *
     73         * @since 3.1.0
     74         *
     75         * @param array|string $args {
     76         *     Array or string of arguments.
     77         *
     78         *     @type string $plural   Plural value used for labels and the objects being listed.
     79         *                            This affects things such as CSS class-names and nonces used
     80         *                            in the list table, e.g. 'posts'. Default empty.
     81         *     @type string $singular Singular label for an object being listed, e.g. 'post'.
     82         *                            Default empty
     83         *     @type bool   $ajax     Whether the list table supports AJAX. This includes loading
     84         *                            and sorting data, for example. If true, the class will call
     85         *                            the {@see _js_vars()} method in the footer to provide variables
     86         *                            to any scripts handling AJAX events. Default false.
     87         *     @type string $screen   String containing the hook name used to determine the current
     88         *                            screen. If left null, the current screen will be automatically set.
     89         *                            Default null.
     90         * }
     91         */     
    7292        public function __construct( $args = array() ) {
    7393                $args = wp_parse_args( $args, array(
    7494                        'plural' => '',
  • src/wp-admin/includes/class-wp-media-list-table.php

     
    99 */
    1010class WP_Media_List_Table extends WP_List_Table {
    1111
     12        /**
     13         * Constructor.
     14         *
     15         * @since 3.1.0
     16         *
     17         * @see WP_List_Table::__construct() for more information on default arguments.
     18         *
     19         * @param array $args An associative array of arguments.
     20         */     
    1221        public function __construct( $args = array() ) {
    1322                $this->detached = isset( $_REQUEST['detached'] ) || isset( $_REQUEST['find_detached'] );
    1423
  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

     
    99 */
    1010class WP_MS_Sites_List_Table extends WP_List_Table {
    1111
     12        /**
     13         * Constructor.
     14         *
     15         * @since 3.1.0
     16         *
     17         * @see WP_List_Table::__construct() for more information on default arguments.
     18         *
     19         * @param array $args An associative array of arguments.
     20         */     
    1221        public function __construct( $args = array() ) {
    1322                parent::__construct( array(
    1423                        'plural' => 'sites',
  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

     
    1212        public $site_id;
    1313        public $is_site_themes;
    1414
     15        /**
     16         * Constructor.
     17         *
     18         * @since 3.1.0
     19         *
     20         * @see WP_List_Table::__construct() for more information on default arguments.
     21         *
     22         * @param array $args An associative array of arguments.
     23         */
    1524        public function __construct( $args = array() ) {
    1625                global $status, $page;
    1726
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    99 */
    1010class WP_Plugins_List_Table extends WP_List_Table {
    1111
     12        /**
     13         * Constructor.
     14         *
     15         * @since 3.1.0
     16         *
     17         * @see WP_List_Table::__construct() for more information on default arguments.
     18         *
     19         * @param array $args An associative array of arguments.
     20         */     
    1221        public function __construct( $args = array() ) {
    1322                global $status, $page;
    1423
  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    4545         */
    4646        private $sticky_posts_count = 0;
    4747
     48        /**
     49         * Constructor.
     50         *
     51         * @since 3.1.0
     52         *
     53         * @see WP_List_Table::__construct() for more information on default arguments.
     54         *
     55         * @param array $args An associative array of arguments.
     56         */     
    4857        public function __construct( $args = array() ) {
    4958                global $post_type_object, $wpdb;
    5059
  • src/wp-admin/includes/class-wp-terms-list-table.php

     
    1111
    1212        public $callback_args;
    1313
     14        /**
     15         * Constructor.
     16         *
     17         * @since 3.1.0
     18         *
     19         * @see WP_List_Table::__construct() for more information on default arguments.
     20         *
     21         * @param array $args An associative array of arguments.
     22         */     
    1423        public function __construct( $args = array() ) {
    1524                global $post_type, $taxonomy, $action, $tax;
    1625
  • src/wp-admin/includes/class-wp-themes-list-table.php

     
    1212        protected $search_terms = array();
    1313        public $features = array();
    1414
     15        /**
     16         * Constructor.
     17         *
     18         * @since 3.1.0
     19         *
     20         * @see WP_List_Table::__construct() for more information on default arguments.
     21         *
     22         * @param array $args An associative array of arguments.
     23         */     
    1524        public function __construct( $args = array() ) {
    1625                parent::__construct( array(
    1726                        'ajax' => true,
  • src/wp-admin/includes/class-wp-users-list-table.php

     
    3030
    3131        /**
    3232         * Constructor.
     33         *
     34         * @since 3.1.0
    3335         *
    34          * @since 3.1.0
    35          * @access public
    36          */
     36         * @see WP_List_Table::__construct() for more information on default arguments.
     37         *
     38         * @param array $args An associative array of arguments.
     39         */     
    3740        public function __construct( $args = array() ) {
    3841                parent::__construct( array(
    3942                        'singular' => 'user',