Skip to content

Commit b2cbd97

Browse files
committed
Tweak return description for _autop_newline_preservation_helper()
1 parent a7c801c commit b2cbd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/formatting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ function wp_replace_in_html_tags( $haystack, $replace_pairs ) {
803803
* @access private
804804
*
805805
* @param array $matches preg_replace_callback matches array
806-
* @return string Text with newlines converted to placeholders.
806+
* @return string Text with newlines replaced with placeholders.
807807
*/
808808
function _autop_newline_preservation_helper( $matches ) {
809809
return str_replace( "\n", '<WPPreserveNewline />', $matches[0] );

0 commit comments

Comments
 (0)