WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#20662 new enhancement

private post can be sticky via quickedit

Reported by: maxemil Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4
Component: XML-RPC Keywords: dev-feedback
Focuses: 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)

comment:1 markoheijnen2 years ago

  • 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.