[Bb-trac] Re: [bbPress] #1089: Plugins on my-plugins subfolders do
not activate
bbPress
bb-trac at lists.bbpress.org
Sun May 17 12:22:32 GMT 2009
#1089: Plugins on my-plugins subfolders do not activate
----------------------------+-----------------------------------------------
Reporter: Txanny | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: Administration | Version: 1.0-rc-1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by Txanny):
Discovered that the problem is using the $_REQUEST on the line 35.
Changing it by $_GET it works perfect. So, this works and strips slashes:
{{{
// Set the plugin
$plugin = isset( $_GET['plugin'] ) ? trim( stripslashes( $_GET['plugin'] )
) : '';
}}}
--
Ticket URL: <http://trac.bbpress.org/ticket/1089#comment:2>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list