2
2
/**
3
3
* Twenty Sixteen functions and definitions
4
4
*
5
- * Set up the theme and provides some helper functions, which are used in the
5
+ * Sets up the theme and provides some helper functions, which are used in the
6
6
* theme as custom template tags. Others are attached to action and filter
7
7
* hooks in WordPress to change core functionality.
8
8
*
@@ -251,7 +251,7 @@ function twentysixteen_content_width() {
251
251
add_action ( 'after_setup_theme ' , 'twentysixteen_content_width ' , 0 );
252
252
253
253
/**
254
- * Add preconnect for Google Fonts.
254
+ * Adds preconnect for Google Fonts.
255
255
*
256
256
* @since Twenty Sixteen 1.6
257
257
* @deprecated Twenty Sixteen 2.9 Disabled filter because, by default, fonts are self-hosted.
@@ -320,7 +320,7 @@ function twentysixteen_widgets_init() {
320
320
321
321
if ( ! function_exists ( 'twentysixteen_fonts_url ' ) ) :
322
322
/**
323
- * Register fonts for Twenty Sixteen.
323
+ * Registers fonts for Twenty Sixteen.
324
324
*
325
325
* Create your own twentysixteen_fonts_url() function to override in a child theme.
326
326
*
@@ -446,7 +446,7 @@ function twentysixteen_scripts() {
446
446
add_action ( 'wp_enqueue_scripts ' , 'twentysixteen_scripts ' );
447
447
448
448
/**
449
- * Enqueue styles for the block-based editor.
449
+ * Enqueues styles for the block-based editor.
450
450
*
451
451
* @since Twenty Sixteen 1.6
452
452
*/
@@ -530,7 +530,7 @@ function twentysixteen_hex2rgb( $color ) {
530
530
531
531
532
532
/**
533
- * Register block patterns and pattern categories.
533
+ * Registers block patterns and pattern categories.
534
534
*
535
535
* @since Twenty Sixteen 3.4
536
536
*/
@@ -546,7 +546,7 @@ function twentysixteen_register_block_patterns() {
546
546
require get_template_directory () . '/inc/customizer.php ' ;
547
547
548
548
/**
549
- * Add custom image sizes attribute to enhance responsive image functionality
549
+ * Adds custom image sizes attribute to enhance responsive image functionality
550
550
* for content images
551
551
*
552
552
* @since Twenty Sixteen 1.0
@@ -580,7 +580,7 @@ function twentysixteen_content_image_sizes_attr( $sizes, $size ) {
580
580
add_filter ( 'wp_calculate_image_sizes ' , 'twentysixteen_content_image_sizes_attr ' , 10 , 2 );
581
581
582
582
/**
583
- * Add custom image sizes attribute to enhance responsive image functionality
583
+ * Adds custom image sizes attribute to enhance responsive image functionality
584
584
* for post thumbnails
585
585
*
586
586
* @since Twenty Sixteen 1.0
0 commit comments