Make WordPress Core


Ignore:
Timestamp:
03/12/2026 08:18:18 PM (2 weeks ago)
Author:
johnjamesjacoby
Message:

Docs: Correct lone @param null usages around some $deprecated vars.

Update incorrect uses of null as a single parameter type to be mixed instead, largely targeting $deprecated variable names.

Pipe | a few nulls with other valid types where appropriate.

Add a missing empty new-line between the _deprecated_file() and _deprecated_argument() functions.

See #64224.

File:
1 edited

Legend:

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

    r61857 r61995  
    28872887 *
    28882888 * @param string      $name       Filename.
    2889  * @param null|string $deprecated Never used. Set to null.
     2889 * @param null|string $deprecated Not used. Set to null.
    28902890 * @param string      $bits       File content
    28912891 * @param string|null $time       Optional. Time formatted in 'yyyy/mm'. Default null.
     
    58545854    }
    58555855}
     5856
    58565857/**
    58575858 * Marks a function argument as deprecated and inform when it has been used.
Note: See TracChangeset for help on using the changeset viewer.