Skip to content

Commit c17462b

Browse files
docs: Clarify font stylesheet return type in docblocks by adding "URL".
1 parent 9b55c15 commit c17462b

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/wp-content/themes/twentyfifteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function twentyfifteen_widgets_init() {
366366
* @since Twenty Fifteen 1.0
367367
* @since Twenty Fifteen 3.4 Replaced Google URL with self-hosted fonts.
368368
*
369-
* @return string Font stylesheet or empty string if disabled.
369+
* @return string Font stylesheet URL or empty string if disabled.
370370
*/
371371
function twentyfifteen_fonts_url() {
372372
$fonts_url = '';

src/wp-content/themes/twentyfourteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function twentyfourteen_widgets_init() {
315315
* @since Twenty Fourteen 1.0
316316
* @since Twenty Fourteen 3.6 Replaced Google URL with self-hosted fonts.
317317
*
318-
* @return string Font stylesheet or empty string if disabled.
318+
* @return string Font stylesheet URL or empty string if disabled.
319319
*/
320320
function twentyfourteen_font_url() {
321321
$font_url = '';

src/wp-content/themes/twentyseventeen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function twentyseventeen_content_width() {
289289
* @since Twenty Seventeen 1.0
290290
* @since Twenty Seventeen 3.2 Replaced Google URL with self-hosted fonts.
291291
*
292-
* @return string Font stylesheet or empty string if disabled.
292+
* @return string Font stylesheet URL or empty string if disabled.
293293
*/
294294
function twentyseventeen_fonts_url() {
295295
$fonts_url = '';

src/wp-content/themes/twentysixteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ function twentysixteen_widgets_init() {
334334
* @since Twenty Sixteen 1.0
335335
* @since Twenty Sixteen 2.9 Replaced Google URL with self-hosted fonts.
336336
*
337-
* @return string Font stylesheet or empty string if disabled.
337+
* @return string Font stylesheet URL or empty string if disabled.
338338
*/
339339
function twentysixteen_fonts_url() {
340340
$fonts_url = '';

src/wp-content/themes/twentythirteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function twentythirteen_setup() {
270270
* @since Twenty Thirteen 1.0
271271
* @since Twenty Thirteen 3.8 Replaced Google URL with self-hosted fonts.
272272
*
273-
* @return string Font stylesheet or empty string if disabled.
273+
* @return string Font stylesheet URL or empty string if disabled.
274274
*/
275275
function twentythirteen_fonts_url() {
276276
$fonts_url = '';

src/wp-content/themes/twentytwelve/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function twentytwelve_register_block_patterns() {
160160
* @since Twenty Twelve 1.2
161161
* @since Twenty Twelve 3.9 Replaced Google URL with self-hosted font.
162162
*
163-
* @return string Font stylesheet or empty string if disabled.
163+
* @return string Font stylesheet URL or empty string if disabled.
164164
*/
165165
function twentytwelve_get_font_url() {
166166
$font_url = '';

0 commit comments

Comments
 (0)