[buddypress-trac] [BuddyPress Trac] #6136: ajaxurl js variable defined multiple times

buddypress-trac noreply at wordpress.org
Wed Mar 16 20:11:16 UTC 2016


#6136: ajaxurl js variable defined multiple times
------------------------------+----------------------
 Reporter:  slaFFik           |       Owner:  slaFFik
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.6
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+----------------------
Changes (by djpaul):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10655"]:
 {{{
 #!CommitTicketReference repository="" revision="10655"
 BP-Legacy: remove redundant JS `ajaxurl` variable.

 BuddyPress always prints this on every page in
 `bp_core_add_ajax_url_js`, so doing it here again results in a
 duplicate, and is useless.

 Fixes #6136

 Props slaFFik
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6136#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list