[buddypress-trac] [BuddyPress Trac] #7549: Only load AJAX code on AJAX requests

buddypress-trac noreply at wordpress.org
Thu Jun 22 00:44:26 UTC 2017

#7549: Only load AJAX code on AJAX requests
 Reporter:  r-a-y        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by sbrajesh):

 Thank you.
 You are right about the other ticket. I am waiting for the 3.0 dev cycle
 to test the things and add my feedback there.

 For this ticket, if you are only checking if it is an ajax request(like
 above), then It won't break anything and it is the right way to do things.
 I had the concern that you were going to check for individual actions.

 No need for an autoloader here but when 3.0 cycle starts, Will certainly
 be involved on the other tickets with that idea.

 Keep up the good work @r-a-y

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

More information about the buddypress-trac mailing list