Commit 97043dc
committed
Use more resilient method for checking whether user has a role on portfolio site.
The 'wp_' prefix is not reliable.
See cuny-academic-commons/commons-in-a-box#544.1 parent 91a9eb8 commit 97043dc
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2415 | 2415 | | |
2416 | 2416 | | |
2417 | 2417 | | |
2418 | | - | |
2419 | | - | |
2420 | | - | |
2421 | | - | |
| 2418 | + | |
2422 | 2419 | | |
2423 | 2420 | | |
2424 | 2421 | | |
| |||
0 commit comments