#4070 closed defect (bug) (fixed)
bp_blogs_validate_blog_signup throws PHP warning
Reported by: | needle | Owned by: | |
---|---|---|---|
Milestone: | 1.5.5 | Priority: | normal |
Severity: | trivial | Version: | 1.5.4 |
Component: | Blogs | Keywords: | |
Cc: |
Description
Line 557 of 'wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php':
$current_user->id is deprecated - use $current_user->ID instead.
Thanks.
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [5904]) Use current_user->ID instead of deprecated current_user->id in bp_blogs_validate_blog_signup(), to avoid PHP notices.
Fixes #4070. Props needle