Changeset 4991 for trunk/includes/admin/replies.php
- Timestamp:
- 06/21/2013 08:53:47 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/admin/replies.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/admin/replies.php
r4964 r4991 65 65 66 66 // Reply column headers. 67 add_filter( 'manage_' . $this->post_type . '_posts_columns', array( $this, ' replies_column_headers' ) );67 add_filter( 'manage_' . $this->post_type . '_posts_columns', array( $this, 'column_headers' ) ); 68 68 69 69 // Reply columns (in post row) 70 add_action( 'manage_' . $this->post_type . '_posts_custom_column', array( $this, ' replies_column_data' ), 10, 2 );71 add_filter( 'post_row_actions', array( $this, 'r eplies_row_actions' ), 10, 2 );70 add_action( 'manage_' . $this->post_type . '_posts_custom_column', array( $this, 'column_data' ), 10, 2 ); 71 add_filter( 'post_row_actions', array( $this, 'row_actions' ), 10, 2 ); 72 72 73 73 // Reply metabox actions 74 add_action( 'add_meta_boxes', array( $this, ' reply_attributes_metabox' ) );75 add_action( 'save_post', array( $this, ' reply_attributes_metabox_save' ) );74 add_action( 'add_meta_boxes', array( $this, 'attributes_metabox' ) ); 75 add_action( 'save_post', array( $this, 'attributes_metabox_save' ) ); 76 76 77 77 // Check if there are any bbp_toggle_reply_* requests on admin_init, also have a message displayed … … 247 247 * @uses do_action() Calls 'bbp_reply_attributes_metabox' 248 248 */ 249 public function reply_attributes_metabox() {249 public function attributes_metabox() { 250 250 251 251 if ( $this->bail() ) return; … … 275 275 * @return int Parent id 276 276 */ 277 public function reply_attributes_metabox_save( $reply_id ) {277 public function attributes_metabox_save( $reply_id ) { 278 278 279 279 if ( $this->bail() ) return $reply_id; … … 561 561 * @return array $columns bbPress reply columns 562 562 */ 563 public function replies_column_headers( $columns ) {563 public function column_headers( $columns ) { 564 564 565 565 if ( $this->bail() ) return $columns; … … 605 605 * column and reply id 606 606 */ 607 public function replies_column_data( $column, $reply_id ) {607 public function column_data( $column, $reply_id ) { 608 608 609 609 if ( $this->bail() ) return; … … 717 717 * @return array $actions Actions 718 718 */ 719 public function r eplies_row_actions( $actions, $reply ) {719 public function row_actions( $actions, $reply ) { 720 720 721 721 if ( $this->bail() ) return $actions;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)