[buddypress-trac] [BuddyPress Trac] #9139: bp_is_directory_homepage() should return false when called from sub-sites

buddypress-trac noreply at wordpress.org
Tue Apr 30 05:15:04 UTC 2024


#9139: bp_is_directory_homepage() should return false when called from sub-sites
------------------------------------+---------------------
 Reporter:  r-a-y                   |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  12.5.0
Component:  Core                    |     Version:  12.0.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+---------------------
Changes (by r-a-y):

 * keywords:  dev-feedback needs-patch => dev-feedback has-patch


Comment:

 > Why are we running parse_query() at all on sub-sites? I think this
 should only be necessary when running multiblog-mode - or, what should be
 the same thing, when we know that BP's rewrite rules have been registered
 on the current site.

 I was thinking about this myself after I posted the ticket. I think this
 makes the most sense. I've just attached a patch that does this.

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


More information about the buddypress-trac mailing list