From b85fd6892c2f2caf43ffd8b309500689bcd25212 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Fri, 6 Oct 2017 01:34:02 +0000 Subject: [PATCH] Twenty Seventeen: Add missing `@return` tag for `twentyseventeen_video_controls()`. Props ndoublehwp, audrasjb. Fixes #41927. git-svn-id: https://develop.svn.wordpress.org/trunk@41780 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/inc/custom-header.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php index 8b33dc4b9c..6e19a7f98b 100644 --- a/src/wp-content/themes/twentyseventeen/inc/custom-header.php +++ b/src/wp-content/themes/twentyseventeen/inc/custom-header.php @@ -113,6 +113,7 @@ endif; // End of twentyseventeen_header_style. * Customize video play/pause button in the custom header. * * @param array $settings Video settings. + * @return array The filtered video settings. */ function twentyseventeen_video_controls( $settings ) { $settings['l10n']['play'] = '' . __( 'Play background video', 'twentyseventeen' ) . '' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );