PluginProbe
bbPress / 2.6.19
bbPress v2.6.19
2.6.19 2.6.18 2.6.17 trunk 2.0 2.0-beta-1 2.0-beta-2b 2.0-beta-3 2.0-beta-3b 2.0-rc-2 2.0-rc-3 2.0-rc-4 2.0-rc-5 2.0.1 2.0.2 2.0.3 2.1 2.1-beta-1 2.1-rc1 2.1-rc2 2.1-rc3 2.1-rc4 2.1.1 2.1.2 2.1.3 All 74 releases
← All changes | includes/admin/actions.php +21 -21 trunk → 2.6.19 View file →
@@ -1,8 +1,8 @@
1 1 <?php
2 2
3 3 /**
4 - * bbPress Admin Actions.
4 + * bbPress Admin Actions
5 5 *
6 6 * This file contains the actions that are used through-out bbPress Admin. They
7 7 * are consolidated here to make searching for them easier, and to help developers
8 8 * understand at a glance the order in which things occur.
@@ -115,9 +115,9 @@
115 115 // Add New User
116 116 add_action( 'user_new_form', 'bbp_add_user_form_role_field', 10, 1 );
117 117
118 118 /**
119 - * Setup bbPress admin.
119 + * Setup bbPress admin
120 120 *
121 121 * @since 2.0.0 bbPress (r2515)
122 122 * @since 2.6.0 bbPress (r6601) Moved to actions.php
123 123 */
@@ -126,9 +126,9 @@
126 126 }
127 127
128 128 /**
129 129 * When a new site is created in a multisite installation, run the activation
130 - * routine on that site.
130 + * routine on that site
131 131 *
132 132 * @since 2.0.0 bbPress (r3284)
133 133 *
134 134 * @param int $blog_id
@@ -155,15 +155,15 @@
155 155 bbp_restore_current_site();
156 156 }
157 157
158 158 /**
159 - * Show icons in list-table column headers instead of strings.
159 + * Show icons in list-table column headers instead of strings
160 160 *
161 161 * @since 2.6.0 bbPress (r5833)
162 162 *
163 - * @param array $columns Column headers fed into list-table objects.
163 + * @param array $columns Column headers fed into list-table objects
164 164 *
165 - * @return array Possibly altered column headers.
165 + * @return array Possibly altered column headers
166 166 */
167 167 function bbp_filter_column_headers( $columns = array() ) {
168 168
169 169 // Do not filter column headers by default - maybe we'll turn it on later
@@ -214,14 +214,14 @@
214 214 * Filter sample permalinks so that certain languages display properly.
215 215 *
216 216 * @since 2.0.0 bbPress (r3337)
217 217 *
218 - * @param string $post_link Custom post type permalink.
219 - * @param object $_post Post data object.
218 + * @param string $post_link Custom post type permalink
219 + * @param object $_post Post data object
220 220 * @param bool $leavename Optional, defaults to false. Whether to keep post name or page name.
221 221 * @param bool $sample Optional, defaults to false. Is it a sample permalink.
222 222 *
223 - * @return string The custom post type permalink.
223 + * @return string The custom post type permalink
224 224 */
225 225 function bbp_filter_sample_permalink( $post_link, $_post, $leavename = false, $sample = false ) {
226 226
227 227 // Bail if not on an admin page and not getting a sample permalink
@@ -235,9 +235,9 @@
235 235
236 236 /** Sub-Actions ***************************************************************/
237 237
238 238 /**
239 - * Piggy back admin_init action.
239 + * Piggy back admin_init action
240 240 *
241 241 * @since 2.1.0 bbPress (r3766)
242 242 */
243 243 function bbp_admin_init() {
@@ -244,9 +244,9 @@
244 244 do_action( 'bbp_admin_init' );
245 245 }
246 246
247 247 /**
248 - * Piggy back admin_menu action.
248 + * Piggy back admin_menu action
249 249 *
250 250 * @since 2.1.0 bbPress (r3766)
251 251 */
252 252 function bbp_admin_menu() {
@@ -253,9 +253,9 @@
253 253 do_action( 'bbp_admin_menu' );
254 254 }
255 255
256 256 /**
257 - * Piggy back admin_head action.
257 + * Piggy back admin_head action
258 258 *
259 259 * @since 2.1.0 bbPress (r3766)
260 260 */
261 261 function bbp_admin_head() {
@@ -262,9 +262,9 @@
262 262 do_action( 'bbp_admin_head' );
263 263 }
264 264
265 265 /**
266 - * Piggy back admin_notices action.
266 + * Piggy back admin_notices action
267 267 *
268 268 * @since 2.0.0 bbPress (r2615)
269 269 */
270 270 function bbp_admin_notices() {
@@ -271,9 +271,9 @@
271 271 do_action( 'bbp_admin_notices' );
272 272 }
273 273
274 274 /**
275 - * Dedicated action to register bbPress importers.
275 + * Dedicated action to register bbPress importers
276 276 *
277 277 * @since 2.1.0 bbPress (r3766)
278 278 */
279 279 function bbp_register_importers() {
@@ -280,9 +280,9 @@
280 280 do_action( 'bbp_register_importers' );
281 281 }
282 282
283 283 /**
284 - * Dedicated action to register admin styles.
284 + * Dedicated action to register admin styles
285 285 *
286 286 * @since 2.6.0 bbPress (r6913)
287 287 */
288 288 function bbp_register_admin_styles() {
@@ -287,9 +287,9 @@
287 287 */
288 288 function bbp_register_admin_styles() {
289 289
290 290 /**
291 - * Action used to register the admin styling.
291 + * Action used to register the admin styling
292 292 *
293 293 * @since 2.1.0 bbPress (r3766)
294 294 * @deprecated 2.6.0
295 295 */
@@ -295,9 +295,9 @@
295 295 */
296 296 do_action( 'bbp_register_admin_style' );
297 297
298 298 /**
299 - * Action used to register all admin styling.
299 + * Action used to register all admin styling
300 300 *
301 301 * @since 2.6.0 bbPress (r6913)
302 302 */
303 303 do_action( 'bbp_register_admin_styles' );
@@ -303,9 +303,9 @@
303 303 do_action( 'bbp_register_admin_styles' );
304 304 }
305 305
306 306 /**
307 - * Dedicated action to register admin scripts.
307 + * Dedicated action to register admin scripts
308 308 *
309 309 * @since 2.6.0 bbPress (r6913)
310 310 */
311 311 function bbp_register_admin_scripts() {
@@ -312,9 +312,9 @@
312 312 do_action( 'bbp_register_admin_scripts' );
313 313 }
314 314
315 315 /**
316 - * Dedicated action to register admin settings.
316 + * Dedicated action to register admin settings
317 317 *
318 318 * @since 2.1.0 bbPress (r3766)
319 319 */
320 320 function bbp_register_admin_settings() {
@@ -321,9 +321,9 @@
321 321 do_action( 'bbp_register_admin_settings' );
322 322 }
323 323
324 324 /**
325 - * Dedicated action to output admin tools.php sections.
325 + * Dedicated action to output admin tools.php sections
326 326 *
327 327 * @since 2.6.0 bbPress (r6274)
328 328 */
329 329 function bbp_admin_tool_box() {
@@ -330,9 +330,9 @@
330 330 do_action( 'bbp_admin_tool_box' );
331 331 }
332 332
333 333 /**
334 - * Dedicated action to hook into the current screen.
334 + * Dedicated action to hook into the current screen
335 335 *
336 336 * @since 2.6.0 bbPress (r6186)
337 337 *
338 338 * @param WP_Screen $current_screen