#7073 closed defect (bug) (fixed)
Move cache setting in class-bp-xprofile-field::get_instance() under check for if query was successful
Reported by: | mmcachran | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
This will avoid errors like:
Notice: Trying to get property of non-object in /srv/www/wp/htdocs/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 237
Attachments (1)
Change History (4)
#1
@
9 years ago
- Milestone changed from Awaiting Review to 2.6
- Owner set to boonebgorges
- Status changed from new to assigned
It looks like this is your first contribution to BuddyPress. Welcome, and thanks! A good catch.
Note: See
TracTickets for help on using
tickets.
updates for class-bp-xprofile-field.php