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

WordPress Trac noreply at wordpress.org
Mon Jun 6 19:46:22 UTC 2016


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

Comment (by ojrask):

 @voldemortensen I'll see that the patch is updated accordingly. Stuck and
 unstuck do make sense.

 @screamingdev Using the `update_option_$key` hook is cumbersome and
 requires the developer to do some option value juggling (to parse the
 difference before and after), instead of a hook providing the exact post
 ID which was stuck or unstuck. Please correct me if this is not the case.
 :)

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


More information about the wp-trac mailing list