From a55c84380a4d4debac0a0ecf09ee414741174f51 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 26 Jun 2020 09:30:11 +0000 Subject: [PATCH] Docs: Spell "line breaks" in a consistent way. See #49572. Built from https://develop.svn.wordpress.org/trunk@48175 git-svn-id: http://core.svn.wordpress.org/trunk@47944 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 4 ++-- wp-includes/formatting.php | 14 +++++++------- wp-includes/version.php | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index ad0af4c12e..0a3f609fc1 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2947,13 +2947,13 @@ function get_current_theme() { * Accepts matches array from preg_replace_callback in wpautop() or a string. * * Ensures that the contents of a `
...
` HTML block are not - * converted into paragraphs or line-breaks. + * converted into paragraphs or line breaks. * * @since 1.2.0 * @deprecated 3.4.0 * * @param array|string $matches The array or string - * @return string The pre block without paragraph/line-break conversion. + * @return string The pre block without paragraph/line break conversion. */ function clean_pre($matches) { _deprecated_function( __FUNCTION__, '3.4.0' ); diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 738d205b3a..6b15beac67 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -425,16 +425,16 @@ function _wptexturize_pushpop_element( $text, &$stack, $disabled_elements ) { } /** - * Replaces double line-breaks with paragraph elements. + * Replaces double line breaks with paragraph elements. * * A group of regex replaces used to identify text formatted with newlines and - * replace double line-breaks with HTML paragraph tags. The remaining line-breaks + * replace double line breaks with HTML paragraph tags. The remaining line breaks * after conversion become <
> tags, unless $br is set to '0' or 'false'. * * @since 0.71 * * @param string $pee The text which has to be formatted. - * @param bool $br Optional. If set, this will convert all remaining line-breaks + * @param bool $br Optional. If set, this will convert all remaining line breaks * after paragraphing. Line breaks within `