Make WordPress Core

Opened 18 years ago

Closed 16 years ago

Last modified 10 months ago

#3176 closed enhancement (invalid)

Tell the user what type of the default category

Reported by: sewar's profile 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 18 years ago.
Using if
3176.switch.diff (2.2 KB) - added by Sewar 18 years ago.
Using switch
3176.diff (2.7 KB) - added by Sewar 18 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)

@Sewar
18 years ago

Using if

@Sewar
18 years ago

Using switch

#1 @westi
18 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.

@Sewar
18 years ago

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

#2 @Sewar
18 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.

#3 @matt
18 years ago

  • Milestone changed from 2.1 to 2.2

#4 @foolswisdom
18 years ago

  • Milestone changed from 2.2 to 2.3

#5 @westi
17 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

#6 @foolswisdom
17 years ago

  • Milestone changed from 2.3 to 2.5 (future)

#7 @mrmist
16 years ago

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

#8 @jacobsantos
16 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.

#9 @jacobsantos
16 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.