Make WordPress Core

Opened 8 years ago

Last modified 6 months ago

#43538 new enhancement

'No items,' should be considered to display when no Most Used Category is available

Reported by: juhise's profile juhise Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords: has-patch has-screenshots
Focuses: administration Cc:

Description

In Menus editor, for all types No items. message is being shown when no item is available for respective type.

I know that this use case severity is too low, Most Used category will be blank only when no post is available but so the Post test case is. In case of posts we are showing this message No Items.

I have created the patch, before applying the patch it was showing blank under most used tab.

Attachments (6)

43538.diff (703 bytes) - added by juhise 8 years ago.
Patch file
no-post-use-case.png (61.4 KB) - added by juhise 8 years ago.
when no post is available
no-most-used-category-after-patch.png (65.4 KB) - added by juhise 8 years ago.
no most used category available after patch
43538-1.diff (587 bytes) - added by juhise 8 years ago.
New Patch from Root
before-blank-most-used-category.png (22.2 KB) - added by lakshyajeet 6 months ago.
Before the patch, blank "Most Used" Tab in Categories
after-blank-most-used-category.png.png (24.6 KB) - added by lakshyajeet 6 months ago.
After the patch, "No Items" in the "Most Used" Tab in Categories

Download all attachments as: .zip

Change History (11)

@juhise
8 years ago

Patch file

@juhise
8 years ago

when no post is available

@juhise
8 years ago

no most used category available after patch

#1 @mukesh27
8 years ago

  • Keywords has-patch has-screenshots added

#2 @welcher
8 years ago

  • Keywords needs-refresh added

@juhise thanks for the ticket and the patch! Can you please regenerate the patch from the root of the repository?

#3 @juhise
8 years ago

@welcher

I am uploading a new patch from root, I hope it's fine.

@juhise
8 years ago

New Patch from Root

#4 @pento
7 years ago

  • Version trunk deleted

This ticket was mentioned in PR #9321 on WordPress/wordpress-develop by @lakshyajeet.


6 months ago
#5

  • Keywords needs-refresh removed

Trac ticket: https://core.trac.wordpress.org/ticket/43538

### Before:
https://github.com/user-attachments/assets/f324dca7-5270-4181-941a-1c22d77127cc

### After:
https://github.com/user-attachments/assets/1a073914-98b9-4ef3-982b-8e7424d6a528

@lakshyajeet
6 months ago

Before the patch, blank "Most Used" Tab in Categories

@lakshyajeet
6 months ago

After the patch, "No Items" in the "Most Used" Tab in Categories

Note: See TracTickets for help on using tickets.