Make WordPress Core

Changeset 32624


Ignore:
Timestamp:
05/27/2015 07:39:00 PM (9 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to shortcodes.php.

See #32444.

File:
1 edited

Legend:

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

    r32116 r32624  
    8282 * @since 2.5.0
    8383 *
    84  * @uses $shortcode_tags
    85  *
    86  * @param string $tag Shortcode 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.
    8787 * @param callable $func Hook to run when shortcode is found.
    8888 */
     
    9999 * @since 2.5.0
    100100 *
    101  * @uses $shortcode_tags
     101 * @global array $shortcode_tags
    102102 *
    103103 * @param string $tag Shortcode tag to remove hook for.
     
    118118 * @since 2.5.0
    119119 *
    120  * @uses $shortcode_tags
     120 * @global array $shortcode_tags
    121121 */
    122122function remove_all_shortcodes() {
     
    218218 * @since 2.5.0
    219219 *
    220  * @uses $shortcode_tags
     220 * @global array $shortcode_tags
    221221 *
    222222 * @return string The shortcode search regular expression
     
    266266 * @since 2.5.0
    267267 * @access private
    268  * @uses $shortcode_tags
     268 *
     269 * @global array $shortcode_tags
    269270 *
    270271 * @param array $m Regular expression match array
    271  * @return mixed False on failure.
     272 * @return string|false False on failure.
    272273 */
    273274function do_shortcode_tag( $m ) {
     
    338339 * @since 2.5.0
    339340 *
    340  * @param array $pairs Entire list of supported attributes and their defaults.
    341  * @param array $atts User 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.
    342343 * @param string $shortcode Optional. The name of the shortcode, provided for context to enable filtering
    343344 * @return array Combined and filtered attribute list.
     
    360361     * @since 3.6.0
    361362     *
    362      * @param array $out The output array of shortcode attributes.
     363     * @param array $out   The output array of shortcode attributes.
    363364     * @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.
    365366     */
    366367    if ( $shortcode )
     
    375376 * @since 2.5.0
    376377 *
    377  * @uses $shortcode_tags
     378 * @global array $shortcode_tags
    378379 *
    379380 * @param string $content Content to remove shortcode tags.
     
    395396}
    396397
     398/**
     399 *
     400 * @param array $m
     401 * @return string|false
     402 */
    397403function strip_shortcode_tag( $m ) {
    398404    // allow [[foo]] syntax for escaping a tag
Note: See TracChangeset for help on using the changeset viewer.