[buddypress-trac] [BuddyPress Trac] #5720: bp_core_new_subnav_item() only barely works for non-user nav
buddypress-trac
noreply at wordpress.org
Sun Jun 22 18:30:39 UTC 2014
#5720: bp_core_new_subnav_item() only barely works for non-user nav
--------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Core | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------
Comment (by boonebgorges):
In [changeset:"8544"]:
{{{
#!CommitTicketReference repository="" revision="8544"
Break redirect/display hook logic out of bp_core_new_subnav_item()
By moving some of the critical logic into
bp_core_maybe_hook_new_subnav_screen_function(),
it becomes possible to write unit tests for it.
See #5720
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5720#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list