Go to file
Scott Taylor 654d07ebf9 There was way too much duplicated code in my notice cleanup, it built up over time, and there's definitely a need to standardize.
* Remove duplicated code for deprecated function notice suppression
* Add support in `WP_UnitTestCase` setUp/tearDown methods for `$deprecated_functions` fixture if the extending class has added it
* Add a `$deprecated_functions` fixture to each extending class that needs it

To use this fixture, add something to your Test Case class like so:
`protected $deprecated_functions = array( 'get_theme', 'get_themes', 'get_theme_data', 'get_current_theme' );`

See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@25402 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-12 14:47:58 +00:00
src Return false from wp_get_original_referer() if it is called before wp_validate_redirect() is defined. 2013-09-12 13:35:35 +00:00
tests There was way too much duplicated code in my notice cleanup, it built up over time, and there's definitely a need to standardize. 2013-09-12 14:47:58 +00:00
tools/i18n Remove lingering instances of call time pass-by-reference, limited to instances of `callable` - use `$this` instead of `&$this`. 2013-09-05 16:33:50 +00:00
.gitignore Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
Gruntfile.js Use matchdep for Grunt tasks. 2013-09-04 20:50:29 +00:00
package.json Use matchdep for Grunt tasks. 2013-09-04 20:50:29 +00:00
phpunit.xml.dist Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
wp-config-sample.php Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
wp-tests-config-sample.php Change DB_NAME in wp-tests-config-sample.php to be something other than the placeholder in wp-config-sample.php. 2013-09-03 23:59:26 +00:00