Twenty Seventeen: Add missing `@return` tag for `twentyseventeen_video_controls()`.
Props ndoublehwp, audrasjb. Fixes #41927. Built from https://develop.svn.wordpress.org/trunk@41780 git-svn-id: http://core.svn.wordpress.org/trunk@41614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
77a4574b96
commit
0b39f4c99d
|
@ -113,6 +113,7 @@ endif; // End of twentyseventeen_header_style.
|
||||||
* Customize video play/pause button in the custom header.
|
* Customize video play/pause button in the custom header.
|
||||||
*
|
*
|
||||||
* @param array $settings Video settings.
|
* @param array $settings Video settings.
|
||||||
|
* @return array The filtered video settings.
|
||||||
*/
|
*/
|
||||||
function twentyseventeen_video_controls( $settings ) {
|
function twentyseventeen_video_controls( $settings ) {
|
||||||
$settings['l10n']['play'] = '<span class="screen-reader-text">' . __( 'Play background video', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );
|
$settings['l10n']['play'] = '<span class="screen-reader-text">' . __( 'Play background video', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta1-41779';
|
$wp_version = '4.9-beta1-41780';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue