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__( 'We are proud to serve outstanding clients.', 'twentyseventeen' ) . '
- +