[wp-trac] [WordPress Trac] #39250: Undefinded Variable in Media-Modal

WordPress Trac noreply at wordpress.org
Fri Dec 30 06:23:58 UTC 2016


#39250: Undefinded Variable in Media-Modal
------------------------------------------+---------------------
 Reporter:  arkonisus                     |       Owner:  dd32
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.7.1
Component:  Media                         |     Version:  4.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  fixed-major needs-unit-tests  |     Focuses:  ui
------------------------------------------+---------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39654"]:
 {{{
 #!CommitTicketReference repository="" revision="39654"
 Media: Move a variable definition outside of conditionals to ensure it's
 always available.
 This fixes cases where the URL to a PDF preview may be incorrectly
 calculated when no thumbnails were generated for the PDF (and avoids a PHP
 Notice at the same time).

 Merges [39612] to the 4.7 branch.
 Fixes #39250.
 }}}

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


More information about the wp-trac mailing list