Make WordPress Core

Changeset 44350


Ignore:
Timestamp:
12/20/2018 02:41:47 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in wp_add_inline_script() and wp_add_inline_style() description.

Props jankimoradiya.
Fixes #45705.

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

Legend:

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

    r44332 r44350  
    9494 * Adds extra code to a registered script.
    9595 *
    96  * Code will only be added if the script in already in the queue.
     96 * Code will only be added if the script is already in the queue.
    9797 * Accepts a string $data containing the Code. If two or more code blocks
    9898 * are added to the same script $handle, they will be printed in the order
  • trunk/src/wp-includes/functions.wp-styles.php

    r43661 r44350  
    6868 * Add extra CSS styles to a registered stylesheet.
    6969 *
    70  * Styles will only be added if the stylesheet in already in the queue.
     70 * Styles will only be added if the stylesheet is already in the queue.
    7171 * Accepts a string $data containing the CSS. If two or more CSS code blocks
    7272 * are added to the same stylesheet $handle, they will be printed in the order
Note: See TracChangeset for help on using the changeset viewer.