Go to file
Drew Jaynes 653f2ee36e Correct the `$number` argument description in `get_terms()` to reflect that an empty string or 0 will return all possible results, not -1.
Previously, it was noted that -1 would return all possible results. However, as the value of `$number` is passed through `absint()`, -1 would actually be converted to 1, thereby producing unexpected results.

Props iandunn.
Fixes #31526.


git-svn-id: https://develop.svn.wordpress.org/trunk@31638 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-06 08:04:32 +00:00
src Correct the `$number` argument description in `get_terms()` to reflect that an empty string or 0 will return all possible results, not -1. 2015-03-06 08:04:32 +00:00
tests Introduce `$autoload` parameter to `update_option()`. 2015-03-05 19:13:00 +00:00
tools/i18n i18n tools: Delete `data/not-gettexted-0-work.php`. 2015-02-22 12:55:34 +00:00
.editorconfig .jshintrc is a json file and .editorconfig should treat it like a json file 2014-10-08 19:26:50 +00:00
.gitignore Ignore any local WP Cli config files. 2014-10-28 17:01:22 +00:00
.jshintrc
.travis.yml Run unit tests on Travis CI with php nightlies 2015-02-26 17:49:13 +00:00
Gruntfile.js Use `browserify`'s watch mechanism in tandem with `grunt watch`. Makes building media bundles about 10 (million) times faster. 2015-03-05 19:48:59 +00:00
package.json RTL CSS generation: Switch from CSSJanus to RTLCSS. 2015-02-27 13:40:03 +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
wp-tests-config-sample.php