[wp-trac] [WordPress Trac] #48954: "Sticky" post state shows even for non-Post post-types

WordPress Trac noreply at wordpress.org
Thu Sep 11 13:29:52 UTC 2025


#48954: "Sticky" post state shows even for non-Post post-types
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch good-first-bug has-      |     Focuses:
  test-info                                      |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:   => needs-patch good-first-bug has-test-info
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => Future Release


Comment:

 == Reproduction Report
 === Description
 ✅ This report validates that the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 140.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.3
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Test Instructions
 1. Install the plugin proposed by OP to make easy the switch from Post to
 Page without having to deal with code or DB
 2. Create a Post and mark it Sticky
 3. Convert the Sticky Post to Page
 4. Check in the Page listing
 5. 🐞 The converted page appears there with the unsupported Sticky status

 === Actual Results
 1.  ✅ Error condition occurs (reproduced).

 === Additional Notes
 >Looking at this problem architecturally, I believe stickiness should be
 something that is part of the Post Type Support API, announced via
 register_post_type() and checked via post_type_supports().

 Looks like a good idea to be implemented. Time to move forward this
 ticket.

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


More information about the wp-trac mailing list