Skip to content

Commit

Permalink
Replace multi_sort with wp_list_sort.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Dec 14, 2016
1 parent 96c844b commit 8a0aad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/pb-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function users_with_x_or_more_books( $x ) {
}
}

$foo = \Pressbooks\Utility\multi_sort( $foo, 'last_export:desc' );
$foo = wp_list_sort( $foo, array( 'last_export' => 'DESC' ) );

set_transient( $transient, $foo, 60 * 60 * 12 );

Expand Down
2 changes: 1 addition & 1 deletion pressbooks-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Pressbooks Stats
Description: Pressbooks plugin which provides some basic activity statistics for a Pressbooks network.
Version: 1.0.0
Version: 1.1.0
Author: BookOven Inc.
*/

Expand Down

0 comments on commit 8a0aad4

Please sign in to comment.