[buddypress-trac] [BuddyPress Trac] #7469: Adding condition check on page delete

buddypress-trac noreply at wordpress.org
Thu Mar 16 15:49:09 UTC 2017

#7469: Adding condition check on page delete
 Reporter:  raftaar1191       |       Owner:  johnjamesjacoby
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.9
Component:  Core              |     Version:  2.8.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by johnjamesjacoby):

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


 In [changeset:"11513"]:
 #!CommitTicketReference repository="" revision="11513"
 Core: Make sure trashed `activate` and `register` pages are unset in

 This flips the order of 2 conditions, which incorrectly included trashed
 pages for the `activate` & `register` components.

 In addition, normalize the return value & type-casting of
 `bp_core_get_directory_page_ids()` to ensure it is always an array, even
 if an empty one.

 Fixes #7469.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7469#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list