Commit Graph

11 Commits

Author SHA1 Message Date
Joe Hoyle
a375d93001 REST API: Improve formatting of failed validation errors.
If a validation_callback returns a WP_Error it should give the same response format as if it returned `false`. This makes programmatically reading the validation errors better.

Props bradyvercher for initial patch.
Fixes #35028.


git-svn-id: https://develop.svn.wordpress.org/trunk@35890 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 18:22:02 +00:00
John Blackbourn
01a92d7908 Remove an IDE-specific rule in .gitignore. These should be managed in the user's ~/.gitignore_global file.
Fixes #34345


git-svn-id: https://develop.svn.wordpress.org/trunk@35254 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-18 00:15:23 +00:00
Scott Taylor
b757b37551 Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop.
Props nerrad, wonderboymusic.
See #30017, #33968.



git-svn-id: https://develop.svn.wordpress.org/trunk@35242 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 18:02:16 +00:00
Sergey Biryukov
0c664ec112 Ignore .DS_Store files.
props danielbachhuber.
fixes #31633.

git-svn-id: https://develop.svn.wordpress.org/trunk@31769 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-13 18:11:33 +00:00
Peter Westwood
4214aa3862 Ignore any local WP Cli config files.
Fixes #30134 props danielbachhuber


git-svn-id: https://develop.svn.wordpress.org/trunk@30050 602fd350-edb4-49c9-b593-d223f7449a82
2014-10-28 17:01:22 +00:00
Mark Jaquith
7e70cdcb9b Remove twenty* ignore-exclusion lines. Already tracked.
see #27207. props TobiasBg.

git-svn-id: https://develop.svn.wordpress.org/trunk@27298 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 20:59:25 +00:00
Mark Jaquith
9907c09f1b More robust .gitignore file
fixes #27207. props TobiasBg, markjaquith.

git-svn-id: https://develop.svn.wordpress.org/trunk@27295 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 18:44:27 +00:00
Sergey Biryukov
0aaea5b6ef Add more .gitignore entries for unit test files.
props bpetty.
fixes #26375.

git-svn-id: https://develop.svn.wordpress.org/trunk@26578 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:48:58 +00:00
Andrew Nacin
e5dddf77e8 Don't remove the compiled.html QUnit file. Ignore it instead.
props jorbin.
fixes #25781.


git-svn-id: https://develop.svn.wordpress.org/trunk@26108 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:20:28 +00:00
Andrew Nacin
0494df8152 Move wp-config-sample.php to the root of develop.svn.
wp-config.php is now created in the root. wp-config-sample.php is properly copied over to the build directory for syncing to core.svn.

Add some ignores.

fixes #25185, see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25173 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-29 20:45:17 +00:00
Andrew Nacin
b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00