[buddypress-trac] [BuddyPress] #1628: bp_filter_request is not defined
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jan 19 03:15:45 UTC 2010
#1628: bp_filter_request is not defined
------------------------+---------------------------------------------------
Reporter: grosbouff | Owner: apeatling
Type: enhancement | Status: assigned
Priority: major | Milestone: 1.2
Keywords: |
------------------------+---------------------------------------------------
Changes (by sbrajesh):
* cc: sbrajesh (added)
* owner: => apeatling
* status: new => assigned
* type: defect => enhancement
Comment:
hi Andy
As per forum topic
http://buddypress.org/forums/topic/bp-12-bp_filter_request-is-not-defined
As I mentioned there in forum this is a scope problem with the javascript
function, I am not sure whether you should really put the function in
global scope or not because it is tied to dom elements/bp-default theme
and custom bp-themes may not offer this function. So If a plugin is using
this function, They should rather supply a copy of their own. btw, if you
decide to put it in global scope, I hope most of the custom themes will
also do that, but checking the existence of the javascript method will be
still necessary for plugin developers.
So decision is yours :)
--
Ticket URL: <http://trac.buddypress.org/ticket/1628#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list