[buddypress-trac] [BuddyPress] #4263: Maybe update bp_core_set_uri_globals() for AJAX detection

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 15 18:22:27 UTC 2012


#4263: Maybe update bp_core_set_uri_globals() for AJAX detection
-------------------------+------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.6
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by boonebgorges):

 I think we need this check, because proper path detection is necessary for
 determining current component, action, etc. Also, I think we need the wp-
 load.php logic for backward compatibility (themes that still register the
 old version of ajaxurl). But our primary check should be for WP's
 DOING_AJAX. See attached patch.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4263#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list