[buddypress-trac] [BuddyPress Trac] #8362: View buttons can be incorrectly visible on Pages settings

buddypress-trac noreply at wordpress.org
Fri Sep 11 19:37:53 UTC 2020


#8362: View buttons can be incorrectly visible on Pages settings
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  7.0.0
Component:  Settings         |     Version:  2.0
 Severity:  minor            |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+------------------------------
Changes (by johnjamesjacoby):

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


Comment:

 In [changeset:"12718" 12718]:
 {{{
 #!CommitTicketReference repository="" revision="12718"
 Settings: Do not show "View" links for missing pages.

 This commit adds `get_post()` checks to an existing comparison to ensure
 that some UI elements are not incorrectly shown. This bug could arise if
 component pages are trashed & deleted after BuddyPress is deactivated,
 causing a mismatch between the `bp-pages` option and the pages that exist
 on the site.

 Fixes #8362.
 }}}

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


More information about the buddypress-trac mailing list