[buddypress-trac] [BuddyPress Trac] #7373: Member Types directory not available when Members is the front-page

buddypress-trac noreply at wordpress.org
Thu Dec 8 03:36:38 UTC 2016


#7373: Member Types directory not available when Members is the front-page
--------------------------+---------------------------
 Reporter:  slaFFik       |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.8
Component:  Members       |     Version:  2.3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"11281"]:
 {{{
 #!CommitTicketReference repository="" revision="11281"
 When determining canonical URL, consider member type directories when
 'page_on_front'.

 `bp_get_canonical_url()` has some special logic for when
 'page_on_front' is a BP component directory. This logic was introduced
 before member and group type directories, so it did not account for
 them.

 The current changeset ensures that URLs of the format
 example.com/members/type/foo do not redirect to example.com when
 the Members directory is set to the home page.

 The same problem doesn't arise for group type directories, because
 the component/action stack works differently in the case of groups.

 Fixes #7373.
 }}}

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


More information about the buddypress-trac mailing list