[wp-trac] [WordPress Trac] #16645: Inline edit defaults author to current user
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 24 17:47:36 UTC 2011
#16645: Inline edit defaults author to current user
-----------------------------+-----------------------------
Reporter: firebird75 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: 3.1
Severity: normal | Keywords:
-----------------------------+-----------------------------
This one looks a bit like ticket #13982
Here is what happens :
- I have created a custom post type that doesn't support the 'author' when
registering it (with register_post_type)
- I am doing an inline edit of a custom post authored by another user
- the custom post author defaults to current user (ie the one who is
performing the inline edit instead of the one who authored it)
This behavior is different from what you see with post type of post where
inline edit wouldn't change the post author.
To debug it further, I have enabled the 'author' during the custom post
type registration and the problem isn't there anymore in that case. So it
is probably linked to the fact that 'author' wasn't entered in the
supports array entry during the custom post type registration.
I am not sure if this is a bug or expected behavior but it would be nice
to be able to have a common behavior accross post types weither 'author'
is supported or not.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16645>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list