Make WordPress Core

Changeset 53176


Ignore:
Timestamp:
04/14/2022 06:03:24 AM (3 years ago)
Author:
audrasjb
Message:

Docs: Fix @link URLs in get_merged_data() Docblock.

This addresses some 404s found on Helphub links by replacing the related @link sources.

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json-resolver.php

    r53129 r53176  
    351351     * than the theme's, and the theme's higher than default's.
    352352     *
    353      * Unlike the getters {@link get_core_data},
    354      * {@link get_theme_data}, and {@link get_user_data},
    355      * this method returns data after it has been merged
    356      * with the previous origins. This means that if the same piece of data
    357      * is declared in different origins (user, theme, and core),
    358      * the last origin overrides the previous.
     353     * Unlike the getters
     354     * {@link https://developer.wordpress.org/reference/classes/wp_theme_json_resolver/get_core_data/ get_core_data},
     355     * {@link https://developer.wordpress.org/reference/classes/wp_theme_json_resolver/get_theme_data/ get_theme_data},
     356     * and {@link https://developer.wordpress.org/reference/classes/wp_theme_json_resolver/get_user_data/ get_user_data},
     357     * this method returns data after it has been merged with the previous origins.
     358     * This means that if the same piece of data is declared in different origins
     359     * (user, theme, and core), the last origin overrides the previous.
    359360     *
    360361     * For example, if the user has set a background color
Note: See TracChangeset for help on using the changeset viewer.