Skip to content

Commit

Permalink
More strict comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Apr 7, 2017
1 parent c5619cf commit a942f07
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ protected function bulk_actions( $which = '' ) {
echo "<option value='-1' selected='selected'>" . __( 'Bulk Actions' ) . "</option>\n";

foreach ( $this->_actions as $name => $title ) {
$class = 'edit' == $name ? ' class="hide-if-no-js"' : '';
$class = ( 'edit' === $name )
? ' class="hide-if-no-js"'
: '';

echo "\t<option value='{$name}'{$class}>{$title}</option>\n";
}
Expand Down

0 comments on commit a942f07

Please sign in to comment.