projects
/
WP-Plugins
/
glm-member-db-fields.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e90d68
)
Update for using only published groups.
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 8 Aug 2018 19:49:22 +0000
(15:49 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 8 Aug 2018 19:49:22 +0000
(15:49 -0400)
Only publish groups for the filter.
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
c6768b4
..
65f4327
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-167,7
+167,8
@@
add_filter(
$wpdb->prepare(
"SELECT *
FROM $groupTable
- WHERE uid = %s",
+ WHERE uid = %s
+ AND publish",
$uid
),
ARRAY_A