Docs: Adjust @since
note in shortcode_parse_atts()
for consistency with similar notes.
See #47863. git-svn-id: https://develop.svn.wordpress.org/trunk@46465 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7cd21b7bd0
commit
5e6d8f584d
@ -488,9 +488,9 @@ function get_shortcode_atts_regex() {
|
||||
* retrieval of the attributes, since all attributes have to be known.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 5.3.0 Support of a full shortcode input.
|
||||
* @since 5.3.0 Added support of a full shortcode input.
|
||||
*
|
||||
* @param string $text Any single shortcode of any format or key/value pair string.
|
||||
* @param string $text Any single shortcode of any format or key/value pair string.
|
||||
* @return array|string List of attribute values.
|
||||
* Returns empty array if trim( $text ) == '""'.
|
||||
* Returns empty string if trim( $text ) == ''.
|
||||
|
@ -992,8 +992,6 @@ EOF;
|
||||
/**
|
||||
* Data provider for `test_shortcode_parse_atts()`.
|
||||
*
|
||||
* @ticket 47863
|
||||
*
|
||||
* @return array {
|
||||
* @type array {
|
||||
* @type string $text A single shortcode format or key/value pair string.
|
||||
|
Loading…
Reference in New Issue
Block a user