Changeset 6498
- Timestamp:
- 06/08/2017 01:58:51 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
-
.gitignore (modified) (1 diff)
-
src/bbpress.php (modified) (1 diff)
-
src/includes/admin/admin.php (modified) (1 diff)
-
src/includes/admin/common.php (modified) (1 diff)
-
src/includes/admin/settings.php (modified) (1 diff)
-
src/includes/admin/users.php (modified) (2 diffs)
-
src/includes/common/ajax.php (modified) (2 diffs)
-
src/includes/common/template.php (modified) (1 diff)
-
src/includes/core/capabilities.php (modified) (2 diffs)
-
src/includes/core/template-loader.php (modified) (1 diff)
-
src/includes/core/theme-compat.php (modified) (1 diff)
-
src/includes/core/update.php (modified) (5 diffs)
-
src/includes/extend/buddypress/functions.php (modified) (1 diff)
-
src/includes/extend/buddypress/groups.php (modified) (2 diffs)
-
src/includes/forums/functions.php (modified) (1 diff)
-
src/readme.txt (modified) (1 diff)
-
src/templates/default/bbpress-functions.php (modified) (1 diff)
-
tests/phpunit/bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.gitignore
r5772 r6498 10 10 /npm-debug.log 11 11 12 # bbPress's output directory.12 # Output directory. 13 13 /build 14 14 -
trunk/src/bbpress.php
r6421 r6498 45 45 * 46 46 * This is a precautionary measure, to avoid potential errors produced by 47 * unanticipated direct manipulation of bbPress'srun-time data.47 * unanticipated direct manipulation of run-time data. 48 48 * 49 49 * @see bbPress::setup_globals() -
trunk/src/includes/admin/admin.php
r6483 r6498 179 179 /** Filters ***********************************************************/ 180 180 181 // Modify bbPress'sadmin links181 // Modify admin links 182 182 add_filter( 'plugin_action_links', array( $this, 'modify_plugin_action_links' ), 10, 2 ); 183 183 -
trunk/src/includes/admin/common.php
r6438 r6498 192 192 193 193 /** 194 * Redirect user to bbPress's What's Newpage on activation194 * Redirect user to "What's New" page on activation 195 195 * 196 196 * @since 2.2.0 bbPress (r4389) -
trunk/src/includes/admin/settings.php
r6491 r6498 1809 1809 1810 1810 /** 1811 * Disable a settings field if the value is forcibly set in bbPress's global 1812 * options array. 1811 * Disable a settings field if it is forcibly set in the global options array. 1813 1812 * 1814 1813 * @since 2.2.0 bbPress (r4347) -
trunk/src/includes/admin/users.php
r6415 r6498 279 279 public static function user_role_row( $retval = '', $column_name = '', $user_id = 0 ) { 280 280 281 // Only looking for bbPress's user role column281 // User role column 282 282 if ( 'bbp_user_role' === $column_name ) { 283 283 … … 300 300 * Filter the list of roles included in the WordPress site role list 301 301 * 302 * This ensures bbPress' roles are only displayed under the Forum Role list303 * in theWordPress Users list table302 * Ensures forum roles are only displayed under the Forum Role list in the 303 * WordPress Users list table 304 304 * 305 305 * @since 2.6.0 bbPress (r6051) -
trunk/src/includes/common/ajax.php
r6438 r6498 54 54 55 55 /** 56 * Hooked to the 'bbp_template_redirect' action, this is bbPress'scustom57 * theme-side ajaxhandler.56 * Hooked to the 'bbp_template_redirect' action, this is also the custom 57 * theme-side AJAX handler. 58 58 * 59 59 * @since 2.3.0 bbPress (r4543) 60 60 * 61 * @return If not a bbPress ajaxrequest61 * @return If not a bbPress AJAX request 62 62 */ 63 63 function bbp_do_ajax() { 64 64 65 // Bail if not an ajaxrequest65 // Bail if not an AJAX request 66 66 if ( ! bbp_is_ajax() ) { 67 67 return; 68 68 } 69 69 70 // Set WordPress core ajaxconstant70 // Set WordPress core AJAX constant 71 71 define( 'DOING_AJAX', true ); 72 72 … … 85 85 86 86 /** 87 * Helper method to return JSON response for the ajaxcalls87 * Helper method to return JSON response for the AJAX calls 88 88 * 89 89 * @since 2.3.0 bbPress (r4542) -
trunk/src/includes/common/template.php
r6487 r6498 436 436 437 437 /** 438 * Check if the current post type is one of bbPress's438 * Check if the current post type is one that comes with bbPress 439 439 * 440 440 * @since 2.0.0 bbPress (r3311) -
trunk/src/includes/core/capabilities.php
r6438 r6498 247 247 248 248 /** 249 * Get the available roles minus bbPress's dynamic roles249 * Get the available roles, minus the dynamic roles that come with bbPress 250 250 * 251 251 * @since 2.4.0 bbPress (r5064) … … 282 282 * @since 2.2.0 bbPress (r4290) 283 283 * 284 * @uses bbp_get_dynamic_roles() To get and add bbPress'sroles to $wp_roles284 * @uses bbp_get_dynamic_roles() To get and add forum roles to $wp_roles 285 285 * 286 286 * @param WP_Roles $wp_roles The array of WP_Role objects that was initialized -
trunk/src/includes/core/template-loader.php
r6438 r6498 110 110 111 111 // A bbPress template file was located, so override the WordPress template 112 // and use it to switch off bbPress'stheme compatibility.112 // and use it to switch off theme compatibility. 113 113 if ( ! empty( $new_template ) ) { 114 114 $template = bbp_set_template_included( $new_template ); -
trunk/src/includes/core/theme-compat.php
r6453 r6498 812 812 813 813 /** 814 * If we are relying on bbPress's built in theme compatibilityto load814 * If we are relying on the built-in theme compatibility API to load 815 815 * the proper content, we need to intercept the_content, replace the 816 816 * output, and display ours instead. -
trunk/src/includes/core/update.php
r6415 r6498 17 17 * 18 18 * @uses get_option() 19 * @uses bbp_get_db_version() To get bbPress'sdatabase version19 * @uses bbp_get_db_version() To get the database version 20 20 * @return bool True if update, False if not 21 21 */ … … 30 30 * 31 31 * @uses get_option() 32 * @uses bbp_get_db_version() To get bbPress'sdatabase version32 * @uses bbp_get_db_version() To get the database version 33 33 * @return bool True if update, False if not 34 34 */ … … 149 149 * 150 150 * @uses update_option() 151 * @uses bbp_get_db_version() To get bbPress'sdatabase version151 * @uses bbp_get_db_version() To get the database version 152 152 */ 153 153 function bbp_version_bump() { … … 254 254 255 255 /** 256 * bbPress'sversion updater looks at what the current database version is, and256 * The version updater looks at what the current database version is, and 257 257 * runs whatever other code is needed. 258 258 * … … 353 353 354 354 /** 355 * Redirect user to bbPress's What's Newpage on activation355 * Redirect user to the "What's New" page on activation 356 356 * 357 357 * @since 2.2.0 bbPress (r4389) -
trunk/src/includes/extend/buddypress/functions.php
r6485 r6498 24 24 25 25 /** 26 * Return bbPress'scomponent name/ID ('forums' by default)26 * Return component name/ID ('forums' by default) 27 27 * 28 28 * This is used primarily for Notifications integration. -
trunk/src/includes/extend/buddypress/groups.php
r6488 r6498 4 4 * bbPress BuddyPress Group Extension Class 5 5 * 6 * This file is responsible for connecting bbPress to BuddyPress's Groups6 * This file is responsible for connecting bbPress to the BuddyPress Groups 7 7 * Component. It's a great example of how to perform both simple and advanced 8 * techniques to manipulate bbPress's default output.8 * techniques to manipulate the default output provided by both. 9 9 * 10 10 * @package bbPress … … 818 818 } 819 819 820 // Update bbPress'internal private and forum ID variables820 // Update internal private and forum ID variables 821 821 bbp_repair_forum_visibility(); 822 822 -
trunk/src/includes/forums/functions.php
r6481 r6498 2290 2290 $posts_query->set( 'post_status', array_unique( array_filter( $post_stati ) ) ); 2291 2291 2292 // Some other post type besides bbPress'sForums, Topics, or Replies2292 // Some other post type besides Forums, Topics, or Replies 2293 2293 } elseif ( ! array_diff( $post_types, array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() ) ) ) { 2294 2294 -
trunk/src/readme.txt
r6210 r6498 34 34 1. Visit 'Forums > Add New' and create some forums. (You can always delete these later.) 35 35 2. If you have pretty permalinks enabled, visit example.com/forums/, or if you do not have pretty permalinks enabled, visit example.com?post_type=forum 36 3. Visit 'Settings > Forums' and take a moment to match bbPress's settings to matchyour community.36 3. Visit 'Settings > Forums' and configure the settings to best match the needs of your community. 37 37 4. Visit 'Tools > Forums > Import Forums' if you have an existing forum to convert to bbPress. 38 38 -
trunk/src/templates/default/bbpress-functions.php
r6344 r6498 2 2 3 3 /** 4 * Functions of bbPress's Default theme4 * Functions of the Default template-pack 5 5 * 6 6 * @package bbPress -
trunk/tests/phpunit/bootstrap.php
r6031 r6498 19 19 20 20 /** 21 * Load bbPress's PHPUnit testsuite loader21 * Load the bbPress/PHPUnit test-suite loader 22 22 */ 23 23 function _load_loader() {
Note: See TracChangeset
for help on using the changeset viewer.