WordPress/wp-includes
Gary Pendergast 3549683ca3 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.
Fixes #45206.


Built from https://develop.svn.wordpress.org/branches/5.0@43838


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:30:14 +00:00
..
2016-12-03 03:30:42 +00:00
2017-01-11 01:23:41 +00:00
2017-10-16 22:29:48 +00:00
2016-12-03 04:16:38 +00:00
2016-12-03 03:51:41 +00:00