[wp-trac] [WordPress Trac] #31590: Comment reply links can cause JS error on slow connections/large pages
WordPress Trac
noreply at wordpress.org
Wed Mar 11 01:06:06 UTC 2015
#31590: Comment reply links can cause JS error on slow connections/large pages
---------------------------+-----------------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
---------------------------+-----------------------------
addComment.moveForm can be called before it is defined, throwing a
JavaScript error on the front end.
This is most likely to occur over slow connections or on enormous comment
threads.
The attached patch defines a placeholder function in the HTML header if
comment-reply is queued to ensure the front-end JavaScript continues to
run.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31590>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list