Make WordPress Core

Changeset 62088


Ignore:
Timestamp:
03/22/2026 10:12:17 PM (5 days ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing parameter descriptions in wp-admin/includes/misc.php.

Props ravikhadka.
Fixes #64920.

File:
1 edited

Legend:

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

    r62074 r62088  
    335335 * @since 1.5.0
    336336 *
    337  * @param string $file
     337 * @param string $file Path to the recently edited file.
    338338 */
    339339function update_recently_edited( $file ) {
     
    564564 * @since 2.1.0
    565565 *
    566  * @param string $old_value
    567  * @param string $value
     566 * @param string $old_value The old value of the option. Unused.
     567 * @param string $value     The new value of the option. Unused.
    568568 */
    569569function update_home_siteurl( $old_value, $value ) {
     
    609609 * @since 2.1.0
    610610 *
    611  * @param string|WP_Error $message
     611 * @param string|WP_Error $message The message to display, or a WP_Error object.
    612612 */
    613613function show_message( $message ) {
     
    626626
    627627/**
     628 * Parses the PHP content and finds function calls to be used for documentation linking.
     629 *
    628630 * @since 2.8.0
    629631 *
    630  * @param string $content
     632 * @param string $content The PHP content to parse.
    631633 * @return string[] Array of function names.
    632634 */
     
    979981 * @since 2.8.0
    980982 *
    981  * @param DOMDocument $doc
    982  * @param string      $filename
     983 * @param DOMDocument $doc      The DOMDocument object to save.
     984 * @param string      $filename The file path to save the XML document to.
    983985 */
    984986function saveDomDocument( $doc, $filename ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
     
    10561058
    10571059/**
     1060 * Outputs the JavaScript for the admin color scheme settings.
    10581061 *
    10591062 * @since 3.8.0
Note: See TracChangeset for help on using the changeset viewer.