Changeset 6374
- Timestamp:
- 01/12/2018 07:08:37 PM (7 years ago)
- Location:
- sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/404.php
r1024 r6374 1 1 <?php 2 /* 2 /** 3 3 * WordCamp.tv Index Fallback 4 4 * 5 5 * It will be weird if somebody sees this (but okay if 404) 6 * 7 * @global WP_Query $wp_query 8 * @global WP_Post $post 9 * @global WordPressTV_Theme $wptv 6 10 */ 7 11 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/archive.php
r1640 r6374 1 1 <?php 2 /* 2 /** 3 3 * WordCamp.tv Archives 4 4 * 5 5 * Yearly, monthly, daily, author and whatever falls back to archive.php. 6 * 7 * @global WP_Query $wp_query 8 * @global WP_Post $post 9 * @global WordPressTV_Theme $wptv 6 10 */ 7 11 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/breadcrumbs.php
r1024 r6374 2 2 /** 3 3 * Breadcrumbs template part, use with get_template_part() 4 * 5 * @global WordPressTV_Theme $wptv 4 6 */ 5 7 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/category-wordcamptv.php
r2334 r6374 1 1 <?php 2 /* 2 /** 3 3 * WordCampTV Category Archives 4 4 * 5 5 * Requires a special display, hence the template. 6 * 7 * @global WordPressTV_Theme $wptv 6 8 */ 7 9 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/category.php
r1024 r6374 1 1 <?php 2 /* 2 /** 3 3 * Category Archives 4 4 * 5 5 * Used for categories display, especially the to-do category. 6 6 * Fallback to others as well. 7 * 8 * @global WP_Query $wp_query 9 * @global WordPressTV_Theme $wptv 7 10 */ 8 11 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/comments.php
r5844 r6374 2 2 /** 3 3 * WordPress.tv Comments Template 4 * @uses global $wptv->list_comments 4 * 5 * @global WordPressTV_Theme $wptv 5 6 */ 6 7 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/front-page.php
r2334 r6374 2 2 /** 3 3 * WordPress.tv Front Page Template 4 * 5 * @global WordPressTV_Theme $wptv 4 6 */ 5 7 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
r6373 r6374 45 45 /** 46 46 * Different posts_per_page settings for different views. Runs during pre_get_posts. 47 * 48 * @param WP_Query $query The WP_Query instance. 47 49 */ 48 50 function posts_per_page( $query ) { … … 170 172 /** 171 173 * Render the Video Info box 174 * 175 * @global WP_Post $post 172 176 */ 173 177 function render_video_info_metabox() { … … 190 194 * Save the values of meta box fields 191 195 * 192 * @param int $post_id196 * @param int $post_id 193 197 * @param WP_Post $post 194 198 */ … … 256 260 * @todo optimize the get_tax_query part. 257 261 * 258 * @param string $search262 * @param string $search 259 263 * @param WP_Query $query 260 *261 264 * @return string 262 265 */ … … 311 314 * search. Make sure this filter runs only once per WP_Query request. 312 315 * 313 * @param string $join316 * @param string $join 314 317 * @param WP_Query $query 315 *316 318 * @return string 317 319 */ … … 336 338 * This filter glues all duplicates. Use only once per WP_Query. 337 339 * 338 * @param string $group_by340 * @param string $group_by 339 341 * @param WP_Query $query 340 *341 342 * @return string 342 343 */ … … 355 356 * 356 357 * @param string $search 357 *358 358 * @return array 359 359 */ … … 396 396 * 397 397 * @param object $comment 398 * @param array $args399 * @param int $depth398 * @param array $args 399 * @param int $depth 400 400 */ 401 401 function list_comments( $comment, $args, $depth ) { … … 445 445 * 446 446 * @param string $code 447 *448 447 * @return string 449 448 */ … … 541 540 * Outputs the video image 542 541 * 543 * @param int $h544 * @param int $w542 * @param int $h 543 * @param int $w 545 544 * @param bool $arrow 546 545 * @param bool $html_code … … 597 596 * 598 597 * @param string $content 599 *600 598 * @return mixed 601 599 */ … … 610 608 * 611 609 * @param string $path 612 *613 610 * @return mixed|void 614 611 */ … … 662 659 * @param string $sep 663 660 * @param string $after 664 * @param bool $display_count 661 * @param bool $display_count 662 * @return bool|void False if there are no terms. 665 663 */ 666 664 public function the_terms( $taxonomy = 'post_tag', $before = '', $sep = '', $after = '', $display_count = true ) { … … 719 717 * @param string $output 720 718 * @param object $item 721 * @param int $depth722 * @param array $args723 * @param int $id719 * @param int $depth 720 * @param array $args 721 * @param int $id 724 722 */ 725 723 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { … … 787 785 * 788 786 * @param string $title Default title text for current view. 789 * @param string $sep Optional separator. 790 * 787 * @param string $sep Optional separator. 791 788 * @return string The filtered title. 792 789 */ … … 820 817 * 821 818 * @param string $excerpt 822 *823 819 * @return string 824 820 */ … … 841 837 * 842 838 * @param string $username 843 *844 839 * @return bool 845 840 */ -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/header.php
r4075 r6374 3 3 * WordPress.tv Header Template 4 4 * 5 * @global $wptv5 * @global WordPressTV_Theme $wptv 6 6 */ 7 7 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/index.php
r1024 r6374 1 1 <?php 2 /* 2 /** 3 3 * WordCamp.tv Index Fallback 4 4 * 5 5 * It will be weird if somebody sees this (but okay if 404) 6 * 7 * @global WP_Query $wp_query 8 * @global WP_Post $post 9 * @global WordPressTV_Theme $wptv 6 10 */ 7 11 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/pagination.php
r1024 r6374 2 2 /** 3 3 * Pagination template part, use with get_template_part() 4 * 5 * @global WP_Query $wp_query 4 6 */ 5 7 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/search.php
r1024 r6374 1 1 <?php 2 /** 3 * 4 * @global WP_Query $wp_query 5 */ 6 2 7 global $wp_query; 3 8 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/sidebar-single.php
r1724 r6374 1 <?php global $wptv, $originalcontent; ?> 1 <?php 2 /** 3 * 4 * @global WordPressTV_Theme $wptv 5 * @global string $originalcontent 6 */ 7 8 global $wptv, $originalcontent; 9 ?> 2 10 3 11 <div class="secondary-content video-info"> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/single.php
r1024 r6374 2 2 /** 3 3 * Single Video Template 4 * 5 * @global WordPressTV_Theme $wptv 6 * @global string $originalcontent 4 7 */ 8 5 9 global $wptv, $originalcontent; 6 get_header(); the_post(); 10 11 get_header(); 12 the_post(); 7 13 ?> 8 14 <div class="wptv-hero group"> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/taxonomy-event.php
r1024 r6374 1 1 <?php 2 /* 2 /** 3 3 * Event Taxonomy Archives 4 4 * 5 5 * Displays for event listings like individual WordCamps. 6 * 7 * @global WP_Query $wp_query 8 * @global WordPressTV_Theme $wptv 6 9 * 7 10 * @todo cleanup and merge with category.php
Note: See TracChangeset
for help on using the changeset viewer.