Permalink
Browse files

Rename webcomics column and avoid $moved variable warning.

  • Loading branch information...
1 parent 937192d commit 1bfed4180b9811412ab888cef57ced7b859a5192 @mgsisk committed Jan 26, 2013
Showing with 4 additions and 2 deletions.
  1. +3 −1 -/php/taxonomy.php
  2. +1 −1 readme.md
View
@@ -61,6 +61,8 @@ public function admin_init() {
if ( isset( $_GET[ 'webcomic_action' ], $_GET[ 'taxonomy' ], $_GET[ 'tag_ID' ] ) and ( 'move_term_up' === $_GET[ 'webcomic_action' ] or 'move_term_down' === $_GET[ 'webcomic_action' ] ) and $term = get_term( $_GET[ 'tag_ID' ], $_GET[ 'taxonomy' ] ) ) {
check_admin_referer( 'webcomic_move_term' );
+ $moved = '';
+
$terms = get_terms( $term->taxonomy, array(
'order' => 'DESC',
'orderby' => 'term_group',
@@ -403,7 +405,7 @@ public function manage_edit_columns( $columns ) {
$screen = get_current_screen();
$pre = array_slice( $columns, 0, 1 );
$pre[ 'webcomic_image' ] = false !== strpos( $screen->taxonomy, '_storyline' ) ? __( 'Cover', 'webcomic' ) : __( 'Avatar', 'webcomic' );
- $columns[ 'posts' ] = __( 'Webcomics', 'webcomic' );
+ $columns[ 'posts' ] = __( 'Posts', 'webcomic' );
return array_merge( $pre, $columns );
}
View
@@ -59,4 +59,4 @@ This program is free software; you can redistribute it and/or modify it under th
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Floor, Boston, MA 02110-1301 USA

0 comments on commit 1bfed41

Please sign in to comment.