mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Docs: Add a missing summary, parameter, and return notations to the DocBlock for strip_shortcode_tag()
.
Introduced in [18952]. See #32246. Built from https://develop.svn.wordpress.org/trunk@35982 git-svn-id: http://core.svn.wordpress.org/trunk@35947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
81abb11839
commit
d5a9811f02
@ -597,9 +597,12 @@ function strip_shortcodes( $content ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Strips a shortcode tag based on RegEx matches against post content.
|
||||||
*
|
*
|
||||||
* @param array $m
|
* @since 3.3.0
|
||||||
* @return string|false
|
*
|
||||||
|
* @param array $m RegEx matches against post content.
|
||||||
|
* @return string|false The content stripped of the tag, otherwise false.
|
||||||
*/
|
*/
|
||||||
function strip_shortcode_tag( $m ) {
|
function strip_shortcode_tag( $m ) {
|
||||||
// allow [[foo]] syntax for escaping a tag
|
// allow [[foo]] syntax for escaping a tag
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-35981';
|
$wp_version = '4.5-alpha-35982';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user