Changeset 7554 for trunk/bp-forums/bp-forums-screens.php
- Timestamp:
- 11/10/2013 02:04:10 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-screens.php
r7386 r7554 1 1 <?php 2 2 /** 3 * BuddyPress Forums Screen Functions 3 * BuddyPress Forums Screen Functions. 4 4 * 5 5 * @package BuddyPress … … 10 10 if ( !defined( 'ABSPATH' ) ) exit; 11 11 12 /** 13 * Load the Forums directory. 14 */ 12 15 function bp_forums_directory_forums_setup() { 13 16 … … 80 83 add_action( 'bp_screens', 'bp_forums_directory_forums_setup', 2 ); 81 84 85 /** 86 * Load the Topics Started screen. 87 */ 82 88 function bp_member_forums_screen_topics() { 83 89 do_action( 'bp_member_forums_screen_topics' ); … … 86 92 } 87 93 94 /** 95 * Load the Replied To screen. 96 */ 88 97 function bp_member_forums_screen_replies() { 89 98 do_action( 'bp_member_forums_screen_replies' ); … … 93 102 94 103 /** 95 * Load sthe template content for a user's Favorites forum tab.104 * Load the template content for a user's Favorites forum tab. 96 105 * 97 106 * Note that this feature is not fully implemented at the moment. 98 *99 * @package BuddyPress Forums100 107 */ 101 108 function bp_member_forums_screen_favorites() { … … 105 112 } 106 113 114 /** 115 * Load a single forum page. 116 */ 107 117 function bp_forums_screen_single_forum() { 108 118 … … 116 126 add_action( 'bp_screens', 'bp_forums_screen_single_forum' ); 117 127 128 /** 129 * Load a single forum topic page. 130 */ 118 131 function bp_forums_screen_single_topic() { 119 132 … … 131 144 132 145 /** 133 * The main theme compat class for legacy BuddyPress forums , as powered by bbPress 1.x146 * The main theme compat class for legacy BuddyPress forums. 134 147 * 135 148 * This class sets up the necessary theme compatability actions to safely output 136 149 * old forum template parts to the_title and the_content areas of a theme. 137 150 * 138 * @since BuddyPress (1.7 )151 * @since BuddyPress (1.7.0) 139 152 */ 140 153 class BP_Forum_Legacy_Theme_Compat { 141 154 142 155 /** 143 * Set up the old forums component theme compatibility144 * 145 * @since BuddyPress (1.7 )156 * Set up theme compatibility for the legacy forums component. 157 * 158 * @since BuddyPress (1.7.0) 146 159 */ 147 160 public function __construct() { … … 152 165 * Are we looking at something that needs old forum theme compatability? 153 166 * 154 * @since BuddyPress (1.7 )167 * @since BuddyPress (1.7.0) 155 168 */ 156 169 public function is_legacy_forum() { … … 185 198 186 199 /** 187 * Update the global $post with directory data 188 * 189 * @since BuddyPress (1.7 )200 * Update the global $post with directory data. 201 * 202 * @since BuddyPress (1.7.0) 190 203 */ 191 204 public function directory_dummy_post() { … … 212 225 213 226 /** 214 * Filter the_content with the old forum index template part 215 * 216 * @since BuddyPress (1.7 )227 * Filter the_content with the old forum index template part. 228 * 229 * @since BuddyPress (1.7.0) 217 230 */ 218 231 public function directory_content() {
Note: See TracChangeset
for help on using the changeset viewer.