[wp-meta] [Making WordPress.org] #5543: JavaScript error in the theme previewer

Making WordPress.org noreply at wordpress.org
Fri Dec 11 09:31:21 UTC 2020


#5543: JavaScript error in the theme previewer
-----------------------------+---------------------
 Reporter:  poena            |       Owner:  dd32
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Theme Directory  |  Resolution:  fixed
 Keywords:                   |
-----------------------------+---------------------
Changes (by dd32):

 * owner:  (none) => dd32
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10510" 10510]:
 {{{
 #!CommitTicketReference repository="" revision="10510"
 Theme Preview: Use `.href` instead of `.getAttribute('href')` to avoid a
 javascript error when the attribute isn't set on the DOM element.

 Props poena.
 Fixes #5543.
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5543#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list