Skip to:
Content

bbPress.org

Changeset 4250


Ignore:
Timestamp:
10/13/2012 07:57:15 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Code Improvement:

  • Remove bbp- prefixes from admin files.
  • Adjust include paths.
  • See #1975.
Location:
trunk
Files:
2 edited
12 moved

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/admin/admin.php

    r4249 r4250  
    9090     */
    9191    private function includes() {
    92         require( $this->admin_dir . 'bbp-tools.php'     );
    93         require( $this->admin_dir . 'bbp-converter.php' );
    94         require( $this->admin_dir . 'bbp-settings.php'  );
    95         require( $this->admin_dir . 'bbp-functions.php' );
    96         require( $this->admin_dir . 'bbp-metaboxes.php' );
    97         require( $this->admin_dir . 'bbp-forums.php'    );
    98         require( $this->admin_dir . 'bbp-topics.php'    );
    99         require( $this->admin_dir . 'bbp-replies.php'   );
    100         require( $this->admin_dir . 'bbp-users.php'     );
     92        require( $this->admin_dir . 'tools.php'     );
     93        require( $this->admin_dir . 'converter.php' );
     94        require( $this->admin_dir . 'settings.php'  );
     95        require( $this->admin_dir . 'functions.php' );
     96        require( $this->admin_dir . 'metaboxes.php' );
     97        require( $this->admin_dir . 'forums.php'    );
     98        require( $this->admin_dir . 'topics.php'    );
     99        require( $this->admin_dir . 'replies.php'   );
     100        require( $this->admin_dir . 'users.php'     );
    101101    }
    102102
  • trunk/bbp-includes/users/functions.php

    r4249 r4250  
    14561456
    14571457    // Setup admin (to include converter)
    1458     require_once( bbpress()->includes_dir . 'admin/bbp-admin.php' );
     1458    require_once( bbpress()->includes_dir . 'admin/admin.php' );
    14591459
    14601460    // Create the admin object
     
    14621462
    14631463    // Convert password
    1464     require_once( bbpress()->admin->admin_dir . 'bbp-converter.php' );
     1464    require_once( bbpress()->admin->admin_dir . 'converter.php' );
    14651465    require_once( bbpress()->admin->admin_dir . 'converters/' . $row->meta_value . '.php' );
    14661466
  • trunk/bbpress.php

    r4249 r4250  
    319319        // Quick admin check and load if needed
    320320        if ( is_admin() ) {
    321             require( $this->includes_dir . 'admin/bbp-admin.php'   );
    322             require( $this->includes_dir . 'admin/bbp-actions.php' );
     321            require( $this->includes_dir . 'admin/admin.php'   );
     322            require( $this->includes_dir . 'admin/actions.php' );
    323323        }
    324324    }
Note: See TracChangeset for help on using the changeset viewer.