From 6853d10368cee9e8e91424b1f787ead843b784e7 Mon Sep 17 00:00:00 2001 From: Tonya Mork Date: Wed, 23 Feb 2022 20:01:55 +0000 Subject: [PATCH] Formatting: Make terms in `wpautop()` and `shortcode_unautop()` more welcoming and inclusive. The developer facing humor in these functions were from a different era of WordPress. Tolerance for in-jokes and other developer facing humor has decreased over the years. Terms like "pee" and "tinkle" may make some folks chuckle while for others it makes them uncomfortable. Terminology of the past is being (or has been) re-evaluated to transform words into a language that are inclusive and welcome for all. This commit is part of that effort as it replaces. Follow-up [13], [9255]. Props ricomoorman, tzipporahwitty, ironprogrammer, peterwilsoncc, jeremyfelt, Viper007Bond, rmccue, SergeyBiryukov, hellofromTonya. Fixes #25615. git-svn-id: https://develop.svn.wordpress.org/trunk@52789 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 134 ++++++++++----------- tests/phpunit/tests/formatting/wpAutop.php | 4 +- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 118c8a8249..41c6afbec2 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -433,171 +433,171 @@ function _wptexturize_pushpop_element( $text, &$stack, $disabled_elements ) { * * @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 - * after paragraphing. Line breaks within `