diff --git a/src/wp-content/themes/twentyeleven/inc/block-patterns.php b/src/wp-content/themes/twentyeleven/inc/block-patterns.php index 27b37be5005ce..14b2e678c4ce4 100644 --- a/src/wp-content/themes/twentyeleven/inc/block-patterns.php +++ b/src/wp-content/themes/twentyeleven/inc/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index 0e4e0a7963aef..5c7e68c77791a 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/wp-content/themes/twentyfifteen/functions.php @@ -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. * @@ -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 */ @@ -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 @@ -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( @@ -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 * @@ -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. @@ -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 */ @@ -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 */ @@ -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. @@ -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 * @@ -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 * @@ -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 * @@ -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 */ @@ -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 */ diff --git a/src/wp-content/themes/twentyfifteen/inc/back-compat.php b/src/wp-content/themes/twentyfifteen/inc/back-compat.php index 6b871f5e0edfc..457fa94de83b9 100644 --- a/src/wp-content/themes/twentyfifteen/inc/back-compat.php +++ b/src/wp-content/themes/twentyfifteen/inc/back-compat.php @@ -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. diff --git a/src/wp-content/themes/twentyfifteen/inc/block-patterns.php b/src/wp-content/themes/twentyfifteen/inc/block-patterns.php index 0e220d3ebe97a..58756e9ae219a 100644 --- a/src/wp-content/themes/twentyfifteen/inc/block-patterns.php +++ b/src/wp-content/themes/twentyfifteen/inc/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { diff --git a/src/wp-content/themes/twentyfifteen/inc/custom-header.php b/src/wp-content/themes/twentyfifteen/inc/custom-header.php index 0305c69027bfa..462ace4544348 100644 --- a/src/wp-content/themes/twentyfifteen/inc/custom-header.php +++ b/src/wp-content/themes/twentyfifteen/inc/custom-header.php @@ -8,7 +8,7 @@ */ /** - * Set up the WordPress core custom header feature. + * Sets up the WordPress core custom header feature. * * @uses twentyfifteen_header_style() */ diff --git a/src/wp-content/themes/twentyfifteen/inc/customizer.php b/src/wp-content/themes/twentyfifteen/inc/customizer.php index 6e8451dd3e7b7..e64daecf63652 100644 --- a/src/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/src/wp-content/themes/twentyfifteen/inc/customizer.php @@ -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 * @@ -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'}. * @@ -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 * diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php index 475e6cfe613c2..fb5d2d90df120 100644 --- a/src/wp-content/themes/twentyfifteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfifteen/inc/template-tags.php @@ -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 */ @@ -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. diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 8958126618292..d9400de68f831 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -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. * @@ -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() * @@ -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( @@ -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 */ @@ -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. @@ -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 */ @@ -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 */ @@ -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. @@ -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 */ @@ -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 */ @@ -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. @@ -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. diff --git a/src/wp-content/themes/twentyfourteen/inc/back-compat.php b/src/wp-content/themes/twentyfourteen/inc/back-compat.php index a0e0b118d63b1..243dff56aa25c 100644 --- a/src/wp-content/themes/twentyfourteen/inc/back-compat.php +++ b/src/wp-content/themes/twentyfourteen/inc/back-compat.php @@ -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. diff --git a/src/wp-content/themes/twentyfourteen/inc/block-patterns.php b/src/wp-content/themes/twentyfourteen/inc/block-patterns.php index b3bc376192074..0cce1b1e690b9 100644 --- a/src/wp-content/themes/twentyfourteen/inc/block-patterns.php +++ b/src/wp-content/themes/twentyfourteen/inc/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { diff --git a/src/wp-content/themes/twentyfourteen/inc/custom-header.php b/src/wp-content/themes/twentyfourteen/inc/custom-header.php index 1fe2734f5acd0..d4afcb6c805c3 100644 --- a/src/wp-content/themes/twentyfourteen/inc/custom-header.php +++ b/src/wp-content/themes/twentyfourteen/inc/custom-header.php @@ -1,6 +1,6 @@ Reading screen. + * Registers custom setting on the Settings -> Reading screen. * * @since Twenty Fourteen 1.0 */ @@ -369,7 +369,7 @@ public static function register_setting() { } /** - * Add settings to the Customizer. + * Adds settings to the Customizer. * * @since Twenty Fourteen 1.0 * @@ -430,7 +430,7 @@ public static function customize_register( $wp_customize ) { } /** - * Enqueue the tag suggestion script. + * Enqueues the tag suggestion script. * * @since Twenty Fourteen 1.0 */ @@ -439,9 +439,9 @@ public static function enqueue_scripts() { } /** - * Get featured content settings. + * Gets featured content settings. * - * Get all settings recognized by this module. This function + * Gets all settings recognized by this module. This function * will return all settings whether or not they have been stored * in the database yet. This ensures that all keys are available * at all times. diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php index 26def1afc0959..eb61f2d85e11a 100644 --- a/src/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -9,7 +9,7 @@ if ( ! function_exists( 'twentyfourteen_paging_nav' ) ) : /** - * Display navigation to next/previous set of posts when applicable. + * Displays navigation to next/previous set of posts when applicable. * * @since Twenty Fourteen 1.0 * @@ -39,7 +39,7 @@ function twentyfourteen_paging_nav() { $format = $wp_rewrite->using_index_permalinks() && ! strpos( $pagenum_link, 'index.php' ) ? 'index.php/' : ''; $format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( $wp_rewrite->pagination_base . '/%#%', 'paged' ) : '?paged=%#%'; - // Set up paginated links. + // Sets up paginated links. $links = paginate_links( array( 'base' => $pagenum_link, @@ -74,7 +74,7 @@ function twentyfourteen_paging_nav() { if ( ! function_exists( 'twentyfourteen_post_nav' ) ) : /** - * Display navigation to next/previous post when applicable. + * Displays navigation to next/previous post when applicable. * * @since Twenty Fourteen 1.0 */ @@ -121,7 +121,7 @@ function twentyfourteen_posted_on() { echo '' . __( 'Sticky', 'twentyfourteen' ) . ''; } - // Set up and print post meta information. + // Sets up and print post meta information. printf( ' ', esc_url( get_permalink() ), @@ -179,7 +179,7 @@ function twentyfourteen_category_transient_flusher() { if ( ! function_exists( 'twentyfourteen_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. diff --git a/src/wp-content/themes/twentyfourteen/inc/widgets.php b/src/wp-content/themes/twentyfourteen/inc/widgets.php index bde40f1569714..dc014bcc0746e 100644 --- a/src/wp-content/themes/twentyfourteen/inc/widgets.php +++ b/src/wp-content/themes/twentyfourteen/inc/widgets.php @@ -45,7 +45,7 @@ public function __construct() { } /** - * Enqueue scripts. + * Enqueues scripts. * * @since Twenty Fourteen 1.7 */ @@ -280,7 +280,7 @@ public function update( $new_instance, $old_instance ) { } /** - * Display the form for this widget on the Widgets page of the Admin area. + * Displays the form for this widget on the Widgets page of the Admin area. * * @since Twenty Fourteen 1.0 * diff --git a/src/wp-content/themes/twentynineteen/functions.php b/src/wp-content/themes/twentynineteen/functions.php index c64ddc6748f97..6c8e8bea1c8c4 100644 --- a/src/wp-content/themes/twentynineteen/functions.php +++ b/src/wp-content/themes/twentynineteen/functions.php @@ -19,7 +19,7 @@ if ( ! function_exists( 'twentynineteen_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 @@ -56,7 +56,7 @@ function twentynineteen_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( @@ -74,7 +74,7 @@ function twentynineteen_setup() { ); /** - * Add support for core custom logo. + * Adds support for core custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ @@ -190,7 +190,7 @@ function wp_get_list_item_separator() { endif; /** - * Register widget area. + * Registers widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ @@ -235,7 +235,7 @@ function twentynineteen_excerpt_more( $link ) { add_filter( 'excerpt_more', 'twentynineteen_excerpt_more' ); /** - * Set the content width in pixels, based on the theme's design and stylesheet. + * Sets the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * @@ -311,7 +311,7 @@ function twentynineteen_skip_link_focus_fix() { } /** - * Enqueue supplemental block editor styles. + * Enqueues supplemental block editor styles. */ function twentynineteen_editor_customizer_styles() { @@ -326,7 +326,7 @@ function twentynineteen_editor_customizer_styles() { add_action( 'enqueue_block_editor_assets', 'twentynineteen_editor_customizer_styles' ); /** - * Display custom color CSS in customizer and on frontend. + * Displays custom color CSS in customizer and on frontend. */ function twentynineteen_colors_css_wrap() { @@ -386,7 +386,7 @@ function twentynineteen_colors_css_wrap() { require get_template_directory() . '/inc/customizer.php'; /** - * Register block patterns and pattern categories. + * Registers block patterns and pattern categories. * * @since Twenty Nineteen 3.0 */ diff --git a/src/wp-content/themes/twentynineteen/inc/block-patterns.php b/src/wp-content/themes/twentynineteen/inc/block-patterns.php index 63154c6d0a58c..54f1817abab53 100644 --- a/src/wp-content/themes/twentynineteen/inc/block-patterns.php +++ b/src/wp-content/themes/twentynineteen/inc/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { diff --git a/src/wp-content/themes/twentynineteen/inc/customizer.php b/src/wp-content/themes/twentynineteen/inc/customizer.php index 2012b09a7f10e..753b62c5fa386 100644 --- a/src/wp-content/themes/twentynineteen/inc/customizer.php +++ b/src/wp-content/themes/twentynineteen/inc/customizer.php @@ -8,7 +8,7 @@ */ /** - * Add postMessage support for site title and description for the Theme Customizer. + * Adds postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ diff --git a/src/wp-content/themes/twentynineteen/inc/icon-functions.php b/src/wp-content/themes/twentynineteen/inc/icon-functions.php index 9c9db02492f07..2ac4cffd6bd21 100644 --- a/src/wp-content/themes/twentynineteen/inc/icon-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/icon-functions.php @@ -38,7 +38,7 @@ function twentynineteen_get_social_link_svg( $uri, $size = 24 ) { } /** - * Display SVG icons in social links menu. + * Displays SVG icons in social links menu. * * @param string $item_output The menu item's starting HTML output. * @param WP_Post $item Menu item data object. @@ -61,7 +61,7 @@ function twentynineteen_nav_menu_social_icons( $item_output, $item, $depth, $arg add_filter( 'walker_nav_menu_start_el', 'twentynineteen_nav_menu_social_icons', 10, 4 ); /** - * Add a dropdown icon to top-level menu items. + * Adds a dropdown icon to top-level menu items. * * @param string $item_output The menu item's starting HTML output. * @param WP_Post $item Menu item data object. diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index b99176fc49bf8..1e7f2d12daebb 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -65,7 +65,7 @@ function twentyseventeen_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( @@ -244,7 +244,7 @@ function twentyseventeen_setup() { add_action( 'after_setup_theme', 'twentyseventeen_setup' ); /** - * Set the content width in pixels, based on the theme's design and stylesheet. + * Sets the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * @@ -284,7 +284,7 @@ function twentyseventeen_content_width() { if ( ! function_exists( 'twentyseventeen_fonts_url' ) ) : /** - * Register custom fonts. + * Registers custom fonts. * * @since Twenty Seventeen 1.0 * @since Twenty Seventeen 3.2 Replaced Google URL with self-hosted fonts. @@ -309,7 +309,7 @@ function twentyseventeen_fonts_url() { endif; /** - * Add preconnect for Google Fonts. + * Adds preconnect for Google Fonts. * * @since Twenty Seventeen 1.0 * @deprecated Twenty Seventeen 3.2 Disabled filter because, by default, fonts are self-hosted. @@ -331,7 +331,7 @@ function twentyseventeen_resource_hints( $urls, $relation_type ) { // add_filter( 'wp_resource_hints', 'twentyseventeen_resource_hints', 10, 2 ); /** - * Register widget area. + * Registers widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ @@ -411,7 +411,7 @@ function twentyseventeen_javascript_detection() { add_action( 'wp_head', 'twentyseventeen_javascript_detection', 0 ); /** - * Add a pingback url auto-discovery header for singularly identifiable articles. + * Adds a pingback url auto-discovery header for singularly identifiable articles. */ function twentyseventeen_pingback_header() { if ( is_singular() && pings_open() ) { @@ -421,7 +421,7 @@ function twentyseventeen_pingback_header() { add_action( 'wp_head', 'twentyseventeen_pingback_header' ); /** - * Display custom color CSS. + * Displays custom color CSS. */ function twentyseventeen_colors_css_wrap() { if ( 'custom' !== get_theme_mod( 'colorscheme' ) && ! is_customize_preview() ) { @@ -551,7 +551,7 @@ function twentyseventeen_block_editor_styles() { add_action( 'enqueue_block_editor_assets', 'twentyseventeen_block_editor_styles' ); /** - * Add custom image sizes attribute to enhance responsive image functionality + * Adds custom image sizes attribute to enhance responsive image functionality * for content images. * * @since Twenty Seventeen 1.0 @@ -598,7 +598,7 @@ function twentyseventeen_header_image_tag( $html, $header, $attr ) { add_filter( 'get_header_image_tag', 'twentyseventeen_header_image_tag', 10, 3 ); /** - * Add custom image sizes attribute to enhance responsive image functionality + * Adds custom image sizes attribute to enhance responsive image functionality * for post thumbnails. * * @since Twenty Seventeen 1.0 @@ -622,7 +622,7 @@ function twentyseventeen_post_thumbnail_sizes_attr( $attr, $attachment, $size ) add_filter( 'wp_get_attachment_image_attributes', 'twentyseventeen_post_thumbnail_sizes_attr', 10, 3 ); /** - * Use front-page.php when Front page displays is set to a static page. + * Uses front-page.php when Front page displays is set to a static page. * * @since Twenty Seventeen 1.0 * @@ -692,10 +692,10 @@ function wp_get_list_item_separator() { endif; /** - * Show the featured image below the header on single posts and pages, unless the - * page is the front page. + * Shows the featured image below the header on single posts and pages, unless + * the page is the front page. * - * Use the filter `twentyseventeen_should_show_featured_image` in a child theme or + * Uses the filter `twentyseventeen_should_show_featured_image` in a child theme or * plugin to change when the image is shown. This example prevents the image * from showing: * @@ -724,7 +724,7 @@ function twentyseventeen_should_show_featured_image() { } /** - * Implement the Custom Header feature. + * Implements the Custom Header feature. */ require get_parent_theme_file_path( '/inc/custom-header.php' ); @@ -749,7 +749,7 @@ function twentyseventeen_should_show_featured_image() { require get_parent_theme_file_path( '/inc/icon-functions.php' ); /** - * Register block patterns and pattern categories. + * Registers block patterns and pattern categories. * * @since Twenty Seventeen 3.8 */ diff --git a/src/wp-content/themes/twentyseventeen/inc/block-patterns.php b/src/wp-content/themes/twentyseventeen/inc/block-patterns.php index e924ce7e29412..8d12e283f018f 100644 --- a/src/wp-content/themes/twentyseventeen/inc/block-patterns.php +++ b/src/wp-content/themes/twentyseventeen/inc/block-patterns.php @@ -8,7 +8,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -19,7 +19,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { register_block_pattern( @@ -150,11 +150,11 @@ 'content' => ' - +

' . esc_html__( 'Our Services', 'twentyseventeen' ) . '

- +
@@ -163,7 +163,7 @@
- +
@@ -171,7 +171,7 @@
- + ', @@ -187,7 +187,7 @@

' . esc_html__( 'We are proud to serve outstanding clients.', 'twentyseventeen' ) . '

- +
diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index 7f57f9d7e2551..2777bbb4a1349 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -10,7 +10,7 @@ */ /** - * Set up the WordPress core custom header feature. + * Sets up the WordPress core custom header feature. * * @uses twentyseventeen_header_style() */ diff --git a/src/wp-content/themes/twentyseventeen/inc/customizer.php b/src/wp-content/themes/twentyseventeen/inc/customizer.php index 516c2543838cb..23018f4a90a91 100644 --- a/src/wp-content/themes/twentyseventeen/inc/customizer.php +++ b/src/wp-content/themes/twentyseventeen/inc/customizer.php @@ -8,7 +8,7 @@ */ /** - * Add postMessage support for site title and description for the Theme Customizer. + * Adds postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ diff --git a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php index 82a1ebedcc2e0..8dde036d10282 100644 --- a/src/wp-content/themes/twentyseventeen/inc/icon-functions.php +++ b/src/wp-content/themes/twentyseventeen/inc/icon-functions.php @@ -8,7 +8,7 @@ */ /** - * Add SVG definitions to the footer. + * Adds SVG definitions to the footer. */ function twentyseventeen_include_svg_icons() { // Define SVG sprite file. @@ -96,7 +96,7 @@ function twentyseventeen_get_svg( $args = array() ) { } /* - * Display the icon. + * Displays the icon. * * The whitespace around `` is intentional - it is a work around to a keyboard navigation bug in Safari 10. * @@ -115,7 +115,7 @@ function twentyseventeen_get_svg( $args = array() ) { } /** - * Display SVG icons in social links menu. + * Displays SVG icons in social links menu. * * @param string $item_output The menu item's starting HTML output. * @param WP_Post $item Menu item data object. @@ -141,7 +141,7 @@ function twentyseventeen_nav_menu_social_icons( $item_output, $item, $depth, $ar add_filter( 'walker_nav_menu_start_el', 'twentyseventeen_nav_menu_social_icons', 10, 4 ); /** - * Add dropdown icon if menu item has children. + * Adds dropdown icon if menu item has children. * * @param string $title The menu item's title. * @param WP_Post $item The current menu item. diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index 778ae2559bb45..458283bed2db5 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -2,7 +2,7 @@ /** * Twenty Sixteen 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. * @@ -34,7 +34,7 @@ if ( ! function_exists( 'twentysixteen_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 @@ -102,7 +102,7 @@ function twentysixteen_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( @@ -251,7 +251,7 @@ function twentysixteen_content_width() { add_action( 'after_setup_theme', 'twentysixteen_content_width', 0 ); /** - * Add preconnect for Google Fonts. + * Adds preconnect for Google Fonts. * * @since Twenty Sixteen 1.6 * @deprecated Twenty Sixteen 2.9 Disabled filter because, by default, fonts are self-hosted. @@ -320,7 +320,7 @@ function twentysixteen_widgets_init() { if ( ! function_exists( 'twentysixteen_fonts_url' ) ) : /** - * Register fonts for Twenty Sixteen. + * Registers fonts for Twenty Sixteen. * * Create your own twentysixteen_fonts_url() function to override in a child theme. * @@ -446,7 +446,7 @@ function twentysixteen_scripts() { add_action( 'wp_enqueue_scripts', 'twentysixteen_scripts' ); /** - * Enqueue styles for the block-based editor. + * Enqueues styles for the block-based editor. * * @since Twenty Sixteen 1.6 */ @@ -530,7 +530,7 @@ function twentysixteen_hex2rgb( $color ) { /** - * Register block patterns and pattern categories. + * Registers block patterns and pattern categories. * * @since Twenty Sixteen 3.4 */ @@ -546,7 +546,7 @@ function twentysixteen_register_block_patterns() { require get_template_directory() . '/inc/customizer.php'; /** - * Add custom image sizes attribute to enhance responsive image functionality + * Adds custom image sizes attribute to enhance responsive image functionality * for content images * * @since Twenty Sixteen 1.0 @@ -580,7 +580,7 @@ function twentysixteen_content_image_sizes_attr( $sizes, $size ) { add_filter( 'wp_calculate_image_sizes', 'twentysixteen_content_image_sizes_attr', 10, 2 ); /** - * Add custom image sizes attribute to enhance responsive image functionality + * Adds custom image sizes attribute to enhance responsive image functionality * for post thumbnails * * @since Twenty Sixteen 1.0 diff --git a/src/wp-content/themes/twentysixteen/inc/block-patterns.php b/src/wp-content/themes/twentysixteen/inc/block-patterns.php index e4fc5ca4cfafa..553ac2e655e2e 100644 --- a/src/wp-content/themes/twentysixteen/inc/block-patterns.php +++ b/src/wp-content/themes/twentysixteen/inc/block-patterns.php @@ -8,7 +8,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -19,7 +19,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { register_block_pattern( diff --git a/src/wp-content/themes/twentyten/block-patterns.php b/src/wp-content/themes/twentyten/block-patterns.php index ac418b63c58bf..eae72e2ffa11d 100644 --- a/src/wp-content/themes/twentyten/block-patterns.php +++ b/src/wp-content/themes/twentyten/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { diff --git a/src/wp-content/themes/twentyten/functions.php b/src/wp-content/themes/twentyten/functions.php index 57bd308e3da4b..bcdd6170e5467 100644 --- a/src/wp-content/themes/twentyten/functions.php +++ b/src/wp-content/themes/twentyten/functions.php @@ -41,7 +41,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. * * Used to set the width of images and content. Should be equal to the width the theme * is designed for, generally via the style.css stylesheet. diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index 63231d2a88ee5..43f6cae161bfc 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -25,7 +25,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 twentythirteen_content_width() for template-specific adjustments. */ @@ -34,7 +34,7 @@ } /** - * Add support for a custom header image. + * Adds support for a custom header image. */ require get_template_directory() . '/inc/custom-header.php'; @@ -46,7 +46,7 @@ } /** - * Register block patterns and pattern categories. + * Registers block patterns and pattern categories. * * @since Twenty Thirteen 4.3 */ @@ -306,7 +306,7 @@ function twentythirteen_fonts_url() { endif; /** - * Enqueue scripts and styles for the front end. + * Enqueues scripts and styles for the front end. * * @since Twenty Thirteen 1.0 */ @@ -356,7 +356,7 @@ function twentythirteen_scripts_styles() { add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); /** - * Add preconnect for Google Fonts. + * Adds preconnect for Google Fonts. * * @since Twenty Thirteen 2.1 * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted. @@ -382,7 +382,7 @@ function twentythirteen_resource_hints( $urls, $relation_type ) { // add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 ); /** - * Enqueue styles for the block-based editor. + * Enqueues styles for the block-based editor. * * @since Twenty Thirteen 2.5 */ @@ -396,7 +396,7 @@ function twentythirteen_block_editor_styles() { add_action( 'enqueue_block_editor_assets', 'twentythirteen_block_editor_styles' ); /** - * Filter the page title. + * Filters the page title. * * Creates a nicely formatted and more specific title element text for output * in head of document, based on current view. @@ -437,7 +437,7 @@ function twentythirteen_wp_title( $title, $sep ) { add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 ); /** - * Register two widget areas. + * Registers two widget areas. * * @since Twenty Thirteen 1.0 */ @@ -484,7 +484,7 @@ function wp_get_list_item_separator() { if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : /** - * Display navigation to next/previous set of posts when applicable. + * Displays navigation to next/previous set of posts when applicable. * * @since Twenty Thirteen 1.0 */ @@ -521,7 +521,7 @@ function twentythirteen_paging_nav() { if ( ! function_exists( 'twentythirteen_post_nav' ) ) : /** - * Display navigation to next/previous post when applicable. + * Displays navigation to next/previous post when applicable. * * @since Twenty Thirteen 1.0 * @@ -789,7 +789,7 @@ function twentythirteen_content_width() { add_action( 'template_redirect', 'twentythirteen_content_width' ); /** - * Add postMessage support for site title and description for the Customizer. + * Adds postMessage support for site title and description for the Customizer. * * @since Twenty Thirteen 1.0 * @@ -848,7 +848,7 @@ function twentythirteen_customize_partial_blogdescription() { } /** - * Enqueue JavaScript postMessage handlers for the Customizer. + * Enqueues JavaScript postMessage handlers for the Customizer. * * Binds JavaScript handlers to make the Customizer preview * reload changes asynchronously. @@ -920,7 +920,7 @@ function wp_body_open() { endif; /** - * Register Custom Block Styles + * Registers Custom Block Styles * * @since Twenty Thirteen 3.4 */ @@ -928,7 +928,7 @@ function wp_body_open() { function twentythirteen_register_block_styles() { /** - * Register block style + * Registers block style */ register_block_style( 'core/button', diff --git a/src/wp-content/themes/twentythirteen/inc/back-compat.php b/src/wp-content/themes/twentythirteen/inc/back-compat.php index 2f30c1c7133e8..97c58059ebaf3 100644 --- a/src/wp-content/themes/twentythirteen/inc/back-compat.php +++ b/src/wp-content/themes/twentythirteen/inc/back-compat.php @@ -26,7 +26,7 @@ function twentythirteen_switch_theme() { add_action( 'after_switch_theme', 'twentythirteen_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 Thirteen on WordPress versions prior to 3.6. diff --git a/src/wp-content/themes/twentythirteen/inc/block-patterns.php b/src/wp-content/themes/twentythirteen/inc/block-patterns.php index d8630149c37de..9e9a715615133 100644 --- a/src/wp-content/themes/twentythirteen/inc/block-patterns.php +++ b/src/wp-content/themes/twentythirteen/inc/block-patterns.php @@ -11,7 +11,7 @@ */ /** - * Register Block Pattern Category. + * Registers Block Pattern Category. */ if ( function_exists( 'register_block_pattern_category' ) ) { @@ -22,7 +22,7 @@ } /** - * Register Block Patterns. + * Registers Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { // Decorative Gallery. diff --git a/src/wp-content/themes/twentythirteen/inc/custom-header.php b/src/wp-content/themes/twentythirteen/inc/custom-header.php index c33910b78f159..e62f744a650bb 100644 --- a/src/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/src/wp-content/themes/twentythirteen/inc/custom-header.php @@ -1,6 +1,6 @@ add_section( 'excerpt_settings', diff --git a/src/wp-content/themes/twentytwentyone/functions.php b/src/wp-content/themes/twentytwentyone/functions.php index f163e394df734..a445e36579bf2 100644 --- a/src/wp-content/themes/twentytwentyone/functions.php +++ b/src/wp-content/themes/twentytwentyone/functions.php @@ -16,7 +16,7 @@ if ( ! function_exists( 'twenty_twenty_one_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 @@ -39,7 +39,7 @@ function twenty_twenty_one_setup() { add_theme_support( 'title-tag' ); /** - * Add post-formats support. + * Adds post-formats support. */ add_theme_support( 'post-formats', @@ -72,7 +72,7 @@ function twenty_twenty_one_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( @@ -89,7 +89,7 @@ function twenty_twenty_one_setup() { ); /* - * Add support for core custom logo. + * Adds support for core custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ diff --git a/src/wp-content/themes/twentytwentyone/image.php b/src/wp-content/themes/twentytwentyone/image.php index 2977f8f7073f7..06cf60d2794f7 100644 --- a/src/wp-content/themes/twentytwentyone/image.php +++ b/src/wp-content/themes/twentytwentyone/image.php @@ -22,7 +22,7 @@