[buddypress-trac] [BuddyPress Trac] #7684: Use bp_is_post_request() instead of hardcoding the POST verification

buddypress-trac noreply at wordpress.org
Sun Feb 4 17:06:26 UTC 2018


#7684: Use bp_is_post_request() instead of hardcoding the POST verification
-------------------------+-----------------------
 Reporter:  espellcaste  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.0
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------
 BuddyPress has a helper function that check if a request is a POST
 request. `bp_is_post_request()`.

 The strange part is that this helper function is not being used in several
 areas where the POST verification is done.

 I'm not sure why. So I updated the places to use it both in core, BP
 Legacy and in some files, in Noveau.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7684>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list