Make WordPress Core

Ticket #41927: 41927.diff

File 41927.diff, 769 bytes (added by ndoublehwp, 7 years ago)

In the comment docs of function twentyseventeen_video_controls(), the @return is missing

  • src/wp-content/themes/twentyseventeen/inc/custom-header.php

     
    112112/**
    113113 * Customize video play/pause button in the custom header.
    114114 *
    115  * @param array $settings Video settings.
     115 * @param  array $settings Video settings.
     116 * @return array The filtered video settings.
    116117 */
    117118function twentyseventeen_video_controls( $settings ) {
    118119        $settings['l10n']['play'] = '<span class="screen-reader-text">' . __( 'Play background video', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );