Changeset 3390
- Timestamp:
- 08/07/2011 05:40:26 AM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r3379 r3390 397 397 /** Individual files **************************************************/ 398 398 399 $core = array( 400 'hooks', // All filters and actions 401 'options', // Configuration Options 402 'caps', // Roles and capabilities 403 'classes', // Common classes 404 'widgets', // Sidebar widgets 405 'shortcodes', // Shortcodes for use with pages and posts 406 'compatibility', // Theme compatibility for existing themes 407 'akismet' // Spam prevention for topics and replies 408 ); 409 410 // Load the files 411 foreach ( $core as $file ) 412 require( $this->plugin_dir . 'bbp-includes/bbp-core-' . $file . '.php' ); 399 require( $this->plugin_dir . 'bbp-includes/bbp-core-hooks.php' ); // All filters and actions 400 require( $this->plugin_dir . 'bbp-includes/bbp-core-options.php' ); // Configuration Options 401 require( $this->plugin_dir . 'bbp-includes/bbp-core-caps.php' ); // Roles and capabilities 402 require( $this->plugin_dir . 'bbp-includes/bbp-core-classes.php' ); // Common classes 403 require( $this->plugin_dir . 'bbp-includes/bbp-core-widgets.php' ); // Sidebar widgets 404 require( $this->plugin_dir . 'bbp-includes/bbp-core-shortcodes.php' ); // Shortcodes for use with pages and posts 405 require( $this->plugin_dir . 'bbp-includes/bbp-core-compatibility.php' ); // Theme compatibility for existing themes 406 require( $this->plugin_dir . 'bbp-includes/bbp-core-akismet.php' ); // Spam prevention for topics and replies 413 407 414 408 /** Components ********************************************************/ 415 409 416 $components = array( 417 'common', // Common functions and template tags 418 'forum', // Forums contain subforums, topics, and replies 419 'topic', // Topics contain replies 420 'reply', // Replies are individual responses to topics 421 'user' // Individual user profile view/edit pages 422 ); 423 424 $files = array( 425 'functions', // Functions used to carry out specific tasks 426 'template' // Functions intended for use in template files 427 ); 428 429 // Load the files 430 foreach ( $components as $component ) 431 foreach ( $files as $type ) 432 require( $this->plugin_dir . 'bbp-includes/bbp-' . $component . '-' . $type . '.php' ); 410 require( $this->plugin_dir . 'bbp-includes/bbp-common-functions.php' ); // Common functions 411 require( $this->plugin_dir . 'bbp-includes/bbp-common-template.php' ); // Common template tags 412 413 require( $this->plugin_dir . 'bbp-includes/bbp-forum-functions.php' ); // Forum functions 414 require( $this->plugin_dir . 'bbp-includes/bbp-forum-template.php' ); // Forum template tags 415 416 require( $this->plugin_dir . 'bbp-includes/bbp-topic-functions.php' ); // Topic functions 417 require( $this->plugin_dir . 'bbp-includes/bbp-topic-template.php' ); // Topic template tags 418 419 require( $this->plugin_dir . 'bbp-includes/bbp-reply-functions.php' ); // Reply functions 420 require( $this->plugin_dir . 'bbp-includes/bbp-reply-template.php' ); // Reply template tags 421 422 require( $this->plugin_dir . 'bbp-includes/bbp-user-functions.php' ); // User functions 423 require( $this->plugin_dir . 'bbp-includes/bbp-user-template.php' ); // User template tags 433 424 434 425 /** Admin *************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.