From 0587033b4a1315a6bbf4ec1399c07fafa31136a0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 23 Nov 2016 17:34:10 +0000 Subject: [PATCH] Docs: Add a missing changelog entry for the point where the `$tagnames` parameter was added to `get_shortcode_regex()`. Props keesiemeijer. Fixes #38914. git-svn-id: https://develop.svn.wordpress.org/trunk@39351 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/shortcodes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php index 3af0e10f58..32720cd276 100644 --- a/src/wp-includes/shortcodes.php +++ b/src/wp-includes/shortcodes.php @@ -244,10 +244,11 @@ function do_shortcode( $content, $ignore_html = false ) { * 6 - An extra ] to allow for escaping shortcodes with double [[]] * * @since 2.5.0 + * @since 4.4.0 Added the `$tagnames` parameter. * * @global array $shortcode_tags * - * @param array $tagnames List of shortcodes to find. Optional. Defaults to all registered shortcodes. + * @param array $tagnames Optional. List of shortcodes to find. Defaults to all registered shortcodes. * @return string The shortcode search regular expression */ function get_shortcode_regex( $tagnames = null ) {