[buddypress-trac] [BuddyPress Trac] #8360: inconsistent table checks in notifications

buddypress-trac noreply at wordpress.org
Thu Oct 15 16:33:37 UTC 2020


#8360: inconsistent table checks in notifications
------------------------------+------------------------------
 Reporter:  shawfactor        |       Owner:  johnjamesjacoby
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  7.0.0
Component:  Core              |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+------------------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12753" 12753]:
 {{{
 #!CommitTicketReference repository="" revision="12753"
 Core: use only one global to store the Notifications DB table name

 - Deprecate `$bp->core->table_name_notifications`.
 - Add a magic getter to `BP_Core`, with a fallback if the Notifications
 component isn't active.
 - Audit the related queries and method params, and makes sure they work as
 intended, and update them to our latest coding standards.

 Props johnjamesjacoby

 Fixes #8360
 }}}

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


More information about the buddypress-trac mailing list