53016dd3aa
Running the taxonomy array through `array_unique()` is unnecessary when the function returns objects, because the associative keys already ensure uniqueness. This also fixes a bug when running `get_attachment_taxonomies()` in HHVM, which doesn't like casting objects to strings for the purposes of `array_unique()`. Props swissspidy. See #37368. git-svn-id: https://develop.svn.wordpress.org/trunk@38437 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml.dist | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |