Skip to content
Snippets Groups Projects
Commit ec48de8d authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

We're passing in a method, not a function.

parent a3ffbe16
Branches
No related tags found
No related merge requests found
...@@ -1208,7 +1208,7 @@ class WP_Push_Syndication_Server { ...@@ -1208,7 +1208,7 @@ class WP_Push_Syndication_Server {
} }
// Order by last update date // Order by last update date
usort( $sites, 'sort_sites_by_last_pull_date' ); usort( $sites, array( $this, 'sort_sites_by_last_pull_date' ) );
return $sites; return $sites;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment