Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#12408 closed defect (bug) (fixed)

Unable to choose author in custom post type

Reported by: danielpataki Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:


I'm not sure this is a bug, I may not be familiar enough with the functions governing this in WP.

The problem is that I can not choose an author for custom post type posts. If I go to the normal posts, the list is populated with about 20 names.

In custom post types, I can not choose any author, the currently logged in user is shown for new posts, and only the original author is shown for already created posts. I can not change the author of already created posts, even if I am logged in with a different user (who is an admin).

I am guessing this has to do with permission issues, but I looked at the register_post_type() function and also at the code in the core which registers the basic types like post and page and I couldn't find any arguments which would resolve this.

Attachments (1)

12408.diff (652 bytes) - added by prettyboymp 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ocean90
8 years ago

Can confirm it.
If I use the functions from WP Enginner I can choose the author if I'm the network admin, but not if I'm the admin/blog owner.

#2 @scribu
8 years ago

  • Keywords needs-patch added
  • Milestone changed from Unassigned to 3.0
  • Version set to 3.0

8 years ago

#3 @prettyboymp
8 years ago

  • Keywords has-patch added; needs-patch removed

#4 @voyagerfan5761
8 years ago

  • Cc WordPress@… added

#5 @prettyboymp
8 years ago

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

fixed in r13488

Note: See TracTickets for help on using tickets.