WordPress/wp-admin
Peter Wilson 1ee362004f Upgrade: Prevent warnings upgrading cron array.
An unvisited site may have an undefined cron array, resulting in `_get_cron_array()` returning the value `false`. Previously this would trigger warning in `upgrade_590()` as the function assumed `_get_cron_array()` would alway return an array.

No database version change is required as the upgrade routine was successful on sites with a cron array during 5.9.0. On sites without a cron array, the error has already been thrown if they are running db version 51917. This fix is only required for new sites or those upgrading that have skipped 5.9.0.

Follow up to [51917].

Props chrisvanpatten, kapilpaul, SergeyBiryukov.
Fixes #54906.
See #53940.

Built from https://develop.svn.wordpress.org/trunk@52656


git-svn-id: http://core.svn.wordpress.org/trunk@52245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-01 00:14:06 +00:00
..
css Administration: Add a top margin to Mail Server Port field on small screens. 2022-01-28 21:50:04 +00:00
images Help/About: Update the About section for 5.9. 2022-01-11 18:36:00 +00:00
includes Upgrade: Prevent warnings upgrading cron array. 2022-02-01 00:14:06 +00:00
js Administration: Revert [51946]. 2022-01-17 19:55:04 +00:00
maint
network Administration: Add "File" to Theme/Plugin Editor menu names and relocate "Plugin File Editor" to Tools for block themes. 2021-12-21 20:06:02 +00:00
user
about.php Help/About: Update the About section for 5.9. 2022-01-11 18:36:00 +00:00
admin-ajax.php
admin-footer.php Coding Standards: Simplify a condition in wp-admin/admin-footer.php. 2021-06-01 11:30:57 +00:00
admin-functions.php
admin-header.php External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
admin-post.php
admin.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
async-upload.php Media: Remove target blank attribute from media uploader edit links. 2022-01-27 22:17:00 +00:00
authorize-application.php App Passwords: Remove placeholder from the app password name input field. 2021-10-01 13:49:00 +00:00
comment.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
credits.php Help/About: WordPress 5.9 About Page. 2022-01-04 18:35:03 +00:00
custom-background.php
custom-header.php
customize.php Admin/Help: add docs links to several screens. 2021-11-08 21:43:01 +00:00
edit-comments.php Admin/Comments: remove bespoke truncation from search string HTML. 2021-11-02 15:57:59 +00:00
edit-form-advanced.php Editor: Use a consistent way to retrieve post ID on Edit Post screens. 2021-04-09 11:31:09 +00:00
edit-form-blocks.php Editor: Explicitly load remote block patterns in the block and site editor screens. 2022-01-17 22:42:03 +00:00
edit-form-comment.php Comments: Escape comment author's email in the Edit Comment form. 2021-06-07 18:47:02 +00:00
edit-link-form.php
edit-tag-form.php Taxonomy: Clarify the taxonomy labels for customizing the field descriptions on Edit Tags screen: 2021-11-15 16:45:01 +00:00
edit-tags.php Taxonomy: Clarify the taxonomy labels for customizing the field descriptions on Edit Tags screen: 2021-11-15 16:45:01 +00:00
edit.php General: Fix code quality issues which were identified by static analysis. 2021-09-22 21:01:00 +00:00
erase-personal-data.php Coding Standards: Remove wrapping HTML tags from translatable strings. 2021-07-08 17:07:58 +00:00
export-personal-data.php Coding Standards: Remove wrapping HTML tags from translatable strings. 2021-07-08 17:07:58 +00:00
export.php External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
freedoms.php Help/About: Update Freedoms page for 5.9. 2022-01-24 09:41:03 +00:00
import.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
index.php Help/About: Improve typography in the Welcome to your WordPress Dashboard! text. 2021-11-03 03:16:57 +00:00
install-helper.php
install.php
link-add.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
link-manager.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
link-parse-opml.php
link.php Coding Standards: Apply some alignment fixes from composer format. 2021-07-27 19:01:59 +00:00
load-scripts.php Docs: Update a comment in wp-admin/load-styles.php per the documentation standards. 2021-12-12 14:52:02 +00:00
load-styles.php Docs: Update a comment in wp-admin/load-styles.php per the documentation standards. 2021-12-12 14:52:02 +00:00
media-new.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
media-upload.php
media.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
menu-header.php
menu.php Administration: Make sure the $customize_url variable is always defined in the admin menu. 2021-12-25 03:32:03 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
nav-menus.php Menus: Add audible notice on menu item add or remove. 2021-11-15 20:00:59 +00:00
network.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
options-discussion.php Admin/Discussion Settings: attempt to clarify intent of "Default post settings" section. 2021-11-02 16:42:59 +00:00
options-general.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
options-head.php
options-media.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
options-permalink.php Permalinks: Move the Nginx documentation link to help sidebar in wp-admin/options-permalink.php. 2021-10-05 23:11:06 +00:00
options-privacy.php Admin/Help: add commas to end of multi-line array items. 2021-11-08 21:55:00 +00:00
options-reading.php Coding Standards: Use strict comparison in wp-admin/options-reading.php. 2022-01-02 16:47:05 +00:00
options-writing.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
options.php Coding Standards: Use strict comparison in wp-admin/options.php. 2022-01-03 21:28:01 +00:00
plugin-editor.php Administration: Add "File" to Theme/Plugin Editor menu names and relocate "Plugin File Editor" to Tools for block themes. 2021-12-21 20:06:02 +00:00
plugin-install.php Taxonomy: Typo correction in context used for the navigation link block title. 2022-01-07 11:21:04 +00:00
plugins.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
post-new.php
post.php
press-this.php
privacy-policy-guide.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
privacy.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
profile.php
revision.php Coding Standards: Use strict comparison in wp-admin/revision.php. 2022-01-07 16:47:00 +00:00
setup-config.php Upgrade/Install: Use consistent capitalization for "web host" in setup messages. 2021-08-14 12:06:59 +00:00
site-editor.php Editor: Explicitly load remote block patterns in the block and site editor screens. 2022-01-17 22:42:03 +00:00
site-health-info.php Site Health: Internationalizes count in the info section headings. 2021-11-01 22:36:59 +00:00
site-health.php Site Health: Typo correction in Site Health help tab. 2021-12-18 21:02:04 +00:00
term.php
theme-editor.php Administration: Add "File" to Theme/Plugin Editor menu names and relocate "Plugin File Editor" to Tools for block themes. 2021-12-21 20:06:02 +00:00
theme-install.php Help/About: Correction on the documentation link about adding new themes. 2022-01-05 22:14:59 +00:00
themes.php Administration: Replace "Current theme" with "Active theme" in user facing strings. 2022-01-15 08:44:03 +00:00
tools.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
update-core.php Upgrade/Install: Make sure the "Show hidden updates" button is visible and works as expected. 2022-01-26 13:11:29 +00:00
update.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
upgrade-functions.php
upgrade.php
upload.php Coding Standards: Use strict comparisons in wp-admin/upload.php. 2021-08-05 03:37:56 +00:00
user-edit.php Application Passwords: Show HTTPS required message without filtering when not enabled or not in local environment. 2021-12-21 02:45:03 +00:00
user-new.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
users.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00
widgets-form-blocks.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
widgets-form.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
widgets.php Docs: Add a comment about the $title global usage in various admin files. 2021-07-22 13:53:00 +00:00