diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php
index bc7ade1a2f..75e489f0c8 100644
a
|
b
|
function get_shortcode_regex( $tagnames = null ) { |
362 | 362 | . '\\[\\/\\2\\]' // Closing shortcode tag. |
363 | 363 | . ')?' |
364 | 364 | . ')' |
365 | | . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]. |
| 365 | . '(\\]?)'; // 6: Optional second closing bracket for escaping shortcodes: [[tag]]. |
366 | 366 | // phpcs:enable |
367 | 367 | } |
368 | 368 | |
… |
… |
function get_shortcode_regex( $tagnames = null ) { |
385 | 385 | * @type string $3 Shortcode arguments list. |
386 | 386 | * @type string $4 Optional self closing slash. |
387 | 387 | * @type string $5 Content of a shortcode when it wraps some content. |
388 | | * @type string $6 Optional second closing brocket for escaping shortcodes. |
| 388 | * @type string $6 Optional second closing bracket for escaping shortcodes. |
389 | 389 | * } |
390 | 390 | * @return string Shortcode output. |
391 | 391 | */ |