From e86c1971d4be799ffb41842f1ff063024d4eca43 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 22 Feb 2024 15:53:13 +0000 Subject: [PATCH] Shortcodes: Fix small typo in inline documentation. Props shailu25, mukesh27. Fixes #60603. Built from https://develop.svn.wordpress.org/trunk@57695 git-svn-id: http://core.svn.wordpress.org/trunk@57196 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/shortcodes.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index bc7ade1a2f..75e489f0c8 100644 --- a/wp-includes/shortcodes.php +++ b/wp-includes/shortcodes.php @@ -362,7 +362,7 @@ function get_shortcode_regex( $tagnames = null ) { . '\\[\\/\\2\\]' // Closing shortcode tag. . ')?' . ')' - . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]. + . '(\\]?)'; // 6: Optional second closing bracket for escaping shortcodes: [[tag]]. // phpcs:enable } @@ -385,7 +385,7 @@ function get_shortcode_regex( $tagnames = null ) { * @type string $3 Shortcode arguments list. * @type string $4 Optional self closing slash. * @type string $5 Content of a shortcode when it wraps some content. - * @type string $6 Optional second closing brocket for escaping shortcodes. + * @type string $6 Optional second closing bracket for escaping shortcodes. * } * @return string Shortcode output. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 8ac188dfe0..5abd561bb8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta2-57694'; +$wp_version = '6.5-beta2-57695'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.