[wp-trac] [WordPress Trac] #45711: Page listing is no longer hierarchical
WordPress Trac
noreply at wordpress.org
Wed Dec 19 22:22:54 UTC 2018
#45711: Page listing is no longer hierarchical
-------------------------------+-----------------------------
Reporter: david.binda | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.2
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: administration
-------------------------------+-----------------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44338" 44338]:
{{{
#!CommitTicketReference repository="" revision="44338"
Posts, Post Types: Correctly show hierarchical post type hierarchy in
admin.
In [44185], a bug was introduced where hierarchical post types would not
display in the correct default order (hierarchically).
This was caused by a `! isset()` check, which returned `false` after
[44185], causing the correct default value to not be applied. This
switches that conditional to use an `empty()` check, ignoring the new
empty string assignment that was added to prevent a PHP notice when
`compact()` is called.
Props davidbinda.
Fixes #45711.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45711#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list