Ticket #3176 (closed enhancement: invalid)

Opened 2 years ago

Last modified 2 weeks ago

Tell the user what type of the default category

Reported by: Sewar Assigned to:
Priority: normal Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords:
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

3176.if.diff (2.2 kB) - added by Sewar on 09/28/06 13:41:08.
Using if
3176.switch.diff (2.2 kB) - added by Sewar on 09/28/06 13:41:47.
Using switch
3176.diff (2.7 kB) - added by Sewar on 10/02/06 11:26:11.
Using if and tell the user if the category is default for both posts and links

Change History

09/28/06 13:41:08 changed by Sewar

  • attachment 3176.if.diff added.

Using if

09/28/06 13:41:47 changed by Sewar

  • attachment 3176.switch.diff added.

Using switch

09/28/06 14:07:40 changed by westi

  • keywords changed from default category bg|has-patch bg|needs-testing bg|commit to default category bg|has-patch bg|needs-testing.

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.

10/02/06 11:26:11 changed by Sewar

  • attachment 3176.diff added.

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

10/02/06 11:30:17 changed by Sewar

  • keywords changed from default category bg|has-patch bg|needs-testing to default category has-patch.
  • owner changed from anonymous to Sewar.
  • status changed from new to assigned.

westi: Thanks for the note.

12/01/06 02:58:53 changed by matt

  • milestone changed from 2.1 to 2.2.

03/27/07 22:39:50 changed by foolswisdom

  • milestone changed from 2.2 to 2.3.

09/01/07 15:15:54 changed by westi

  • keywords changed from default category has-patch to default category needs-patch.

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

09/05/07 19:53:41 changed by foolswisdom

  • milestone changed from 2.3 to 2.5 (future).

12/28/08 18:54:45 changed by mrmist

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

12/28/08 22:37:18 changed by jacobsantos

  • keywords deleted.
  • owner deleted.
  • status changed from assigned to new.
  • milestone deleted.

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.

12/28/08 22:38:59 changed by jacobsantos

  • status changed from new to closed.
  • resolution set to invalid.

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.