Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/09/2012 09:38:45 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Remove a bunch of unneeded globals and clean up some code in Core component. See #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-slugs.php

    r5575 r5683  
    183183 * @since BuddyPress (1.6)
    184184 * @todo Use settings API
    185  * @global WPDB $wpdb
    186  * @global BuddyPress $bp
    187  * @return type
     185 * @return False if referer does not check out
    188186 */
    189187function bp_core_admin_slugs_setup_handler() {
    190     global $wpdb, $bp;
    191188
    192189    if ( isset( $_POST['bp-admin-pages-submit'] ) || isset( $_POST['bp-admin-pages-single'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.