From 36f615eac6bf0a0a578e7ecfdb20b1d5a74cea4b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Dec 2018 02:41:47 +0000 Subject: [PATCH] Docs: Fix typo in `wp_add_inline_script()` and `wp_add_inline_style()` description. Props jankimoradiya. Fixes #45705. git-svn-id: https://develop.svn.wordpress.org/trunk@44350 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.wp-scripts.php | 2 +- src/wp-includes/functions.wp-styles.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php index 77a6d0a02c..5aa26cca5e 100644 --- a/src/wp-includes/functions.wp-scripts.php +++ b/src/wp-includes/functions.wp-scripts.php @@ -93,7 +93,7 @@ function wp_print_scripts( $handles = false ) { /** * Adds extra code to a registered script. * - * Code will only be added if the script in already in the queue. + * Code will only be added if the script is already in the queue. * Accepts a string $data containing the Code. If two or more code blocks * are added to the same script $handle, they will be printed in the order * they were added, i.e. the latter added code can redeclare the previous. diff --git a/src/wp-includes/functions.wp-styles.php b/src/wp-includes/functions.wp-styles.php index 20acd58e9a..517aac8887 100644 --- a/src/wp-includes/functions.wp-styles.php +++ b/src/wp-includes/functions.wp-styles.php @@ -67,7 +67,7 @@ function wp_print_styles( $handles = false ) { /** * Add extra CSS styles to a registered stylesheet. * - * Styles will only be added if the stylesheet in already in the queue. + * Styles will only be added if the stylesheet is already in the queue. * Accepts a string $data containing the CSS. If two or more CSS code blocks * are added to the same stylesheet $handle, they will be printed in the order * they were added, i.e. the latter added styles can redeclare the previous.