Make WordPress Core


Ignore:
Timestamp:
10/18/2020 08:52:01 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Further corrections and promotions for docblocks relating to object types.

See #50768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r49193 r49197  
    13731373         * @since 3.1.0
    13741374         *
    1375          * @param object $item The current item
     1375         * @param object|array $item The current item
    13761376         */
    13771377        public function single_row( $item ) {
    … …  
    13821382
    13831383        /**
    1384          * @param object $item
     1384         * @param object|array $item
    13851385         * @param string $column_name
    13861386         */
    … …  
    13881388
    13891389        /**
    1390          * @param object $item
     1390         * @param object|array $item
    13911391         */
    13921392        protected function column_cb( $item ) {}
    … …  
    13971397         * @since 3.1.0
    13981398         *
    1399          * @param object $item The current item.
     1399         * @param object|array $item The current item.
    14001400         */
    14011401        protected function single_row_columns( $item ) {
    … …  
    14491449         * @since 4.3.0
    14501450         *
    1451          * @param object $item        The item being acted upon.
    1452          * @param string $column_name Current column name.
    1453          * @param string $primary     Primary column name.
     1451         * @param object|array $item        The item being acted upon.
     1452         * @param string       $column_name Current column name.
     1453         * @param string       $primary     Primary column name.
    14541454         * @return string The row actions HTML, or an empty string
    14551455         *                if the current column is not the primary column.
Note: See TracChangeset for help on using the changeset viewer.