Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

See #49572.

File:
1 edited

Legend:

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

    r48091 r48104  
    825825
    826826/**
    827  * Checks that current theme files 'index.php' and 'style.css' exists.
     827 * Checks that the current theme has 'index.php' and 'style.css' files.
    828828 *
    829829 * Does not initially check the default theme, which is the fallback and should always exist.
     
    14551455 * @global array $_wp_default_headers
    14561456 *
    1457  * @param array $headers Array of headers keyed by a string id. The ids point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
     1457 * @param array $headers Array of headers keyed by a string ID. The IDs point to arrays
     1458 *                       containing 'url', 'thumbnail_url', and 'description' keys.
    14581459 */
    14591460function register_default_headers( $headers ) {
     
    28452846 *
    28462847 * @param string $feature
    2847  *
    2848  * @return bool Returns true when support is removed, false when the feature was not registered.
     2848 * @return bool True if support was removed, false if the feature was not registered.
    28492849 */
    28502850function _remove_theme_support( $feature ) {
     
    28932893
    28942894    unset( $_wp_theme_features[ $feature ] );
     2895
    28952896    return true;
    28962897}
     
    30063007 * @since 4.5.0 Also removes custom logo theme mods.
    30073008 *
    3008  * @param int $id The attachment id.
     3009 * @param int $id The attachment ID.
    30093010 */
    30103011function _delete_attachment_theme_mod( $id ) {
Note: See TracChangeset for help on using the changeset viewer.