We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8f476 commit 582b7f5Copy full SHA for 582b7f5
mu-plugins/plugins.jquery.com/posts.php
@@ -49,7 +49,7 @@ function jquery_plugin_posts_only_for_searches( $query ) {
49
$query->set( 'post_type', 'jquery_plugin' );
50
$query->set( 'post_parent', 0 );
51
$query->set( 'meta_key', 'watchers' );
52
- $query->set( 'orderby', 'meta_value' );
+ $query->set( 'orderby', 'meta_value_num' );
53
$query->set( 'order', 'DESC' );
54
}
55
0 commit comments