Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Fix typo assigning compare_b
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter authored Oct 10, 2016
1 parent 2919e51 commit f2cefad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ public function handle_snapshot_bulk_actions( $redirect_to, $do_action, $post_id
$compare_a = $a->post_date;
}
if ( '0000-00-00 00:00:00' === $compare_b ) {
$compare_a = $b->post_date;
$compare_b = $b->post_date;
}
return strtotime( $compare_a ) - strtotime( $compare_b );
} );
Expand Down

0 comments on commit f2cefad

Please sign in to comment.