Wordpress/tests
James Nylen 8bbfc6ef28 REST API: Fix PHP warnings when `get_theme_support( 'post-formats' )` is not an array.
If `add_theme_support( 'post-formats' )` is called with no additional
arguments, then `get_theme_support( 'post-formats' )` returns `true` rather
than an array of supported formats.  Avoid generating PHP warnings in this
situation.

Props dreamon11, ChopinBach.
Fixes #39293.


git-svn-id: https://develop.svn.wordpress.org/trunk@39620 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-20 00:55:04 +00:00
..
phpunit REST API: Fix PHP warnings when `get_theme_support( 'post-formats' )` is not an array. 2016-12-20 00:55:04 +00:00
qunit Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:22:28 +00:00