jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Widget Visibility Taxonomy All Pages Shows Widget on Pages That "could" Use Taxonomy, but Don't

Open pmciano opened this issue 9 years ago • 3 comments

After creating a custom taxonomy for pages, a user set a widget's visibility to All pages for a specific grouping:

Widget Settings

Instead of appearing on just pages that were in the chosen grouping, it also appeared on pages that could have been assigned to that grouping, but were not.

3097313-t

pmciano avatar Mar 23 '17 17:03 pmciano

It seems like there's a couple of ways this option could go?

  1. "All pages" means all pages that that taxonomy /could/ be used on, which is what happes now.
  2. All pages that uses any term within that taxonomy.

We do the first here: https://github.com/Automattic/jetpack/blob/master/modules/widget-visibility/widget-conditions.php#L621

We could either change the behavior or add an option here for "any term". It hasn't come up since categories are required and I just don't think anyone has thought of wanting a case to show only on posts that were tagged with anything.

kraftbj avatar Mar 23 '17 18:03 kraftbj

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

stale[bot] avatar Sep 18 '18 18:09 stale[bot]

Closing this for now because of the lack of activity on this. We can always reopen in the future if needed.

jeherve avatar Sep 19 '18 09:09 jeherve