Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#2340 closed enhancement (fixed)

Manage posts: restrict to one category

Reported by: thomas@… Owned by: westi
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0
Severity: normal Keywords: bg|has-patch bg|commit
Cc: Focuses:

Description

The attached patch adds a dropdown list on the Manage posts page that allows restricting the display to one category.

Attachments (4)

p​ (802 bytes ) - added by thomas 21 years ago.
edit.php.diff​ (883 bytes ) - added by westi 21 years ago.
Improved patch
2340.diff​ (910 bytes ) - added by westi 20 years ago.
Patch rebased against trunk
2340.2.diff​ (630 bytes ) - added by westi 20 years ago.
Use wp_dropdown_categories instead

Download all attachments as: .zip

Change History (9)

@thomas
21 years ago

#1 @westi
21 years ago

  • Keywords bg|has-patch added
  • Milestone → 2.1
  • Owner changed from anonymous to westi
  • Status new → assigned

This looks good.

Adding updated patch which also sets the dropdown to show the currently selected category as it doesn't seem to by default - this may be a bug in dropdown_cats as the ​codex page says:

selected - (integer) Sets the default selected category ID number. Defaults to current category.

@westi
21 years ago

Improved patch

#2 @westi
21 years ago

  • Keywords bg|commit added

@westi
20 years ago

Patch rebased against trunk

#3 @westi
20 years ago

I've rebased my patch against trunk.

I think this is as really useful feature

#4 @ryan
20 years ago

Can we start using wp_dropdown_categories() in the admin?

@westi
20 years ago

Use wp_dropdown_categories instead

#5 @ryan
20 years ago

  • Resolution → fixed
  • Status assigned → closed

(In [4137]) Add Browse Category dropdown. Props westi and thomas. fixes #2340

Note: See TracTickets for help on using tickets.