Make WordPress Core

Ticket #41927: 41927.2.diff

File 41927.2.diff, 861 bytes (added by audrasjb, 7 years ago)

Add inline doc before the function

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

    diff --git a/src/wp-content/themes/twentyseventeen/inc/custom-header.php b/src/wp-content/themes/twentyseventeen/inc/custom-header.php
    index 8b33dc4..891ed43 100644
    a b endif; // End of twentyseventeen_header_style. 
    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 $settings      Localized array of filtered controls, like play or pause buttons.       
    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' ) );