Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:28:51 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Docs on docs. Further improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

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

    r45932 r46662  
    171171         * @global string $role
    172172         *
    173          * @return array An array of HTML links, one for each view.
     173         * @return string[] An array of HTML links keyed by their view.
    174174         */
    175175        protected function get_views() {
    … …  
    260260         * @since  3.1.0
    261261         *
    262          * @return array Array of bulk actions.
     262         * @return string[] Array of bulk action labels keyed by their action.
    263263         */
    264264        protected function get_bulk_actions() {
    … …  
    349349         * @since  3.1.0
    350350         *
    351          * @return array Array in which the key is the ID of the column,
    352          *               and the value is the description.
     351         * @return string[] Array of column titles keyed by their column name.
    353352         */
    354353        public function get_columns() {
Note: See TracChangeset for help on using the changeset viewer.