Changeset 267650
- Timestamp:
- 04/15/2025 01:16:59 PM (7 months ago)
- Location:
- twentyfourteen/4.2
- Files:
-
- 8 edited
- 1 copied
-
. (copied) (copied from twentyfourteen/4.1)
-
functions.php (modified) (1 diff)
-
header.php (modified) (3 diffs)
-
inc/custom-header.php (modified) (1 diff)
-
inc/customizer.php (modified) (1 diff)
-
inc/template-tags.php (modified) (1 diff)
-
js/customizer.js (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
style.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
twentyfourteen/4.2/functions.php
r248592 r267650 346 346 347 347 // Load our main stylesheet. 348 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '202 41112' );348 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20250415' ); 349 349 350 350 // Theme block stylesheet. -
twentyfourteen/4.2/header.php
r248592 r267650 33 33 <body <?php body_class(); ?>> 34 34 <?php wp_body_open(); ?> 35 <a class="screen-reader-text skip-link" href="#content"> 36 <?php 37 /* translators: Hidden accessibility text. */ 38 _e( 'Skip to content', 'twentyfourteen' ); 39 ?> 40 </a> 35 41 <div id="page" class="hfeed site"> 42 <?php $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); ?> 36 43 <?php if ( get_header_image() ) : ?> 37 44 <div id="site-header"> 38 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" >45 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>> 39 46 <?php twentyfourteen_header_image(); ?> 40 47 </a> … … 44 51 <header id="masthead" class="site-header"> 45 52 <div class="header-main"> 46 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" ><?php bloginfo( 'name' ); ?></a></h1>53 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a></h1> 47 54 48 55 <div class="search-toggle"> … … 57 64 <nav id="primary-navigation" class="site-navigation primary-navigation"> 58 65 <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button> 59 <a class="screen-reader-text skip-link" href="#content">60 <?php61 /* translators: Hidden accessibility text. */62 _e( 'Skip to content', 'twentyfourteen' );63 ?>64 </a>65 66 <?php 66 67 wp_nav_menu( -
twentyfourteen/4.2/inc/custom-header.php
r207571 r267650 77 77 .site-title, 78 78 .site-description { 79 clip: rect(1px 1px 1px 1px); /* IE7 */ 80 clip: rect(1px, 1px, 1px, 1px); 79 clip-path: inset(50%); 81 80 position: absolute; 82 81 } -
twentyfourteen/4.2/inc/customizer.php
r207571 r267650 143 143 */ 144 144 function twentyfourteen_customize_preview_js() { 145 wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20 141015', array( 'in_footer' => true ) );145 wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20250217', array( 'in_footer' => true ) ); 146 146 } 147 147 add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' ); -
twentyfourteen/4.2/inc/template-tags.php
r188114 r267650 48 48 'current' => $paged, 49 49 'mid_size' => 1, 50 'add_args' => array_map( 'urlencode',$query_args ),50 'add_args' => urlencode_deep( $query_args ), 51 51 'prev_text' => __( '← Previous', 'twentyfourteen' ), 52 52 'next_text' => __( 'Next →', 'twentyfourteen' ), -
twentyfourteen/4.2/js/customizer.js
r151902 r267650 21 21 if ( 'blank' === to ) { 22 22 $( '.site-title, .site-description' ).css( { 23 'clip ': 'rect(1px, 1px, 1px, 1px)',23 'clip-path': 'inset(50%)', 24 24 'position': 'absolute' 25 25 } ); 26 26 } else { 27 27 $( '.site-title, .site-description' ).css( { 28 'clip ': 'auto',28 'clip-path': 'none', 29 29 'position': 'static' 30 30 } ); -
twentyfourteen/4.2/readme.txt
r248592 r267650 2 2 Contributors: wordpressdotorg 3 3 Requires at least: 3.6 4 Tested up to: 6. 74 Tested up to: 6.8 5 5 Requires PHP: 5.2.4 6 Stable tag: 4. 16 Stable tag: 4.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 16 16 == Installation == 17 17 18 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.18 1. In your admin panel, go to Appearance -> Themes and click the 'Add' button. 19 19 2. Type in Twenty Fourteen in the search form and press the 'Enter' key in your keyboard. 20 20 3. Click on the 'Activate' button to use your new theme right away. … … 24 24 == Copyright == 25 25 26 Twenty Fourteen WordPress Theme, Copyright 2013-202 4WordPress.org, Automattic Inc., and contributors.26 Twenty Fourteen WordPress Theme, Copyright 2013-2025 WordPress.org, Automattic Inc., and contributors. 27 27 Twenty Fourteen is Distributed under the terms of the GNU GPL 28 28 … … 65 65 == Changelog == 66 66 67 = 4.2 = 68 * Released: April 15, 2025 69 70 https://wordpress.org/documentation/article/twenty-fourteen-changelog/#Version_4.2 71 67 72 = 4.1 = 68 73 * Released: November 12, 2024 -
twentyfourteen/4.2/style.css
r248592 r267650 5 5 Author URI: https://wordpress.org/ 6 6 Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. 7 Version: 4. 17 Version: 4.2 8 8 Requires at least: 3.6 9 Tested up to: 6. 79 Tested up to: 6.8 10 10 Requires PHP: 5.2.4 11 11 License: GNU General Public License v2 or later … … 721 721 722 722 .screen-reader-text { 723 clip : rect(1px, 1px, 1px, 1px);723 clip-path: inset(50%); 724 724 overflow: hidden; 725 725 position: absolute !important; … … 732 732 border-radius: 3px; 733 733 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 734 clip : auto;734 clip-path: none; 735 735 color: #21759b; 736 736 display: block;
Note: See TracChangeset
for help on using the changeset viewer.