WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/12/2019 07:28:17 AM (6 months ago)
Author:
dd32
Message:

WordPress.TV Theme: Update some PHPDoc to include @globals.

Props jayupadhyay01.
Fixes #4148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    r7698 r8228  
    260260     * @todo optimize the get_tax_query part.
    261261     *
     262     * @global wpdb $wpdb WordPress database abstraction object.
     263     *
    262264     * @param string   $search
    263265     * @param WP_Query $query
     
    314316     * search. Make sure this filter runs only once per WP_Query request.
    315317     *
     318     * @global wpdb $wpdb WordPress database abstraction object.
     319     *
    316320     * @param string   $join
    317321     * @param WP_Query $query
     
    337341     * search query matches content and one or more taxonomies.
    338342     * This filter glues all duplicates. Use only once per WP_Query.
     343     *
     344     * @global wpdb $wpdb WordPress database abstraction object.
    339345     *
    340346     * @param string   $group_by
     
    467473    /**
    468474     * Renders the video or a video thumbnail
     475     *
     476     * @global WP_Post $post
     477     * @global $originalcontent
    469478     *
    470479     * @param bool $thumb
     
    540549     * Outputs the video image
    541550     *
     551     * @global WP_Post $post
     552     *
    542553     * @param int  $h
    543554     * @param int  $w
     
    594605    /**
    595606     * Removes shortcodes from $originalcontent global
     607     *
     608     * @global $originalcontent
    596609     *
    597610     * @param string $content
     
    784797 * in head of document, based on current view.
    785798 *
     799 * @global $paged
     800 * @global $page
     801 *
     802 *
    786803 * @param string $title Default title text for current view.
    787804 * @param string $sep   Optional separator.
Note: See TracChangeset for help on using the changeset viewer.