Changeset 6272 for trunk/src/includes/admin/topics.php
- Timestamp:
- 02/02/2017 07:46:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/topics.php
r6263 r6272 77 77 add_filter( 'post_row_actions', array( $this, 'row_actions' ), 10, 2 ); 78 78 79 // Topic meta box actions79 // Topic meta-box actions 80 80 add_action( 'add_meta_boxes', array( $this, 'attributes_metabox' ) ); 81 81 add_action( 'add_meta_boxes', array( $this, 'author_metabox' ) ); … … 333 333 334 334 /** 335 * Add the topic attributes meta box335 * Add the topic attributes meta-box 336 336 * 337 337 * @since 2.0.0 bbPress (r2744) 338 338 * 339 339 * @uses bbp_get_topic_post_type() To get the topic post type 340 * @uses add_meta_box() To add the meta box340 * @uses add_meta_box() To add the meta-box 341 341 * @uses do_action() Calls 'bbp_topic_attributes_metabox' 342 342 */ … … 353 353 354 354 /** 355 * Add the author info meta box355 * Add the author info meta-box 356 356 * 357 357 * @since 2.0.0 bbPress (r2828) 358 358 * 359 * @uses add_meta_box() To add the meta box359 * @uses add_meta_box() To add the meta-box 360 360 */ 361 361 public function author_metabox() { … … 366 366 } 367 367 368 // Add the meta box368 // Add the meta-box 369 369 add_meta_box( 370 370 'bbp_author_metabox', … … 378 378 379 379 /** 380 * Add the replies meta box380 * Add the replies meta-box 381 381 * 382 382 * Allows viewing & moderating of replies to a topic, based on the way … … 389 389 * @uses bbp_get_topic_post_type() To get the topic post type 390 390 * @uses bbp_get_reply_post_type() To get the reply post type 391 * @uses add_meta_box() To add the meta box391 * @uses add_meta_box() To add the meta-box 392 392 * @uses do_action() Calls 'bbp_author_metabox' with the topic/reply 393 393 * id … … 400 400 } 401 401 402 // Add the meta box402 // Add the meta-box 403 403 add_meta_box( 404 404 'bbp_topic_replies_metabox', … … 412 412 413 413 /** 414 * Add the favorites meta box414 * Add the favorites meta-box 415 415 * 416 416 * Allows viewing of users who have favorited a topic. … … 418 418 * @since 2.6.0 bbPress (r6197) 419 419 * 420 * @uses add_meta_box() To add the meta box420 * @uses add_meta_box() To add the meta-box 421 421 */ 422 422 public function favorites_metabox() { … … 432 432 } 433 433 434 // Add the meta box434 // Add the meta-box 435 435 add_meta_box( 436 436 'bbp_topic_favorites_metabox', … … 444 444 445 445 /** 446 * Add the subscriptions meta box446 * Add the subscriptions meta-box 447 447 * 448 448 * Allows viewing of users who have subscribed to a topic. … … 450 450 * @since 2.6.0 bbPress (r6197) 451 451 * 452 * @uses add_meta_box() To add the meta box452 * @uses add_meta_box() To add the meta-box 453 453 */ 454 454 public function subscriptions_metabox() { … … 464 464 } 465 465 466 // Add the meta box466 // Add the meta-box 467 467 add_meta_box( 468 468 'bbp_topic_subscriptions_metabox', … … 476 476 477 477 /** 478 * Remove comments & discussion meta boxes if comments are not supported478 * Remove comments & discussion meta-boxes if comments are not supported 479 479 * 480 480 * @since 2.6.0 bbPress (r6186)
Note: See TracChangeset
for help on using the changeset viewer.