WordPress/wp-admin
desrosj 91afce3ea8 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44339


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 22:28:45 +00:00
..
css About: Move images to the CDN, and use <picture>. 2018-12-05 22:25:47 +00:00
images Build: Update images following [43684]. 2018-10-22 05:06:38 +00:00
includes Posts, Post Types: Correctly show hierarchical post type hierarchy in admin. 2018-12-19 22:28:45 +00:00
js Docs: Future-proof comments referencing 5.0 TODOs. 2018-11-12 04:23:48 +00:00
maint
network
user
about.php About: Add 5.0.2 details to the about page. 2018-12-19 22:19:48 +00:00
admin-ajax.php Dashboard: Remove the Try Gutenberg callout. 2018-10-23 11:04:40 +00:00
admin-footer.php
admin-functions.php
admin-header.php Block Editor: Add extra body classes when the block editor is loaded. 2018-10-22 03:14:40 +00:00
admin-post.php
admin.php
async-upload.php
comment.php
credits.php Help/About: Add copy for new block editor. 2018-11-22 15:24:45 +00:00
custom-background.php
custom-header.php
customize.php
edit-comments.php
edit-form-advanced.php Block Editor: Fix meta boxes not showing. 2018-10-29 08:29:23 +00:00
edit-form-blocks.php Block Editor: Update @wordpress package dependencies. 2018-11-30 09:59:52 +00:00
edit-form-comment.php Block Editor: Fix meta boxes not showing. 2018-10-29 08:29:23 +00:00
edit-link-form.php Block Editor: Fix meta boxes not showing. 2018-10-29 08:29:23 +00:00
edit-tag-form.php
edit-tags.php
edit.php Block Editor: Fix the WordPress packages and vendor script registration. 2018-11-23 08:35:45 +00:00
export.php
freedoms.php About: Update Freedoms page to include illustrations. 2018-11-22 18:03:45 +00:00
import.php
index.php Dashboard: Remove the Try Gutenberg callout. 2018-10-23 11:04:40 +00:00
install-helper.php
install.php
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.php Script Loader: Ensure default packages are registered when loaded via load-scripts.php. 2018-11-08 09:24:51 +00:00
load-styles.php Script loader: remove (PHP based) compression from load-styles.php and load-scripts.php. WIth the amount of scripts and stylesheets grown a lot over the years, it has become pretty slow and consumes a lot of server resources. Also, most servers are set to compress PHP output anyway. 2018-10-11 03:23:22 +00:00
media-new.php
media-upload.php
media.php
menu-header.php
menu.php Privacy: Replace intrusive policy update notice with menu bubbles. 2018-05-10 20:08:26 +00:00
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php Update sidebars_widgets to match Twenty Nineteen's single widget area 2018-11-30 20:25:46 +00:00
network.php
options-discussion.php Privacy: Revert [43525]. 2018-07-24 17:08:26 +00:00
options-general.php
options-head.php
options-media.php Media: On Media Settings screen, make the pairs of labels and inputs always stacked vertically, on both mobile and desktop screens. 2018-03-20 22:49:39 +00:00
options-permalink.php
options-reading.php
options-writing.php
options.php Privacy: Revert [43525]. 2018-07-24 17:08:26 +00:00
plugin-editor.php
plugin-install.php
plugins.php Dashboard: Remove the Try Gutenberg callout. 2018-10-23 11:04:40 +00:00
post-new.php Editor: Minor bug fixes. 2018-10-24 06:46:40 +00:00
post.php Multisite: Validate activation links. 2018-12-13 01:30:45 +00:00
press-this.php
privacy.php Privacy: Improve grammar on Privacy Settings screen. 2018-07-19 20:16:26 +00:00
profile.php
revision.php
setup-config.php
term.php
theme-editor.php
theme-install.php
themes.php
tools.php Privacy: show the privacy policy guide and suggested content on a new page instead of a postbox. Then: 2018-05-09 21:00:28 +00:00
update-core.php
update.php
upgrade-functions.php
upgrade.php
upload.php
user-edit.php
user-new.php
users.php
widgets.php