Twenty Fifteen: Formatting cleanup for documentation, crossing eyes, dotting tees.
Props lancewillett, MikeHansenMe, fixes #30149. Built from https://develop.svn.wordpress.org/trunk@30233 git-svn-id: http://core.svn.wordpress.org/trunk@30233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2d03edb0d
commit
d21ea0a251
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying Author bios
|
* The template for displaying Author bios.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Twenty_Fifteen
|
* @subpackage Twenty_Fifteen
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template used for displaying page content in page.php
|
* The template used for displaying page content.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Twenty_Fifteen
|
* @subpackage Twenty_Fifteen
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The default template for displaying content
|
* The default template for displaying content.
|
||||||
*
|
*
|
||||||
* Used for both single and index/archive/search.
|
* Used for both single and index/archive/search.
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* The template for displaying the footer.
|
* The template for displaying the footer.
|
||||||
*
|
*
|
||||||
* Contains the closing of the #content div and all content after.
|
* Contains the closing of the "site-content" div and all content after.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Twenty_Fifteen
|
* @subpackage Twenty_Fifteen
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Twenty Fifteen functions and definitions
|
* Twenty Fifteen functions and definitions.
|
||||||
*
|
*
|
||||||
* Set up the theme and provides some helper functions, which are used in the
|
* Set up the theme and provides some helper functions, which are used in the
|
||||||
* theme as custom template tags. Others are attached to action and filter
|
* theme as custom template tags. Others are attached to action and filter
|
||||||
|
@ -241,7 +241,7 @@ function twentyfifteen_scripts() {
|
||||||
add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
|
add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add featured image as background image to post navs.
|
* Add featured image as background image to post navigation elements.
|
||||||
*
|
*
|
||||||
* @since Twenty Fifteen 1.0
|
* @since Twenty Fifteen 1.0
|
||||||
*/
|
*/
|
||||||
|
@ -302,7 +302,7 @@ function twentyfifteen_nav_description( $item_output, $item, $depth, $args ) {
|
||||||
add_filter( 'walker_nav_menu_start_el', 'twentyfifteen_nav_description', 10, 4 );
|
add_filter( 'walker_nav_menu_start_el', 'twentyfifteen_nav_description', 10, 4 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a `screen-reader-text` class to the search form's submit button
|
* Add a `screen-reader-text` class to the search form's submit button.
|
||||||
*
|
*
|
||||||
* @since Twenty Fifteen 1.0
|
* @since Twenty Fifteen 1.0
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* The header for our theme.
|
* The header for our theme.
|
||||||
*
|
*
|
||||||
* Displays all of the <head> section and everything up till <div id="content">
|
* Displays all of the <head> section and everything up until the "site-content" div.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Twenty_Fifteen
|
* @subpackage Twenty_Fifteen
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Twenty Fifteen back compat functionality
|
* Twenty Fifteen back compat functionality.
|
||||||
*
|
*
|
||||||
* Prevents Twenty Fifteen from running on WordPress versions prior to 4.1,
|
* Prevents Twenty Fifteen from running on WordPress versions prior to 4.1,
|
||||||
* since this theme is not meant to be backward compatible beyond that
|
* since this theme is not meant to be backward compatible beyond that
|
||||||
|
|
|
@ -151,7 +151,7 @@ function twentyfifteen_get_color_schemes() {
|
||||||
|
|
||||||
if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) :
|
if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) :
|
||||||
/**
|
/**
|
||||||
* Returns an array of either the current or default color scheme hex values
|
* Returns an array of either the current or default color scheme hex values.
|
||||||
*
|
*
|
||||||
* @since Twenty Fifteen 1.0
|
* @since Twenty Fifteen 1.0
|
||||||
*
|
*
|
||||||
|
@ -639,7 +639,7 @@ add_action( 'wp_enqueue_scripts', 'twentyfifteen_color_scheme_css' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Binds JS listener to make Customizer color_scheme control.
|
* Binds JS listener to make Customizer color_scheme control.
|
||||||
* Passes color scheme data as colorScheme global
|
* Passes color scheme data as colorScheme global.
|
||||||
*
|
*
|
||||||
* @since Twenty Fifteen 1.0
|
* @since Twenty Fifteen 1.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global screenReaderText */
|
/* global screenReaderText */
|
||||||
/**
|
/**
|
||||||
* Theme functions file
|
* Theme functions file.
|
||||||
*
|
*
|
||||||
* Contains handlers for navigation and widget area.
|
* Contains handlers for navigation and widget area.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying all pages.
|
* The template for displaying pages.
|
||||||
*
|
*
|
||||||
* This is the template that displays all pages by default.
|
* This is the template that displays all pages by default.
|
||||||
* Please note that this is the WordPress construct of pages and that
|
* Please note that this is the WordPress construct of pages and that
|
||||||
* other 'pages' on your WordPress site will use a different template.
|
* other "pages" on your WordPress site will use a different template.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Twenty_Fifteen
|
* @subpackage Twenty_Fifteen
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.1-alpha-30232';
|
$wp_version = '4.1-alpha-30233';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue