Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to post filter #42

Merged
merged 4 commits into from
Oct 15, 2020
Merged

Improvements to post filter #42

merged 4 commits into from
Oct 15, 2020

Conversation

Nikschavan
Copy link
Collaborator

Description

Follow up to #40 and #41

  1. Don't save unlisted post status for revisions.
  2. Get the count of posts from the current post type on any particular admin screen.
  3. Hide the post status filter when the count of posts is 0

Screenshots

Types of changes

How has this been tested?

Checklist:

  • My code is tested
  • My code passes the PHPCS tests
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

@Nikschavan Nikschavan merged commit 0cb8fa5 into master Oct 15, 2020
@Nikschavan Nikschavan deleted the fix-post-filter branch October 15, 2020 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant