Opened 12 months ago

Last modified 11 months ago

#20662 new enhancement

private post can be sticky via quickedit

Reported by: maxemil Owned by:
Priority: normal Milestone: Awaiting Review
Component: XML-RPC Version: 3.4
Severity: normal Keywords: dev-feedback
Cc:

Description

While preparing translations to 3.4 I came across

http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-xmlrpc-server.php#L908

This indicates that a private post cannot be marked as sticky.

  • however it is quite possible to mark a private post as sticky while using quickedit.

Solution proposal, remove sticky tickbox on quickedit if post is private.
Or if this is only related to the XMLRPC, fix the returnmessage to a warning "a private post will only be visible to you, so sticky might not make any sense".

I'm thinking.. "either its possible or its not, the logic should be the same"

Change History (1)

  • Keywords dev-feedback added
  • Severity changed from trivial to normal

yes, the logic should be the same. Added dev-feedback to define that the right way is for handling sticky posts.

Wonder if private isn't allowed we should add the check into stick_post().

Note: See TracTickets for help on using tickets.