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
This commit is contained in:
Pascal Birchler 2024-02-22 15:53:13 +00:00
parent 117fdc548e
commit e86c1971d4
2 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ function get_shortcode_regex( $tagnames = null ) {
. '\\[\\/\\2\\]' // Closing shortcode tag. . '\\[\\/\\2\\]' // Closing shortcode tag.
. ')?' . ')?'
. ')' . ')'
. '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]. . '(\\]?)'; // 6: Optional second closing bracket for escaping shortcodes: [[tag]].
// phpcs:enable // phpcs:enable
} }
@ -385,7 +385,7 @@ function get_shortcode_regex( $tagnames = null ) {
* @type string $3 Shortcode arguments list. * @type string $3 Shortcode arguments list.
* @type string $4 Optional self closing slash. * @type string $4 Optional self closing slash.
* @type string $5 Content of a shortcode when it wraps some content. * @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. * @return string Shortcode output.
*/ */

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.