Ticket #58715: 58715.patch
File 58715.patch, 3.0 KB (added by , 17 months ago) |
---|
-
wp-content/themes/twentysixteen/functions.php
23 23 * @package WordPress 24 24 * @subpackage Twenty_Sixteen 25 25 * @since Twenty Sixteen 1.0 26 * 27 * @global string $wp_version WordPress version. 26 28 */ 27 29 28 30 /** … … 43 45 * Create your own twentysixteen_setup() function to override in a child theme. 44 46 * 45 47 * @since Twenty Sixteen 1.0 48 * 49 * @global string $wp_version WordPress version. 46 50 */ 47 51 function twentysixteen_setup() { 48 52 /* -
wp-content/themes/twentytwelve/functions.php
175 175 * Enqueue scripts and styles for front end. 176 176 * 177 177 * @since Twenty Twelve 1.0 178 * 179 * @global WP_Styles $wp_styles 178 180 */ 179 181 function twentytwelve_scripts_styles() { 180 182 global $wp_styles; … … 226 228 * Add preconnect for Google Fonts. 227 229 * 228 230 * @since Twenty Twelve 2.2 231 * 232 * @global string $wp_version WordPress version. 233 * 229 234 * @deprecated Twenty Twelve 3.9 Disabled filter because, by default, fonts are self-hosted. 230 235 * 231 236 * @param array $urls URLs to print for resource hints. … … 284 289 * for output in head of document, based on current view. 285 290 * 286 291 * @since Twenty Twelve 1.0 292 * 293 * @global int $paged WordPress archive pagination page count. 294 * @global int $page WordPress paginated post page count. 287 295 * 288 296 * @param string $title Default title text for current view. 289 297 * @param string $sep Optional separator. … … 395 403 * Displays navigation to next/previous pages when applicable. 396 404 * 397 405 * @since Twenty Twelve 1.0 406 * 407 * @global WP_Query $wp_query WordPress Query object. 398 408 */ 399 409 function twentytwelve_content_nav( $html_id ) { 400 410 global $wp_query; … … 422 432 * @since Twenty Twelve 1.0 423 433 * 424 434 * @global WP_Post $post Global post object. 435 * @global WP_Comment $comment Global comment object. 425 436 */ 426 437 function twentytwelve_comment( $comment, $args, $depth ) { 427 438 $GLOBALS['comment'] = $comment; … … 614 625 * templates, and when there are no active widgets in the sidebar. 615 626 * 616 627 * @since Twenty Twelve 1.0 628 * 629 * @global int $content_width Content width. 617 630 */ 618 631 function twentytwelve_content_width() { 619 632 if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) { -
wp-content/themes/twentytwenty/functions.php
32 32 * as indicating support for post thumbnails. 33 33 * 34 34 * @since Twenty Twenty 1.0 35 * 36 * @global int $content_width 37 * 35 38 */ 36 39 function twentytwenty_theme_support() { 37 40