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

WordPress Trac noreply at wordpress.org
Fri Jan 8 11:57:27 UTC 2016


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

Comment (by swissspidy):

 Replying to [comment:2 gitlost]:
 > Wow that was quick! Would the filters best be kept though for BC, eg
 `apply_filters( 'wp_audio_shortcode_class', $atts['class'] )`?

 Yes. As you can see in the patch, I did not remove the filters. I just
 moved them two lines up.

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


More information about the wp-trac mailing list