Completed
Push — master ( b7f3c9...6f4b53 )
by Doğa
11:19
created
Features/HideProtectedPosts/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Flynt\Features\HideProtectedPosts;
4 4
 
5
-add_action('pre_get_posts', function ($query) {
5
+add_action('pre_get_posts', function($query) {
6 6
     if (!$query->is_singular() && !is_admin()) {
7 7
         $query->set('has_password', false);
8 8
     }
Please login to merge, or discard this patch.