[wp-meta] [Making WordPress.org] #3854: Multiple Attendees Lists Shortcodes Breaks the Page

Making WordPress.org noreply at wordpress.org
Mon Oct 1 20:45:38 UTC 2018


#3854: Multiple Attendees Lists Shortcodes Breaks the Page
-------------------------+-------------------------------------------------
 Reporter:  milana_cap   |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  highest omg  |  Milestone:
  bbq                    |
Component:  WordCamp     |   Keywords:  needs-patch dev-feedback has-
  Site & Plugins         |  screenshots
-------------------------+-------------------------------------------------
 When multiple attendees lists shortcodes are used on the same page, only
 the first list is displayed properly while avatars are broken for the
 rest.

 I guess this is because every instance of `[camptix_attendees]` shortcode
 is creating div with ID `tix-attendees`, which is then used in Javascript
 file (`camptix/camptix.js`) for rendering avatars.


 {{{
 var lazyLoad = {
                 cache: {
                         $document:  $( document ),
                         $attendees: $( '#tix-attendees' )
                 },
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3854>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list