Make WordPress Core

Changeset 61698


Ignore:
Timestamp:
02/19/2026 11:50:05 PM (8 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing descriptions for WP_MS_Sites_List_Table methods.

Follow-up to [15491], [16992].

Props noruzzaman, huzaifaalmesbah.
See #64224.

File:
1 edited

Legend:

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

    r61444 r61698  
    5151
    5252    /**
    53      * @return bool
     53     * Checks if the current user has permissions to manage sites.
     54     *
     55     * @since 3.1.0
     56     *
     57     * @return bool Whether the user can manage sites.
    5458     */
    5559    public function ajax_user_can() {
     
    6367     *
    6468     * @global string $mode List table view mode.
    65      * @global string $s
     69     * @global string $s    Search string.
    6670     * @global wpdb   $wpdb WordPress database abstraction object.
    6771     */
     
    207211
    208212    /**
     213     * Displays a message when no sites are found.
     214     *
     215     * @since 3.1.0
    209216     */
    210217    public function no_items() {
     
    287294
    288295    /**
    289      * @return array
     296     * Gets an associative array of bulk actions for this table.
     297     *
     298     * @since 3.1.0
     299     *
     300     * @return array<string, string> An associative array of bulk actions.
    290301     */
    291302    protected function get_bulk_actions() {
     
    301312
    302313    /**
     314     * Displays the pagination.
     315     *
     316     * @since 3.1.0
     317     *
    303318     * @global string $mode List table view mode.
    304319     *
     
    360375
    361376    /**
     377     * Gets an array of column titles keyed by their column name.
     378     *
     379     * @since 3.1.0
     380     *
    362381     * @return string[] Array of column titles keyed by their column name.
    363382     */
     
    387406
    388407    /**
    389      * @return array
     408     * Gets an array of sortable columns.
     409     *
     410     * @since 3.1.0
     411     *
     412     * @return array<string, mixed> An array of sortable columns.
    390413     */
    391414    protected function get_sortable_columns() {
     
    641664     * @since 5.3.0
    642665     *
    643      * @param array $site
     666     * @param array<string, mixed> $site An array of site data.
    644667     */
    645668    protected function site_states( $site ) {
Note: See TracChangeset for help on using the changeset viewer.