Skip to:
Content

bbPress.org

Changeset 2056


Ignore:
Timestamp:
04/17/2009 11:03:33 AM (17 years ago)
Author:
sambauers
Message:

Make $location an array to match the preg_match arrays above it. Fixes #1070

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-admin/includes/functions.bb-plugin.php

    r2052 r2056  
    210210        $_directory = str_replace( '\\', '/', $_data['dir'] );
    211211        if ( 0 === strpos( $plugin_file, $_directory ) ) {
    212             $location = $_name;
     212            $location = array( 1 => $_name );
    213213            break;
    214214        }
Note: See TracChangeset for help on using the changeset viewer.