Changes between Initial Version and Version 1 of Ticket #32629, comment 2
- Timestamp:
- 06/13/2015 08:03:40 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32629, comment 2
initial v1 1 A bypass filter for `get_term()` is a very powerful tool. I'm concerned that (a) it's liable to be misused, and (b) if we create such a termhere, we'll be asked for similar filters elsewhere in the taxonomy component (`wp_update_term()`, `get_terms()`, etc) as well as for objects like posts.1 A bypass filter for `get_term()` is a very powerful tool. I'm concerned that (a) it's liable to be misused, and (b) if we introduce such a filter here, we'll be asked for similar filters elsewhere in the taxonomy component (`wp_update_term()`, `get_terms()`, etc) as well as for objects like posts. 2 2 3 3 Looking at how you're using the filter, it seems like a filter on the return value of `wp_get_nav_menu_object()` would actually work better for your purposes. Does that seem right?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)