Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 11 years ago

#9582 closed enhancement (invalid)

Hide uneditable posts in admin

Reported by: scribu's profile scribu Owned by: scribu's profile scribu
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

When a use goes to Posts->Edit he expects to see only the posts that he can edit, right?

If he would want to see all posts, he would go to the front end.

Attachments (4)

hide_uneditable.patch (822 bytes) - added by scribu 17 years ago.
put filter right after function
my_posts_filter.patch (2.6 KB) - added by scribu 17 years ago.
adds the "My Posts" filter
my_posts_link.patch (2.6 KB) - added by scribu 17 years ago.
adds the "My Posts" link
edit_posts_links.patch (10.4 KB) - added by scribu 17 years ago.
Use wp_filter_links() on edit.php, edit-pages.php

Download all attachments as: .zip

Change History (12)

@scribu
17 years ago

put filter right after function

#1 @DD32
17 years ago

My thoughts:

An extra filter(ALL|Published|Draft|etc) at the top of "Editable Posts" if the user cannot "edit_other_{$type}s", which is the default for someone of that type entering the page.. makes sense for me.

@scribu
17 years ago

adds the "My Posts" filter

#2 @scribu
17 years ago

  • Keywords needs-testing dev-feedback added

@scribu
17 years ago

adds the "My Posts" link

#3 @scribu
17 years ago

  • Owner changed from anonymous to scribu
  • Status changed from new to assigned
  • Summary changed from Hide uneditable posts in admin to Clean up edit posts links
  • Type changed from defect (bug) to enhancement

#4 @scribu
17 years ago

If the patch is ok, I would like to do the same in other admin pages: Edit Posts, Edit Comments, Manage Plugins etc.

#5 @scribu
17 years ago

  • Keywords tested commit added; needs-testing dev-feedback removed

@scribu
17 years ago

Use wp_filter_links() on edit.php, edit-pages.php

#6 @scribu
17 years ago

  • Keywords tested commit removed

#7 @scribu
17 years ago

  • Resolution set to invalid
  • Status changed from assigned to closed
  • Summary changed from Clean up edit posts links to Hide uneditable posts in admin

Starting a new ticket, with more accurate description of the patch: #9621

#8 @DrewAPicture
11 years ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.