WordPress.org

Making WordPress.org

Ticket #4148: 4148.patch

File 4148.patch, 2.0 KB (added by jayupadhyay01, 14 months ago)

Updated the documentation on Function file of wptv2 theme.

  • wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

     
    259259         * Relies on various other filters used once.
    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
    264266         * @return string
     
    313315         * This adds the JOIN clause resulting from the taxonomy
    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
    318322         * @return string
     
    337341         * search query matches content and one or more taxonomies.
    338342         * This filter glues all duplicates. Use only once per WP_Query.
    339343         *
     344     * @global wpdb $wpdb WordPress database abstraction object.
     345     *
    340346         * @param string   $group_by
    341347         * @param WP_Query $query
    342348         * @return string
     
    466472
    467473        /**
    468474         * Renders the video or a video thumbnail
    469          *
     475     *
     476     * @global WP_Post $post
     477     * @global $originalcontent
     478     *
    470479         * @param bool $thumb
    471480         * @param bool $no_html
    472481         */
     
    539548        /**
    540549         * Outputs the video image
    541550         *
     551     * @global WP_Post $post
     552     *
    542553         * @param int  $h
    543554         * @param int  $w
    544555         * @param bool $arrow
     
    594605        /**
    595606         * Removes shortcodes from $originalcontent global
    596607         *
     608     * @global $originalcontent
     609     *
    597610         * @param string $content
    598611         * @return mixed
    599612         */
     
    783796 * Create a nicely formatted and more specific title element text for output
    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.
    788805 * @return string The filtered title.