@@ -135,12 +135,12 @@ function twentytwelve_setup() {
135
135
add_action ( 'after_setup_theme ' , 'twentytwelve_setup ' );
136
136
137
137
/**
138
- * Add support for a custom header image.
138
+ * Adds support for a custom header image.
139
139
*/
140
140
require get_template_directory () . '/inc/custom-header.php ' ;
141
141
142
142
/**
143
- * Register block patterns and pattern categories.
143
+ * Registers block patterns and pattern categories.
144
144
*
145
145
* @since Twenty Twelve 4.4
146
146
*/
@@ -178,7 +178,7 @@ function twentytwelve_get_font_url() {
178
178
endif ;
179
179
180
180
/**
181
- * Enqueue scripts and styles for front end.
181
+ * Enqueues scripts and styles for front end.
182
182
*
183
183
* @since Twenty Twelve 1.0
184
184
*/
@@ -224,7 +224,7 @@ function twentytwelve_scripts_styles() {
224
224
add_action ( 'wp_enqueue_scripts ' , 'twentytwelve_scripts_styles ' );
225
225
226
226
/**
227
- * Enqueue styles for the block-based editor.
227
+ * Enqueues styles for the block-based editor.
228
228
*
229
229
* @since Twenty Twelve 2.6
230
230
*/
@@ -238,7 +238,7 @@ function twentytwelve_block_editor_styles() {
238
238
add_action ( 'enqueue_block_editor_assets ' , 'twentytwelve_block_editor_styles ' );
239
239
240
240
/**
241
- * Add preconnect for Google Fonts.
241
+ * Adds preconnect for Google Fonts.
242
242
*
243
243
* @since Twenty Twelve 2.2
244
244
* @deprecated Twenty Twelve 3.9 Disabled filter because, by default, fonts are self-hosted.
@@ -264,7 +264,7 @@ function twentytwelve_resource_hints( $urls, $relation_type ) {
264
264
// add_filter( 'wp_resource_hints', 'twentytwelve_resource_hints', 10, 2 );
265
265
266
266
/**
267
- * Filter TinyMCE CSS path to include hosted fonts.
267
+ * Filters TinyMCE CSS path to include hosted fonts.
268
268
*
269
269
* Adds additional stylesheets to the TinyMCE editor if needed.
270
270
*
@@ -293,7 +293,7 @@ function twentytwelve_mce_css( $mce_css ) {
293
293
add_filter ( 'mce_css ' , 'twentytwelve_mce_css ' );
294
294
295
295
/**
296
- * Filter the page title.
296
+ * Filters the page title.
297
297
*
298
298
* Creates a nicely formatted and more specific title element text
299
299
* for output in head of document, based on current view.
@@ -331,7 +331,7 @@ function twentytwelve_wp_title( $title, $sep ) {
331
331
add_filter ( 'wp_title ' , 'twentytwelve_wp_title ' , 10 , 2 );
332
332
333
333
/**
334
- * Filter the page menu arguments.
334
+ * Filters the page menu arguments.
335
335
*
336
336
* Makes our wp_nav_menu() fallback -- wp_page_menu() -- show a home link.
337
337
*
@@ -346,7 +346,7 @@ function twentytwelve_page_menu_args( $args ) {
346
346
add_filter ( 'wp_page_menu_args ' , 'twentytwelve_page_menu_args ' );
347
347
348
348
/**
349
- * Register sidebars.
349
+ * Registers sidebars.
350
350
*
351
351
* Registers our main widget area and the front page widget areas.
352
352
*
@@ -516,7 +516,7 @@ function twentytwelve_comment( $comment, $args, $depth ) {
516
516
517
517
if ( ! function_exists ( 'twentytwelve_entry_meta ' ) ) :
518
518
/**
519
- * Set up post entry meta.
519
+ * Sets up post entry meta.
520
520
*
521
521
* Prints HTML with meta information for current post: categories, tags, permalink, author, and date.
522
522
*
@@ -639,9 +639,9 @@ function twentytwelve_content_width() {
639
639
add_action ( 'template_redirect ' , 'twentytwelve_content_width ' );
640
640
641
641
/**
642
- * Register postMessage support.
642
+ * Registers postMessage support.
643
643
*
644
- * Add postMessage support for site title and description for the Customizer.
644
+ * Adds postMessage support for site title and description for the Customizer.
645
645
*
646
646
* @since Twenty Twelve 1.0
647
647
*
@@ -700,7 +700,7 @@ function twentytwelve_customize_partial_blogdescription() {
700
700
}
701
701
702
702
/**
703
- * Enqueue JavaScript postMessage handlers for the Customizer.
703
+ * Enqueues JavaScript postMessage handlers for the Customizer.
704
704
*
705
705
* Binds JS handlers to make the Customizer preview reload changes asynchronously.
706
706
*
0 commit comments