From 7abf3cb0c3703db7f3888731646ff4d6b7698914 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 16 Jun 2015 00:56:35 +0000 Subject: [PATCH] Add a note to `wptexturize()` docs. Props miqrogroove. Fixes #32521. git-svn-id: https://develop.svn.wordpress.org/trunk@32790 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 55321a15c5..8977d874d6 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -20,6 +20,8 @@ * * Code within certain html blocks are skipped. * + * Do not use this function before the 'init' action hook; everything will break. + * * @since 0.71 * * @global array $wp_cockneyreplace Array of formatted entities for certain common phrases