[wp-trac] [WordPress Trac] #46718: Loading from source in WP_Widget_Media_Video
WordPress Trac
noreply at wordpress.org
Sat Mar 30 18:55:31 UTC 2019
#46718: Loading from source in WP_Widget_Media_Video
--------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
`if ( $src )` seems to be redundant, given the `if ( empty( $src ) ) {
return; }` check above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46718#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list