WordPress/wp-admin
atimmer 20992de206 Meta boxes: Don't assume that callback args are an array.
While the documentation for add_meta_box() specifices that $callback_args should be an array, this has never been enforced, and we have workarounds in place for when it's passed as something other than an array.

Rather than break sites that are passing unexpected data, we can quietly just allow for it, instead.

Props johnjamesjacoby, birgire, pento.
Merges [43838] to trunk.
Fixes #45206.

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


git-svn-id: http://core.svn.wordpress.org/trunk@44004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 09:39:51 +00:00
..
css Build/Test: Update dependencies for 5.0 2018-12-11 16:13:26 +00:00
images
includes Meta boxes: Don't assume that callback args are an array. 2018-12-14 09:39:51 +00:00
js Customize: Ensure that only sidebar sections are considered when comparing against sidebars. 2018-08-28 19:55:25 +00:00
maint Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
network Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
user Code is Poetry. 2017-11-30 23:11:00 +00:00
about.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
admin-ajax.php
admin-footer.php
admin-functions.php
admin-header.php Block Editor: Add extra body classes when the block editor is loaded. 2018-12-14 01:21:38 +00:00
admin-post.php
admin.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
async-upload.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
comment.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
credits.php Help/About: Move "Get involved" link on Credits screen to the top of the page for better visibility. 2018-04-30 03:16:22 +00:00
custom-background.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
custom-header.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
customize.php
edit-comments.php
edit-form-advanced.php Meta Boxes: Add __back_compat_meta_box and __block_editor_compatible_meta_box flags to meta boxes. 2018-12-14 01:18:38 +00:00
edit-form-blocks.php Block Editor: Preload wp/v2/media with OPTIONS for caps check. 2018-12-14 06:02:52 +00:00
edit-form-comment.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
edit-link-form.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
edit-tag-form.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
edit-tags.php Taxonomies: Improve description of default category behaviour. 2018-10-02 19:19:24 +00:00
edit.php Blocks: Add the reusable block post type, wp_block. 2018-12-14 02:15:37 +00:00
export.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
freedoms.php Coding Standards: Prepare for upgrading WPCS to 1.0.0. 2018-08-15 06:22:26 +00:00
import.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
index.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
install-helper.php
install.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.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-08-20 13:51:24 +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-08-20 13:51:24 +00:00
media-new.php
media-upload.php
media.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
menu-header.php
menu.php Privacy: Replace intrusive policy update notice with menu bubbles. 2018-05-10 19:52:21 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
nav-menus.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
network.php
options-discussion.php Privacy: Revert [43525]. 2018-07-24 17:06:24 +00:00
options-general.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-head.php
options-media.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-permalink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-reading.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options-writing.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
options.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
plugin-editor.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
plugin-install.php
plugins.php Plugins: Pluralise the "unexpected output during activation" message. 2018-10-02 19:30:23 +00:00
post-new.php Editor: Merge some minor bug fixes. 2018-12-14 05:12:52 +00:00
post.php Editor: Merge some minor bug fixes. 2018-12-14 05:12:52 +00:00
press-this.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
privacy.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
profile.php
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
setup-config.php Upgrade/Install: Adjust table prefix string check in setup-config.php for the coding standards change in [42343]. 2018-09-20 05:15:25 +00:00
term.php
theme-editor.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
theme-install.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
themes.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
tools.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
update-core.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
update.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
upgrade-functions.php
upgrade.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
upload.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
user-edit.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
user-new.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
users.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00