[wp-trac] [WordPress Trac] #45711: Page listing is no longer hierarchical

WordPress Trac noreply at wordpress.org
Wed Dec 19 22:27:56 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:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44339" 44339]:
 {{{
 #!CommitTicketReference repository="" revision="44339"
 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.

 Merges [44338] to the 5.0 branch.

 Props davidbinda.
 Fixes #45711.
 }}}

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


More information about the wp-trac mailing list