From 1f56c944592f729a4cf9a557a0df84dbf03be247 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Wed, 23 Feb 2022 20:03:09 +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. Built from https://develop.svn.wordpress.org/trunk@52789 git-svn-id: http://core.svn.wordpress.org/trunk@52378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 134 ++++++++++++++++++------------------- wp-includes/version.php | 2 +- 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 118c8a8249..41c6afbec2 100644 --- a/wp-includes/formatting.php +++ b/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 `