Go to file
Boone Gorges e5e467a41b Allow metadata to be deleted when meta_value matches 0 or '0'.
In `delete_metadata()`, be stricter about when to ignore a falsey value of
`$meta_value`.

For backward compatibility, an empty string for `$meta_value` is equivalent to
`null` or `false`.

Props sc0ttkclark.
Fixes #32224.

git-svn-id: https://develop.svn.wordpress.org/trunk@32331 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-01 16:37:35 +00:00
src Allow metadata to be deleted when meta_value matches 0 or '0'. 2015-05-01 16:37:35 +00:00
tests Allow metadata to be deleted when meta_value matches 0 or '0'. 2015-05-01 16:37:35 +00:00
tools/i18n i18n tools: Delete `data/not-gettexted-0-work.php`. 2015-02-22 12:55:34 +00:00
.editorconfig Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:28:58 +00:00
.gitignore Ignore `.DS_Store` files. 2015-03-13 18:11:33 +00:00
.jshintrc Update `grunt-contrib-jshint` to `0.11.0` 2015-03-06 21:07:35 +00:00
.travis.yml Run unit tests on Travis CI with php nightlies 2015-02-26 17:49:13 +00:00
Gruntfile.js Move the built media JS files up a directory to their previous location and naming convention. This fidgets with part of [31373] and will maintain BC for those who were loading those files directly (not using the enqueue system). 2015-04-14 15:30:16 +00:00
package.json Trunk is now 4.3-alpha. 2015-04-23 17:59:53 +00:00
phpunit.xml.dist Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
wp-cli.yml
wp-config-sample.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:28:58 +00:00
wp-tests-config-sample.php