Make WordPress Themes

Changeset 267650


Ignore:
Timestamp:
04/15/2025 01:16:59 PM (7 months ago)
Author:
themedropbox
Message:

New version of Twenty Fourteen - 4.2

Location:
twentyfourteen/4.2
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • twentyfourteen/4.2/functions.php

    r248592 r267650  
    346346
    347347    // Load our main stylesheet.
    348     wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20241112' );
     348    wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20250415' );
    349349
    350350    // Theme block stylesheet.
  • twentyfourteen/4.2/header.php

    r248592 r267650  
    3333<body <?php body_class(); ?>>
    3434<?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>
    3541<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() ) ) ); ?>
    3643    <?php if ( get_header_image() ) : ?>
    3744    <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"' : ''; ?>>
    3946            <?php twentyfourteen_header_image(); ?>
    4047        </a>
     
    4451    <header id="masthead" class="site-header">
    4552        <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>
    4754
    4855            <div class="search-toggle">
     
    5764            <nav id="primary-navigation" class="site-navigation primary-navigation">
    5865                <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button>
    59                 <a class="screen-reader-text skip-link" href="#content">
    60                     <?php
    61                     /* translators: Hidden accessibility text. */
    62                     _e( 'Skip to content', 'twentyfourteen' );
    63                     ?>
    64                 </a>
    6566                <?php
    6667                wp_nav_menu(
  • twentyfourteen/4.2/inc/custom-header.php

    r207571 r267650  
    7777        .site-title,
    7878        .site-description {
    79             clip: rect(1px 1px 1px 1px); /* IE7 */
    80             clip: rect(1px, 1px, 1px, 1px);
     79            clip-path: inset(50%);
    8180            position: absolute;
    8281        }
  • twentyfourteen/4.2/inc/customizer.php

    r207571 r267650  
    143143 */
    144144function twentyfourteen_customize_preview_js() {
    145     wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20141015', 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 ) );
    146146}
    147147add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' );
  • twentyfourteen/4.2/inc/template-tags.php

    r188114 r267650  
    4848                'current'   => $paged,
    4949                'mid_size'  => 1,
    50                 'add_args'  => array_map( 'urlencode', $query_args ),
     50                'add_args'  => urlencode_deep( $query_args ),
    5151                'prev_text' => __( '&larr; Previous', 'twentyfourteen' ),
    5252                'next_text' => __( 'Next &rarr;', 'twentyfourteen' ),
  • twentyfourteen/4.2/js/customizer.js

    r151902 r267650  
    2121            if ( 'blank' === to ) {
    2222                $( '.site-title, .site-description' ).css( {
    23                     'clip': 'rect(1px, 1px, 1px, 1px)',
     23                    'clip-path': 'inset(50%)',
    2424                    'position': 'absolute'
    2525                } );
    2626            } else {
    2727                $( '.site-title,  .site-description' ).css( {
    28                     'clip': 'auto',
     28                    'clip-path': 'none',
    2929                    'position': 'static'
    3030                } );
  • twentyfourteen/4.2/readme.txt

    r248592 r267650  
    22Contributors: wordpressdotorg
    33Requires at least: 3.6
    4 Tested up to: 6.7
     4Tested up to: 6.8
    55Requires PHP: 5.2.4
    6 Stable tag: 4.1
     6Stable tag: 4.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1616== Installation ==
    1717
    18 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     181. In your admin panel, go to Appearance -> Themes and click the 'Add' button.
    19192. Type in Twenty Fourteen in the search form and press the 'Enter' key in your keyboard.
    20203. Click on the 'Activate' button to use your new theme right away.
     
    2424== Copyright ==
    2525
    26 Twenty Fourteen WordPress Theme, Copyright 2013-2024 WordPress.org, Automattic Inc., and contributors.
     26Twenty Fourteen WordPress Theme, Copyright 2013-2025 WordPress.org, Automattic Inc., and contributors.
    2727Twenty Fourteen is Distributed under the terms of the GNU GPL
    2828
     
    6565== Changelog ==
    6666
     67= 4.2 =
     68* Released: April 15, 2025
     69
     70https://wordpress.org/documentation/article/twenty-fourteen-changelog/#Version_4.2
     71
    6772= 4.1 =
    6873* Released: November 12, 2024
  • twentyfourteen/4.2/style.css

    r248592 r267650  
    55Author URI: https://wordpress.org/
    66Description: 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.1
     7Version: 4.2
    88Requires at least: 3.6
    9 Tested up to: 6.7
     9Tested up to: 6.8
    1010Requires PHP: 5.2.4
    1111License: GNU General Public License v2 or later
     
    721721
    722722.screen-reader-text {
    723     clip: rect(1px, 1px, 1px, 1px);
     723    clip-path: inset(50%);
    724724    overflow: hidden;
    725725    position: absolute !important;
     
    732732    border-radius: 3px;
    733733    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    734     clip: auto;
     734    clip-path: none;
    735735    color: #21759b;
    736736    display: block;
Note: See TracChangeset for help on using the changeset viewer.