WordPress.org

Make WordPress Core

Changeset 41827


Ignore:
Timestamp:
10/11/2017 06:21:54 AM (2 years ago)
Author:
westonruter
Message:

Widgets: Update video widget embed failure notice to indicate streams other than YouTube and Vimeo are allowed.

Amends [41759].
See #42039.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-video.php

    r41765 r41827  
    4242            'media_library_state_single' => __( 'Video Widget' ),
    4343            /* translators: %s: a list of valid video file extensions */
    44             'unsupported_file_type' => sprintf( __( 'Sorry, we can&#8217;t display the video file type selected. Please select a supported video file (%s) or stream (YouTube or Vimeo) instead.' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
     44            'unsupported_file_type' => sprintf( __( 'Sorry, we can&#8217;t display the video file type selected. Please select a supported video file (%s) or stream (e.g. YouTube and Vimeo) instead.' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
    4545        ) );
    4646    }
Note: See TracChangeset for help on using the changeset viewer.