[wp-meta] [Making WordPress.org] #418: Trac Ticket Author Gravatar disappears when comment preview is created

Making WordPress.org noreply at wordpress.org
Sun Jun 29 20:48:17 UTC 2014


#418: Trac Ticket Author Gravatar disappears when comment preview is created
------------------------------+-------------------------
  Reporter:  adamsilverstein  |      Owner:
      Type:  defect           |     Status:  new
  Priority:  normal           |  Component:  Trac
Resolution:                   |   Keywords:  needs-patch
------------------------------+-------------------------

Comment (by adamsilverstein):

 I tracked the issue down to this line:
 $("#ticket").replaceWith(items.filter('#ticket'));

 Here is what i think is happening - when the auto_preview.js fires its
 ajax callback, it hits the main url to get the page html, the reply from
 this call is missing the gravatar, so when the replaceWith fires, the
 gravatar is removed.

 I discussed this issue with @nacin at #wcsea and he knows what the problem
 is and how to fix it.

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


More information about the wp-meta mailing list