[wp-trac] [WordPress Trac] #35600: Hooks for post sticky status changes

WordPress Trac noreply at wordpress.org
Thu Jun 23 15:51:05 UTC 2016


#35600: Hooks for post sticky status changes
--------------------------------------+---------------------
 Reporter:  ojrask                    |       Owner:  ojrask
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Posts, Post Types         |     Version:  2.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by swissspidy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37857"]:
 {{{
 #!CommitTicketReference repository="" revision="37857"
 Posts: Add hooks for post sticky status changes.

 This adds a new `post_stuck` action that fires when a post is made sticky
 and a `post_unstuck` action that fires when the sticky flag is removed
 again.

 Props ojrask.
 Fixes #35600.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35600#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list