Skip to content

Conversation

@GaryJones
Copy link
Contributor

Summary

  • Fixes the ef_story_budget_taxonomy_used filter not being respected in the Story Budget filter dropdown
  • The filter was correctly applied to postboxes but the dropdown was hardcoded to 'category'
  • Now uses dynamic taxonomy labels and respects hierarchical setting

Fixes #679

Test plan

  • Set up a custom taxonomy and use the ef_story_budget_taxonomy_used filter to change the Story Budget taxonomy
  • Verify the dropdown shows terms from the custom taxonomy instead of categories
  • Verify the dropdown label updates to match the taxonomy name
  • Verify filtering by term works correctly

🤖 Generated with Claude Code

…opdown

The ef_story_budget_taxonomy_used filter was correctly applied to the
postboxes (term sections) but the filter dropdown was hardcoded to use
the 'category' taxonomy.

Changes:
- Use $this->taxonomy_used instead of hardcoded 'category' check
- Pass taxonomy parameter to wp_dropdown_categories()
- Use dynamic labels from taxonomy object
- Respect taxonomy's hierarchical setting

Fixes #679

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@GaryJones GaryJones requested a review from a team as a code owner December 23, 2025 21:43
@GaryJones GaryJones self-assigned this Dec 23, 2025
@GaryJones GaryJones added this to the Next (minor) milestone Dec 23, 2025
@GaryJones GaryJones merged commit 68e3985 into develop Dec 23, 2025
12 checks passed
@GaryJones GaryJones deleted the fix/679-story-budget-taxonomy-filter branch December 23, 2025 21:51
@GaryJones GaryJones mentioned this pull request Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using custom taxonomy filter for the story-budget screen

2 participants