Permalink
Browse files

Rename actions and filters per Daniel's suggestion.

  • Loading branch information...
1 parent 4621e56 commit 47c605be49a43f0c51ae18d796812c73767c2b75 @cfg cfg committed Nov 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 php/class-coauthors-wp-list-table.php
@@ -34,7 +34,7 @@ function prepare_items() {
'first_name' => array( 'first_name', 'ASC' ),
'last_name' => array( 'last_name', 'ASC' ),
);
- $_sortable = apply_filters( "manage_coauthors_guest_author_sortable_columns", $this->get_sortable_columns() );
+ $_sortable = apply_filters( "coauthors_guest_author_sortable_columns", $this->get_sortable_columns() );
foreach( (array)$_sortable as $id => $data ) {
if ( empty( $data ) )
@@ -148,7 +148,7 @@ function get_columns() {
'posts' => __( 'Posts', 'co-authors-plus' ),
);
- $columns = apply_filters( "manage_coauthors_guest_author_columns", $columns );
+ $columns = apply_filters( "coauthors_guest_author_manage_columns", $columns );
return $columns;
}
@@ -178,7 +178,7 @@ function column_default( $item, $column_name ) {
return '<a href="' . esc_attr( 'mailto:' . $item->user_email ) . '">' . esc_html( $item->user_email ) . '</a>';
default:
- do_action( "manage_coauthors_guest_author_custom_column", $column_name, $item->ID );
+ do_action( "coauthors_guest_author_custom_columns", $column_name, $item->ID );
break;
}
}

0 comments on commit 47c605b

Please sign in to comment.