Make WordPress Core


Ignore:
Timestamp:
01/15/2023 02:55:19 PM (15 months ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for Script Loader related function descriptions, as per docblocks standards.

See #56792.

File:
1 edited

Legend:

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

    r55071 r55072  
    1010
    1111/**
    12  * Initialize $wp_styles if it has not been set.
     12 * Initializes $wp_styles if it has not been set.
    1313 *
    1414 * @global WP_Styles $wp_styles
     
    2929
    3030/**
    31  * Display styles that are in the $handles queue.
     31 * Displays styles that are in the $handles queue.
    3232 *
    3333 * Passing an empty array to $handles prints the queue,
     
    7070
    7171/**
    72  * Add extra CSS styles to a registered stylesheet.
     72 * Adds extra CSS styles to a registered stylesheet.
    7373 *
    7474 * Styles will only be added if the stylesheet is already in the queue.
     
    106106
    107107/**
    108  * Register a CSS stylesheet.
     108 * Registers a CSS stylesheet.
    109109 *
    110110 * @see WP_Dependencies::add()
     
    134134
    135135/**
    136  * Remove a registered stylesheet.
     136 * Removes a registered stylesheet.
    137137 *
    138138 * @see WP_Dependencies::remove()
     
    149149
    150150/**
    151  * Enqueue a CSS stylesheet.
     151 * Enqueues a CSS stylesheet.
    152152 *
    153153 * Registers the style if source provided (does NOT overwrite) and enqueues.
     
    185185
    186186/**
    187  * Remove a previously enqueued CSS stylesheet.
     187 * Removes a previously enqueued CSS stylesheet.
    188188 *
    189189 * @see WP_Dependencies::dequeue()
     
    200200
    201201/**
    202  * Check whether a CSS stylesheet has been added to the queue.
     202 * Checks whether a CSS stylesheet has been added to the queue.
    203203 *
    204204 * @since 2.8.0
     
    216216
    217217/**
    218  * Add metadata to a CSS stylesheet.
     218 * Adds metadata to a CSS stylesheet.
    219219 *
    220220 * Works only if the stylesheet has already been registered.
Note: See TracChangeset for help on using the changeset viewer.