Changeset 32624
- Timestamp:
- 05/27/2015 07:39:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r32116 r32624 82 82 * @since 2.5.0 83 83 * 84 * @ uses$shortcode_tags85 * 86 * @param string $tagShortcode tag to be searched in post content.84 * @global array $shortcode_tags 85 * 86 * @param string $tag Shortcode tag to be searched in post content. 87 87 * @param callable $func Hook to run when shortcode is found. 88 88 */ … … 99 99 * @since 2.5.0 100 100 * 101 * @ uses$shortcode_tags101 * @global array $shortcode_tags 102 102 * 103 103 * @param string $tag Shortcode tag to remove hook for. … … 118 118 * @since 2.5.0 119 119 * 120 * @ uses$shortcode_tags120 * @global array $shortcode_tags 121 121 */ 122 122 function remove_all_shortcodes() { … … 218 218 * @since 2.5.0 219 219 * 220 * @ uses$shortcode_tags220 * @global array $shortcode_tags 221 221 * 222 222 * @return string The shortcode search regular expression … … 266 266 * @since 2.5.0 267 267 * @access private 268 * @uses $shortcode_tags 268 * 269 * @global array $shortcode_tags 269 270 * 270 271 * @param array $m Regular expression match array 271 * @return mixedFalse on failure.272 * @return string|false False on failure. 272 273 */ 273 274 function do_shortcode_tag( $m ) { … … 338 339 * @since 2.5.0 339 340 * 340 * @param array $pairsEntire list of supported attributes and their defaults.341 * @param array $attsUser defined attributes in shortcode tag.341 * @param array $pairs Entire list of supported attributes and their defaults. 342 * @param array $atts User defined attributes in shortcode tag. 342 343 * @param string $shortcode Optional. The name of the shortcode, provided for context to enable filtering 343 344 * @return array Combined and filtered attribute list. … … 360 361 * @since 3.6.0 361 362 * 362 * @param array $out The output array of shortcode attributes.363 * @param array $out The output array of shortcode attributes. 363 364 * @param array $pairs The supported attributes and their defaults. 364 * @param array $atts The user defined shortcode attributes.365 * @param array $atts The user defined shortcode attributes. 365 366 */ 366 367 if ( $shortcode ) … … 375 376 * @since 2.5.0 376 377 * 377 * @ uses$shortcode_tags378 * @global array $shortcode_tags 378 379 * 379 380 * @param string $content Content to remove shortcode tags. … … 395 396 } 396 397 398 /** 399 * 400 * @param array $m 401 * @return string|false 402 */ 397 403 function strip_shortcode_tag( $m ) { 398 404 // allow [[foo]] syntax for escaping a tag
Note: See TracChangeset
for help on using the changeset viewer.