Browse files

Simplify display for lack of attachments, storylines, and characters.

This is more consistent with recent WordPress changes.
  • Loading branch information...
1 parent 5177691 commit f3815ef633041ce6c8ab4d5ddba545dcaedc7bb0 Michael Sisk committed Jan 25, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 -/php/posts.php
View
6 -/php/posts.php
@@ -383,7 +383,7 @@ public function manage_custom_column( $column, $id ) {
);
}
} else {
- _e( 'No Attachments', 'webcomic' );
+ _e( '—', 'webcomic' );
}
} elseif ( 'webcomic_storylines' === $column ) {
if ( $storylines = wp_get_object_terms( $id, "{$post->post_type}_storyline" ) ) {
@@ -398,7 +398,7 @@ public function manage_custom_column( $column, $id ) {
echo join( ', ', $terms );
} else {
- _e( 'No Storylines', 'webcomic' );
+ _e( '—', 'webcomic' );
}
} elseif ( 'webcomic_characters' === $column ) {
if ( $characters = wp_get_object_terms( $id, "{$post->post_type}_character" ) ) {
@@ -413,7 +413,7 @@ public function manage_custom_column( $column, $id ) {
echo join( ', ', $terms );
} else {
- _e( 'No Characters', 'webcomic' );
+ _e( '—', 'webcomic' );
}
}
}

0 comments on commit f3815ef

Please sign in to comment.