Make WordPress Core

Changeset 46465


Ignore:
Timestamp:
10/12/2019 02:48:26 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust @since note in shortcode_parse_atts() for consistency with similar notes.

See #47863.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/shortcodes.php

    r46369 r46465  
    489489 *
    490490 * @since 2.5.0
    491  * @since 5.3.0 Support of a full shortcode input.
    492  *
    493  * @param string $text  Any single shortcode of any format or key/value pair string.
     491 * @since 5.3.0 Added support of a full shortcode input.
     492 *
     493 * @param string $text Any single shortcode of any format or key/value pair string.
    494494 * @return array|string List of attribute values.
    495495 *                      Returns empty array if trim( $text ) == '""'.
  • trunk/tests/phpunit/tests/shortcode.php

    r46370 r46465  
    993993     * Data provider for `test_shortcode_parse_atts()`.
    994994     *
    995      * @ticket 47863
    996      *
    997995     * @return array {
    998996     *     @type array {
Note: See TracChangeset for help on using the changeset viewer.