Make WordPress Core

Changeset 53235


Ignore:
Timestamp:
04/20/2022 02:07:53 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Docs: Use third-person singular verbs for function descriptions in wp-includes/blocks.php and wp-includes/script-loader.php, per the documentation standards.

See #54729.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r53234 r53235  
    408408
    409409/**
    410  * Determine whether a post or content string has blocks.
     410 * Determines whether a post or content string has blocks.
    411411 *
    412412 * This test optimizes for performance rather than strict accuracy, detecting
     
    434434
    435435/**
    436  * Determine whether a $post or a string contains a specific block type.
     436 * Determines whether a $post or a string contains a specific block type.
    437437 *
    438438 * This test optimizes for performance rather than strict accuracy, detecting
     
    12301230
    12311231/**
    1232  * Allow multiple block styles.
     1232 * Allows multiple block styles.
    12331233 *
    12341234 * @since 5.9.0
  • trunk/src/wp-includes/script-loader.php

    r53234 r53235  
    648648
    649649/**
    650  * Register all WordPress scripts.
     650 * Registers all WordPress scripts.
    651651 *
    652652 * Localizes some of them.
     
    14281428
    14291429/**
    1430  * Assign default styles to $styles object.
     1430 * Assigns default styles to $styles object.
    14311431 *
    14321432 * Nothing is returned, because the $styles parameter is passed by reference.
     
    17341734
    17351735/**
    1736  * Reorder JavaScript scripts array to place prototype before jQuery.
     1736 * Reorders JavaScript scripts array to place prototype before jQuery.
    17371737 *
    17381738 * @since 2.3.1
     
    17661766
    17671767/**
    1768  * Load localized data on print rather than initialization.
     1768 * Loads localized data on print rather than initialization.
    17691769 *
    17701770 * These localizations require information that may not be loaded even by init.
     
    20462046
    20472047/**
    2048  * Print scripts (internal use only)
     2048 * Prints scripts (internal use only)
    20492049 *
    20502050 * @ignore
     
    22272227
    22282228/**
    2229  * Print styles (internal use only)
     2229 * Prints styles (internal use only).
    22302230 *
    22312231 * @ignore
     
    22742274
    22752275/**
    2276  * Determine the concatenation and compression settings for scripts and styles.
     2276 * Determines the concatenation and compression settings for scripts and styles.
    22772277 *
    22782278 * @since 2.8.0
     
    23892389
    23902390/**
    2391  * Render the SVG filters supplied by theme.json.
     2391 * Renders the SVG filters supplied by theme.json.
    23922392 *
    23932393 * Note that this doesn't render the per-block user-defined
     
    28362836
    28372837/**
    2838  * Make URLs relative to the WordPress installation.
     2838 * Makes URLs relative to the WordPress installation.
    28392839 *
    28402840 * @since 5.9.0
Note: See TracChangeset for help on using the changeset viewer.