#25534 closed defect (bug) (duplicate)
Current User ID variable isn't being initialized in the query.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.7 |
| Component: | Query | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Was throwing errors for me locally. The variable is initialized correctly elsewhere in the if statement, just needs to be added for the is_user_logged_in().
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Initialize the $user_id var with get_current_user_id();