Changeset 4248
- Timestamp:
- 10/13/2012 06:58:34 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbp-includes/admin/bbp-actions.php
r4198 r4248 14 14 * 15 15 * - bbPress: In {@link bbPress::setup_actions()} in bbpress.php 16 * - Admin: More in {@link BBP_Admin::setup_actions()} in 17 * bbp-admin/bbp-admin.php 16 * - Admin: More in {@link BBP_Admin::setup_actions()} in admin.php 18 17 * 19 18 * @see bbp-core-actions.php -
trunk/bbp-includes/admin/bbp-admin.php
r4244 r4248 77 77 private function setup_globals() { 78 78 $bbp = bbpress(); 79 $this->admin_dir = trailingslashit( $bbp-> plugin_dir . 'bbp-admin'); // Admin path80 $this->admin_url = trailingslashit( $bbp-> plugin_url . 'bbp-admin'); // Admin url81 $this->images_url = trailingslashit( $this->admin_url . 'images'); // Admin images URL82 $this->styles_url = trailingslashit( $this->admin_url . 'styles'); // Admin styles URL79 $this->admin_dir = trailingslashit( $bbp->includes_dir . 'admin' ); // Admin path 80 $this->admin_url = trailingslashit( $bbp->includes_url . 'admin' ); // Admin url 81 $this->images_url = trailingslashit( $this->admin_url . 'images' ); // Admin images URL 82 $this->styles_url = trailingslashit( $this->admin_url . 'styles' ); // Admin styles URL 83 83 } 84 84 -
trunk/bbp-includes/bbp-core-actions.php
r4236 r4248 16 16 * - Component: In {@link BBP_Component::setup_actions()} in 17 17 * bbp-includes/bbp-classes.php 18 * - Admin: More in {@link BBP_Admin::setup_actions()} in 19 * bbp-admin/bbp-admin.php 18 * - Admin: More in {@link BBP_Admin::setup_actions()} in admin.php 20 19 * 21 20 * @see bbp-core-filters.php -
trunk/bbp-includes/bbp-core-filters.php
r4244 r4248 16 16 * - Component: In {@link BBP_Component::setup_actions()} in 17 17 * bbp-includes/bbp-classes.php 18 * - Admin: More in {@link BBP_Admin::setup_actions()} in 19 * bbp-admin/bbp-admin.php 18 * - Admin: More in {@link BBP_Admin::setup_actions()} in admin.php 20 19 * 21 20 * @see bbp-core-actions.php -
trunk/bbp-includes/bbp-user-functions.php
r4239 r4248 1456 1456 1457 1457 // Setup admin (to include converter) 1458 require_once( bbpress()-> plugin_dir . 'bbp-admin/bbp-admin.php' );1458 require_once( bbpress()->includes_dir . 'admin/bbp-admin.php' ); 1459 1459 1460 1460 // Create the admin object -
trunk/bbpress.php
r4244 r4248 192 192 $this->lang_dir = apply_filters( 'bbp_lang_dir', trailingslashit( $this->plugin_dir . 'bbp-languages' ) ); 193 193 194 // Includes 195 $this->includes_dir = apply_filters( 'bbp_includes_dir', trailingslashit( $this->plugin_dir . 'bbp-includes' ) ); 196 $this->includes_url = apply_filters( 'bbp_includes_url', trailingslashit( $this->plugin_url . 'bbp-includes' ) ); 197 194 198 /** Identifiers *******************************************************/ 195 199 … … 319 323 // Quick admin check and load if needed 320 324 if ( is_admin() ) { 321 require( $this-> plugin_dir . 'bbp-admin/bbp-admin.php' );322 require( $this-> plugin_dir . 'bbp-admin/bbp-actions.php' );325 require( $this->includes_dir . 'admin/bbp-admin.php' ); 326 require( $this->includes_dir . 'admin/bbp-actions.php' ); 323 327 } 324 328 }
Note: See TracChangeset
for help on using the changeset viewer.