[buddypress-trac] [BuddyPress Trac] #5681: page directory ids don't update when component is deactivated

buddypress-trac noreply at wordpress.org
Wed Jun 4 19:12:04 UTC 2014


#5681: page directory ids don't update when component is deactivated
--------------------------+------------------
 Reporter:  modemlooper   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1
Component:  Core          |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 2.1


Comment:

 When the page is deleted, it should be removed from the array. That does
 seem like a straightforward bug.

 > Should a component disconnect itself from the page id when deactivated?
 Is it a safety thing incase you deactivate then reactivate to keep the
 page in sync?

 My thought is that it should probably stay in the bp-pages meta value, but
 it should be filtered out at some point before being accessible to
 plugins, etc. Can you say more about how you're accessing this array? Are
 you reaching into `$bp->pages`?

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


More information about the buddypress-trac mailing list