Changeset 57597 for trunk/src/wp-includes/shortcodes.php
- Timestamp:
- 02/12/2024 04:06:47 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r57584 r57597 601 601 * 602 602 * @since 2.5.0 603 * @since 6.5.0 The function now always returns an empty array, 604 * even if the original arguments string cannot be parsed or is empty. 603 605 * 604 606 * @param string $text Shortcode arguments list. 605 * @return array |stringArray of attribute values keyed by attribute name.606 * Returns empty array if there are no attributes.607 * Returns the original arguments string if itcannot be parsed.607 * @return array Array of attribute values keyed by attribute name. 608 * Returns empty array if there are no attributes 609 * or if the original arguments string cannot be parsed. 608 610 */ 609 611 function shortcode_parse_atts( $text ) { … … 636 638 } 637 639 } 638 } else {639 $atts = ltrim( $text );640 640 } 641 641
Note: See TracChangeset
for help on using the changeset viewer.