Commit Graph

2507 Commits

Author SHA1 Message Date
Ryan Boren 17267dd999 wp_get_shortlink() improvements.
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests

Props sillybean, layotte, cais
fixes #18632
see #14760



git-svn-id: https://develop.svn.wordpress.org/trunk@25030 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 20:08:06 +00:00
Dion Hulse 02134236de Tests: Avoid PHP Deprecated and Strict Standards warnings from Object references and incompatible method declarations when running under WP_DEBUG
git-svn-id: https://develop.svn.wordpress.org/trunk@25017 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-08 02:55:44 +00:00
Peter Westwood ddbe85a1a7 Tests: Add support for storing your wp-test-config.php file a directory higher if you want to like we do for wp-config.php
git-svn-id: https://develop.svn.wordpress.org/trunk@25008 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:09:35 +00:00
Peter Westwood c366722810 Tests: Remove the real test configuration file, we only check in the sample one :)
git-svn-id: https://develop.svn.wordpress.org/trunk@25007 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:08:59 +00:00
Peter Westwood 90ff12d777 Tests: Remove the transitory ticket cache files that shouldn't be under version control.
git-svn-id: https://develop.svn.wordpress.org/trunk@25006 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:08:15 +00:00
Andrew Nacin 98e788c259 Remove the legacy Tests_Theme_ThemeDirLarge test to drop the wpcom-themes external/dependency. see #24976.
git-svn-id: https://develop.svn.wordpress.org/trunk@25004 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:51:04 +00:00
Andrew Nacin 1801ed459c Initial import of unit-tests repository into develop.svn.wordpress.org.
Imported from https://unit-tests.svn.wordpress.org/trunk@1337

see #24976.



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