[buddypress-trac] [BuddyPress] #4761: Modify ajax url to work properly with FORCE_SSL_ADMIN

buddypress-trac noreply at wordpress.org
Fri Mar 1 20:57:31 UTC 2013


#4761: Modify ajax url to work properly with FORCE_SSL_ADMIN
--------------------------+---------------------
 Reporter:  will_c        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  1.7
Component:  Core          |     Version:  1.7
 Severity:  major         |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by boonebgorges):

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


Comment:

 (In [6826]) Improvements in the way ajaxurl is determined

 Introduces bp_core_ajax_url() for easier unit testing

 Switches bp_core_ajax_url() back to using admin_url(), but now it's more
 sensitive to various HTTPS setups, including FORCE_SSL_ADMIN.

 Corresponding unit test: https://github.com/buddypress/BuddyPress-Unit-
 Tests/commit/5cec5a154f568c83fd97f1e8ce5333a9183f2a4d

 Partially reverts r6790. See #4850.

 Fixes #4761

 Props r-a-y

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


More information about the buddypress-trac mailing list