Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyeleven/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Register Block Pattern Category.
* Registers Block Pattern Category.
*/
if ( function_exists( 'register_block_pattern_category' ) ) {

Expand All @@ -22,7 +22,7 @@
}

/**
* Register Block Patterns.
* Registers Block Patterns.
*/
if ( function_exists( 'register_block_pattern' ) ) {

Expand Down
28 changes: 14 additions & 14 deletions src/wp-content/themes/twentyfifteen/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Twenty Fifteen functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* Sets 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
* hooks in WordPress to change core functionality.
*
Expand All @@ -26,7 +26,7 @@
*/

/**
* Set the content width based on the theme's design and stylesheet.
* Sets the content width based on the theme's design and stylesheet.
*
* @since Twenty Fifteen 1.0
*/
Expand All @@ -43,7 +43,7 @@

if ( ! function_exists( 'twentyfifteen_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
* Set up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
Expand Down Expand Up @@ -97,7 +97,7 @@ function twentyfifteen_setup() {
);

/*
* Switch default core markup for search form, comment form, and comments
* Switches default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support(
Expand Down Expand Up @@ -338,7 +338,7 @@ function twentyfifteen_setup() {
add_action( 'after_setup_theme', 'twentyfifteen_setup' );

/**
* Register widget area.
* Registers widget area.
*
* @since Twenty Fifteen 1.0
*
Expand All @@ -361,7 +361,7 @@ function twentyfifteen_widgets_init() {

if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
/**
* Register fonts for Twenty Fifteen.
* Registers fonts for Twenty Fifteen.
*
* @since Twenty Fifteen 1.0
* @since Twenty Fifteen 3.4 Replaced Google URL with self-hosted fonts.
Expand Down Expand Up @@ -417,7 +417,7 @@ function twentyfifteen_javascript_detection() {
add_action( 'wp_head', 'twentyfifteen_javascript_detection', 0 );

/**
* Enqueue scripts and styles.
* Enqueues scripts and styles.
*
* @since Twenty Fifteen 1.0
*/
Expand Down Expand Up @@ -478,7 +478,7 @@ function twentyfifteen_scripts() {
add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );

/**
* Enqueue styles for the block-based editor.
* Enqueues styles for the block-based editor.
*
* @since Twenty Fifteen 2.1
*/
Expand All @@ -493,7 +493,7 @@ function twentyfifteen_block_editor_styles() {


/**
* Add preconnect for Google Fonts.
* Adds preconnect for Google Fonts.
*
* @since Twenty Fifteen 1.7
* @deprecated Twenty Fifteen 3.4 Disabled filter because, by default, fonts are self-hosted.
Expand All @@ -519,7 +519,7 @@ function twentyfifteen_resource_hints( $urls, $relation_type ) {
// add_filter( 'wp_resource_hints', 'twentyfifteen_resource_hints', 10, 2 );

/**
* Add featured image as background image to post navigation elements.
* Adds featured image as background image to post navigation elements.
*
* @since Twenty Fifteen 1.0
*
Expand Down Expand Up @@ -561,7 +561,7 @@ function twentyfifteen_post_nav_background() {
add_action( 'wp_enqueue_scripts', 'twentyfifteen_post_nav_background' );

/**
* Display descriptions in main navigation.
* Displays descriptions in main navigation.
*
* @since Twenty Fifteen 1.0
*
Expand All @@ -581,7 +581,7 @@ function twentyfifteen_nav_description( $item_output, $item, $depth, $args ) {
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.
* Adds a `screen-reader-text` class to the search form's submit button.
*
* @since Twenty Fifteen 1.0
*
Expand Down Expand Up @@ -636,7 +636,7 @@ function twentyfifteen_author_bio_template( $template ) {


/**
* Implement the Custom Header feature.
* Implements the Custom Header feature.
*
* @since Twenty Fifteen 1.0
*/
Expand All @@ -657,7 +657,7 @@ function twentyfifteen_author_bio_template( $template ) {
require get_template_directory() . '/inc/customizer.php';

/**
* Register block patterns and pattern categories.
* Registers block patterns and pattern categories.
*
* @since Twenty Fifteen 3.9
*/
Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentyfifteen/inc/back-compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function twentyfifteen_switch_theme() {
add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' );

/**
* Add message for unsuccessful theme switch.
* Adds message for unsuccessful theme switch.
*
* Prints an update nag after an unsuccessful attempt to switch to
* Twenty Fifteen on WordPress versions prior to 4.1.
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfifteen/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Register Block Pattern Category.
* Registers Block Pattern Category.
*/
if ( function_exists( 'register_block_pattern_category' ) ) {

Expand All @@ -22,7 +22,7 @@
}

/**
* Register Block Patterns.
* Registers Block Patterns.
*/
if ( function_exists( 'register_block_pattern' ) ) {

Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentyfifteen/inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

/**
* Set up the WordPress core custom header feature.
* Sets up the WordPress core custom header feature.
*
* @uses twentyfifteen_header_style()
*/
Expand Down
6 changes: 3 additions & 3 deletions src/wp-content/themes/twentyfifteen/inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

/**
* Add postMessage support for site title and description for the Customizer.
* Adds postMessage support for site title and description for the Customizer.
*
* @since Twenty Fifteen 1.0
*
Expand Down Expand Up @@ -139,7 +139,7 @@ function twentyfifteen_customize_partial_blogdescription() {
}

/**
* Register color schemes for Twenty Fifteen.
* Registers color schemes for Twenty Fifteen.
*
* Can be filtered with {@see 'twentyfifteen_color_schemes'}.
*
Expand Down Expand Up @@ -252,7 +252,7 @@ function twentyfifteen_get_color_schemes() {

if ( ! function_exists( 'twentyfifteen_get_color_scheme' ) ) :
/**
* Get the current Twenty Fifteen color scheme.
* Gets the current Twenty Fifteen color scheme.
*
* @since Twenty Fifteen 1.0
*
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfifteen/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) :
/**
* Display navigation to next/previous comments when applicable.
* Displays navigation to next/previous comments when applicable.
*
* @since Twenty Fifteen 1.0
*/
Expand Down Expand Up @@ -199,7 +199,7 @@ function twentyfifteen_category_transient_flusher() {

if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
/**
* Display an optional post thumbnail.
* Displays an optional post thumbnail.
*
* Wraps the post thumbnail in an anchor element on index views, or a div
* element when on single views.
Expand Down
24 changes: 12 additions & 12 deletions src/wp-content/themes/twentyfourteen/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Twenty Fourteen functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* Sets 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
* hooks in WordPress to change core functionality.
*
Expand All @@ -26,7 +26,7 @@
*/

/**
* Set up the content width value based on the theme's design.
* Sets up the content width value based on the theme's design.
*
* @see twentyfourteen_content_width()
*
Expand Down Expand Up @@ -148,7 +148,7 @@ function twentyfourteen_setup() {
);

/*
* Switch default core markup for search form, comment form, and comments
* Switches default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support(
Expand Down Expand Up @@ -264,7 +264,7 @@ function twentyfourteen_has_featured_posts() {
}

/**
* Register three Twenty Fourteen widget areas.
* Registers three Twenty Fourteen widget areas.
*
* @since Twenty Fourteen 1.0
*/
Expand Down Expand Up @@ -310,7 +310,7 @@ function twentyfourteen_widgets_init() {

if ( ! function_exists( 'twentyfourteen_font_url' ) ) :
/**
* Register Lato font for Twenty Fourteen.
* Registers Lato font for Twenty Fourteen.
*
* @since Twenty Fourteen 1.0
* @since Twenty Fourteen 3.6 Replaced Google URL with self-hosted fonts.
Expand All @@ -332,7 +332,7 @@ function twentyfourteen_font_url() {
endif;

/**
* Enqueue scripts and styles for the front end.
* Enqueues scripts and styles for the front end.
*
* @since Twenty Fourteen 1.0
*/
Expand Down Expand Up @@ -401,7 +401,7 @@ function twentyfourteen_scripts() {
add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' );

/**
* Enqueue font stylesheet to admin screen for custom header display.
* Enqueues font stylesheet to admin screen for custom header display.
*
* @since Twenty Fourteen 1.0
*/
Expand All @@ -412,7 +412,7 @@ function twentyfourteen_admin_fonts() {
add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen_admin_fonts' );

/**
* Add preconnect for Google Fonts.
* Adds preconnect for Google Fonts.
*
* @since Twenty Fourteen 1.9
* @deprecated Twenty Fourteen 3.6 Disabled filter because, by default, fonts are self-hosted.
Expand All @@ -438,7 +438,7 @@ function twentyfourteen_resource_hints( $urls, $relation_type ) {
// add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 );

/**
* Enqueue styles for the block-based editor.
* Enqueues styles for the block-based editor.
*
* @since Twenty Fourteen 2.3
*/
Expand Down Expand Up @@ -729,7 +729,7 @@ function twentyfourteen_widget_tag_cloud_args( $args ) {
require get_template_directory() . '/inc/customizer.php';

/**
* Register block patterns and pattern categories.
* Registers block patterns and pattern categories.
*
* @since Twenty Fourteen 4.1
*/
Expand All @@ -740,7 +740,7 @@ function twentyfourteen_register_block_patterns() {
add_action( 'init', 'twentyfourteen_register_block_patterns' );

/*
* Add Featured Content functionality.
* Adds Featured Content functionality.
*
* To overwrite in a plugin, define your own Featured_Content class on or
* before the 'setup_theme' hook.
Expand All @@ -750,7 +750,7 @@ function twentyfourteen_register_block_patterns() {
}

/**
* Add an `is_customize_preview` function if it is missing.
* Adds an `is_customize_preview` function if it is missing.
*
* Enables installing Twenty Fourteen in WordPress versions before 4.0.0 when the
* `is_customize_preview` function was introduced.
Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentyfourteen/inc/back-compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function twentyfourteen_switch_theme() {
add_action( 'after_switch_theme', 'twentyfourteen_switch_theme' );

/**
* Add message for unsuccessful theme switch.
* Adds message for unsuccessful theme switch.
*
* Prints an update nag after an unsuccessful attempt to switch to
* Twenty Fourteen on WordPress versions prior to 3.6.
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfourteen/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Register Block Pattern Category.
* Registers Block Pattern Category.
*/
if ( function_exists( 'register_block_pattern_category' ) ) {

Expand All @@ -22,7 +22,7 @@
}

/**
* Register Block Patterns.
* Registers Block Patterns.
*/
if ( function_exists( 'register_block_pattern' ) ) {

Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfourteen/inc/custom-header.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* Implement Custom Header functionality for Twenty Fourteen
* Implements Custom Header functionality for Twenty Fourteen
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/

/**
* Set up the WordPress core custom header settings.
* Sets up the WordPress core custom header settings.
*
* @since Twenty Fourteen 1.0
*
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentyfourteen/inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

/**
* Implement Customizer additions and adjustments.
* Implements Customizer additions and adjustments.
*
* @since Twenty Fourteen 1.0
*
Expand Down Expand Up @@ -147,7 +147,7 @@ function twentyfourteen_customize_preview_js() {
add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' );

/**
* Add contextual help to the Themes and Post edit screens.
* Adds contextual help to the Themes and Post edit screens.
*
* @since Twenty Fourteen 1.0
*/
Expand Down
Loading
Loading