[wp-trac] [WordPress Trac] #46280: Uncaught javascript error on comment-reply.js
WordPress Trac
noreply at wordpress.org
Thu Feb 21 03:37:11 UTC 2019
#46280: Uncaught javascript error on comment-reply.js
-------------------------------------+----------------------------
Reporter: xknown | Owner: peterwilsoncc
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.1.1
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+----------------------------
Comment (by pento):
Thanks, @peterwilsoncc! A few small things:
* Line 61: Looks like overwriting `$hotfixes` is some leftover debugging
code?
* Hot fix functions should be at the end of the file, they're ordered in
ascending fashion.
* `wp_hotfix_510_enqueue_comment_reply_js()` has some bonus indenting.
Otherwise, looks good!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46280#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list