Make WordPress Core

Opened 5 years ago

Last modified 21 months ago

#37012 new enhancement

Remove non hierarchical test for sticky in post table hidden fields

Reported by: nicolasrenard Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: Administration Keywords:
Focuses: Cc:


When you enabled sticky feature for custom posts or pages, the checkbox in quick edit links for hierarchical post types (so like pages) doesn't work.

That's because there is a test on hierarchical type to add the sticky div (/wp-admin/includes/template.php:333).

Why such a test while there is an is_sticky() test inside ?

Is this test really useful ? I think it could be removed.

Attachments (1)

37012.patch (567 bytes) - added by nicolasrenard 5 years ago.

Download all attachments as: .zip

Change History (1)

5 years ago

Note: See TracTickets for help on using tickets.