WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

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

    r46810 r47060  
    611611 * @param string $exclude
    612612 * @param bool $hierarchical
    613  * @return false|null
     613 * @return null|false
    614614 */
    615615function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0,
     
    631631 *
    632632 * @param string|array $args
    633  * @return false|null|string
     633 * @return null|string|false
    634634 */
    635635function wp_list_cats($args = '') {
     
    19091909 * @param bool $fullsize Optional, default to false. Whether to have full size image.
    19101910 * @param array $max_dims Optional. Dimensions of image.
    1911  * @return false|string HTML content.
     1911 * @return string|false HTML content.
    19121912 */
    19131913function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) {
     
    19651965 * @param bool $fullsize Optional, default to false. Whether to have full size image.
    19661966 * @param array $max_dims Optional. Dimensions of image.
    1967  * @return false|string
     1967 * @return string|false
    19681968 */
    19691969function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) {
Note: See TracChangeset for help on using the changeset viewer.