[wp-trac] [WordPress Trac] #35367: Documented attributes for audio shortcode misleading (also video).

WordPress Trac noreply at wordpress.org
Fri Aug 4 14:05:28 UTC 2017


#35367: Documented attributes for audio shortcode misleading (also video).
---------------------------------------------+-------------------------
 Reporter:  gitlost                          |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.5
Component:  Media                            |     Version:  3.6
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  docs
---------------------------------------------+-------------------------

Comment (by johnbillion):

 In [changeset:"41229"]:
 {{{
 #!CommitTicketReference repository="" revision="41229"
 Media: Move the `Tests_Media::test_video_shortcode_body()` method so it
 runs before other tests in the class that depend on it.

 The following tests were never executed as they have `@depends`
 annotations which means they get skipped because the
 `test_video_shortcode_body()` test has not run by the time they run. Re-
 ordering the test methods fixes this.

 * `test_wp_video_shortcode_with_empty_params()`
 * `test_wp_video_shortcode_with_bad_attr()`
 * `test_wp_video_shortcode_attributes()`
 * `test_wp_video_shortcode_youtube_remove_feature()`
 * `test_wp_video_shortcode_youtube_force_ssl()`
 * `test_wp_video_shortcode_vimeo_force_ssl_remove_query_args()`
 * `test_wp_video_shortcode_vimeo_adds_loop()`
 * `test_wp_video_shortcode_vimeo_force_adds_loop_true()`

 See #35367
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35367#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list