[buddypress-trac] [BuddyPress Trac] #5518: Return results for bp_[update|delete]_option()

buddypress-trac noreply at wordpress.org
Sun Apr 6 18:56:05 UTC 2014


#5518: Return results for bp_[update|delete]_option()
--------------------------+------------------
 Reporter:  slaFFik       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.0
Component:  Core          |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by slaFFik):

 I see that you already using this like this:

 {{{
 if ( !bp_update_option( $key, $bp->site_options[ $key ] ) ) {
     $errors = true;
 }
 }}}

 But this results in errors in PHPStorm, as nothing explicitly returned but
 the function.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5518#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list