Make WordPress Core

Changeset 61512


Ignore:
Timestamp:
01/22/2026 11:15:34 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing parameter descriptions for get_cli_args().

Follow-up to [14760].

Props rejaulalomkhan, huzaifaalmesbah, westonruter, SergeyBiryukov.
See #64224.

File:
1 edited

Legend:

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

    r61463 r61512  
    290290 * Exits when a required param is not set.
    291291 *
    292  * @param string $param
    293  * @param bool   $required
    294  * @return mixed
     292 * @param string $param    The parameter name to retrieve.
     293 * @param bool   $required Optional. Whether the parameter is required. Default false.
     294 * @return string|true|null|never The parameter value or true if found, null otherwise.
     295 *                                The function exits when a required parameter is missing.
    295296 */
    296297function get_cli_args( $param, $required = false ) {
Note: See TracChangeset for help on using the changeset viewer.