Skip to content

Commit

Permalink
Remove i18n from developer error message
Browse files Browse the repository at this point in the history
Fixes #6, props @grappler
  • Loading branch information
GaryJones committed Feb 17, 2014
1 parent a0a4a04 commit eb108c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-gamajo-dashboard-glancer.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct() {
public function add( $post_types, $statuses = 'publish' ) {
// If relevant output action hook has already passed, then no point in proceeding.
if ( did_action( 'dashboard_glance_items' ) ) {
_doing_it_wrong( __CLASS__, __( 'Trying to add At a Glance items to dashboard widget afterhook already fired', 'gamajo-dashboard-glancer' ), '1.0.0' );
_doing_it_wrong( __CLASS__, 'Trying to add At a Glance items to dashboard widget afterhook already fired', '1.0.0' );
return;
}

Expand Down

0 comments on commit eb108c5

Please sign in to comment.