46
46
}
47
47
48
48
/**
49
- * Register block patterns and pattern categories.
49
+ * Registers block patterns and pattern categories.
50
50
*
51
51
* @since Twenty Thirteen 4.3
52
52
*/
@@ -262,7 +262,7 @@ function twentythirteen_setup() {
262
262
263
263
if ( ! function_exists ( 'twentythirteen_fonts_url ' ) ) :
264
264
/**
265
- * Return the font stylesheet URL, if available.
265
+ * Returns the font stylesheet URL, if available.
266
266
*
267
267
* The use of Source Sans Pro and Bitter by default is localized. For languages
268
268
* that use characters not supported by the font, the font can be disabled.
@@ -306,7 +306,7 @@ function twentythirteen_fonts_url() {
306
306
endif ;
307
307
308
308
/**
309
- * Enqueue scripts and styles for the front end.
309
+ * Enqueues scripts and styles for the front end.
310
310
*
311
311
* @since Twenty Thirteen 1.0
312
312
*/
@@ -356,7 +356,7 @@ function twentythirteen_scripts_styles() {
356
356
add_action ( 'wp_enqueue_scripts ' , 'twentythirteen_scripts_styles ' );
357
357
358
358
/**
359
- * Add preconnect for Google Fonts.
359
+ * Adds preconnect for Google Fonts.
360
360
*
361
361
* @since Twenty Thirteen 2.1
362
362
* @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 ) {
382
382
// add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 );
383
383
384
384
/**
385
- * Enqueue styles for the block-based editor.
385
+ * Enqueues styles for the block-based editor.
386
386
*
387
387
* @since Twenty Thirteen 2.5
388
388
*/
@@ -396,7 +396,7 @@ function twentythirteen_block_editor_styles() {
396
396
add_action ( 'enqueue_block_editor_assets ' , 'twentythirteen_block_editor_styles ' );
397
397
398
398
/**
399
- * Filter the page title.
399
+ * Filters the page title.
400
400
*
401
401
* Creates a nicely formatted and more specific title element text for output
402
402
* in head of document, based on current view.
@@ -437,7 +437,7 @@ function twentythirteen_wp_title( $title, $sep ) {
437
437
add_filter ( 'wp_title ' , 'twentythirteen_wp_title ' , 10 , 2 );
438
438
439
439
/**
440
- * Register two widget areas.
440
+ * Registers two widget areas.
441
441
*
442
442
* @since Twenty Thirteen 1.0
443
443
*/
@@ -484,7 +484,7 @@ function wp_get_list_item_separator() {
484
484
485
485
if ( ! function_exists ( 'twentythirteen_paging_nav ' ) ) :
486
486
/**
487
- * Display navigation to next/previous set of posts when applicable.
487
+ * Displays navigation to next/previous set of posts when applicable.
488
488
*
489
489
* @since Twenty Thirteen 1.0
490
490
*/
@@ -521,7 +521,7 @@ function twentythirteen_paging_nav() {
521
521
522
522
if ( ! function_exists ( 'twentythirteen_post_nav ' ) ) :
523
523
/**
524
- * Display navigation to next/previous post when applicable.
524
+ * Displays navigation to next/previous post when applicable.
525
525
*
526
526
* @since Twenty Thirteen 1.0
527
527
*
@@ -558,7 +558,7 @@ function twentythirteen_post_nav() {
558
558
559
559
if ( ! function_exists ( 'twentythirteen_entry_meta ' ) ) :
560
560
/**
561
- * Print HTML with meta information for current post: categories, tags, permalink, author, and date.
561
+ * Prints HTML with meta information for current post: categories, tags, permalink, author, and date.
562
562
*
563
563
* Create your own twentythirteen_entry_meta() to override in a child theme.
564
564
*
@@ -598,7 +598,7 @@ function twentythirteen_entry_meta() {
598
598
599
599
if ( ! function_exists ( 'twentythirteen_entry_date ' ) ) :
600
600
/**
601
- * Print HTML with date information for current post.
601
+ * Prints HTML with date information for current post.
602
602
*
603
603
* Create your own twentythirteen_entry_date() to override in a child theme.
604
604
*
@@ -634,7 +634,7 @@ function twentythirteen_entry_date( $display = true ) {
634
634
635
635
if ( ! function_exists ( 'twentythirteen_the_attached_image ' ) ) :
636
636
/**
637
- * Print the attached image with a link to the next attached image.
637
+ * Prints the attached image with a link to the next attached image.
638
638
*
639
639
* @since Twenty Thirteen 1.0
640
640
*/
@@ -700,7 +700,7 @@ function twentythirteen_the_attached_image() {
700
700
endif ;
701
701
702
702
/**
703
- * Return the post URL.
703
+ * Returns the post URL.
704
704
*
705
705
* @uses get_url_in_content() to get the URL in the post meta (if it exists) or
706
706
* the first link found in the post content.
@@ -741,7 +741,7 @@ function twentythirteen_excerpt_more( $more ) {
741
741
endif ;
742
742
743
743
/**
744
- * Extend the default WordPress body classes.
744
+ * Extends the default WordPress body classes.
745
745
*
746
746
* Adds body classes to denote:
747
747
* 1. Single or multiple authors.
@@ -771,7 +771,7 @@ function twentythirteen_body_class( $classes ) {
771
771
add_filter ( 'body_class ' , 'twentythirteen_body_class ' );
772
772
773
773
/**
774
- * Adjust content_width value for video post formats and attachment templates.
774
+ * Adjusts content_width value for video post formats and attachment templates.
775
775
*
776
776
* @since Twenty Thirteen 1.0
777
777
*
@@ -789,7 +789,7 @@ function twentythirteen_content_width() {
789
789
add_action ( 'template_redirect ' , 'twentythirteen_content_width ' );
790
790
791
791
/**
792
- * Add postMessage support for site title and description for the Customizer.
792
+ * Adds postMessage support for site title and description for the Customizer.
793
793
*
794
794
* @since Twenty Thirteen 1.0
795
795
*
@@ -822,7 +822,7 @@ function twentythirteen_customize_register( $wp_customize ) {
822
822
add_action ( 'customize_register ' , 'twentythirteen_customize_register ' );
823
823
824
824
/**
825
- * Render the site title for the selective refresh partial.
825
+ * Renders the site title for the selective refresh partial.
826
826
*
827
827
* @since Twenty Thirteen 1.9
828
828
*
@@ -835,7 +835,7 @@ function twentythirteen_customize_partial_blogname() {
835
835
}
836
836
837
837
/**
838
- * Render the site tagline for the selective refresh partial.
838
+ * Renders the site tagline for the selective refresh partial.
839
839
*
840
840
* @since Twenty Thirteen 1.9
841
841
*
@@ -848,7 +848,7 @@ function twentythirteen_customize_partial_blogdescription() {
848
848
}
849
849
850
850
/**
851
- * Enqueue JavaScript postMessage handlers for the Customizer.
851
+ * Enqueues JavaScript postMessage handlers for the Customizer.
852
852
*
853
853
* Binds JavaScript handlers to make the Customizer preview
854
854
* reload changes asynchronously.
@@ -903,7 +903,7 @@ function twentythirteen_author_bio_template( $template ) {
903
903
904
904
if ( ! function_exists ( 'wp_body_open ' ) ) :
905
905
/**
906
- * Fire the wp_body_open action.
906
+ * Fires the wp_body_open action.
907
907
*
908
908
* Added for backward compatibility to support pre-5.2.0 WordPress versions.
909
909
*
@@ -920,16 +920,13 @@ function wp_body_open() {
920
920
endif ;
921
921
922
922
/**
923
- * Register Custom Block Styles
923
+ * Registers Custom Block Styles.
924
924
*
925
925
* @since Twenty Thirteen 3.4
926
926
*/
927
927
if ( function_exists ( 'register_block_style ' ) ) {
928
928
function twentythirteen_register_block_styles () {
929
929
930
- /**
931
- * Register block style
932
- */
933
930
register_block_style (
934
931
'core/button ' ,
935
932
array (
0 commit comments