WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 6 years ago

#3176 closed enhancement (invalid)

Tell the user what type of the default category

Reported by: Sewar Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords:
Focuses: Cc:

Description

Tell the user that the default category is for either posts or links rather than just "Default".

I have created the patch using "if" then modified it to use "switch", use the better one.

Also, it will be helpful to add note about change default categories.

Attachments (3)

3176.if.diff (2.2 KB) - added by Sewar 9 years ago.
Using if
3176.switch.diff (2.2 KB) - added by Sewar 9 years ago.
Using switch
3176.diff (2.7 KB) - added by Sewar 9 years ago.
Using if and tell the user if the category is default for both posts and links

Download all attachments as: .zip

Change History (12)

@Sewar9 years ago

Using if

@Sewar9 years ago

Using switch

comment:1 @westi9 years ago

  • Keywords bg|commit removed

I like this idea.

However we need to decide what we should display if both the default categories are the same category (which is currently possible although not the default behaviour).

Maybe we need to reserve the "Default" string for this.

@Sewar9 years ago

Using if and tell the user if the category is default for both posts and links

comment:2 @Sewar9 years ago

  • Keywords has-patch added; bg|has-patch bg|needs-testing removed
  • Owner changed from anonymous to Sewar
  • Status changed from new to assigned

westi: Thanks for the note.

comment:3 @matt8 years ago

  • Milestone changed from 2.1 to 2.2

comment:4 @foolswisdom8 years ago

  • Milestone changed from 2.2 to 2.3

comment:5 @westi8 years ago

  • Keywords needs-patch added; has-patch removed

Current patch does not apply cleanly to 2.3

Marking as needs-patch

New patch needed to apply changes to:

  1. wp-admin/includes/category.php:function _cat_row
  2. wp-admin/edit-link-catagories.php:function link_cat_row

comment:6 @foolswisdom8 years ago

  • Milestone changed from 2.3 to 2.5 (future)

comment:7 @mrmist6 years ago

Is this still valid? Is Sewar still working on it?

comment:8 @jacobsantos6 years ago

  • Keywords default category needs-patch removed
  • Milestone 2.9 deleted
  • Owner Sewar deleted
  • Status changed from assigned to new

I say if you want to take it over, then do so. Even if he is, it has been over two years, the patch will need to be refreshed.

comment:9 @jacobsantos6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

It appears to be invalid. For links, you have to choose the category or at least it should be known which one is the default. It would be nice to have the category known, but also seems to be plugin material.

For the posts, when you assign a post title, it will tell you which category it went into, if permalinks are turned on.

Note: See TracTickets for help on using tickets.