Wordpress/tests/phpunit/tests/formatting
John Blackbourn c2f597280b Formatting: Don't make links inside <script> and <style> tags clickable.
Fixes #30162
Props ninos-ego, adamsilverstein


git-svn-id: https://develop.svn.wordpress.org/trunk@35847 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-09 23:54:24 +00:00
..
Autop.php Formatting: maintain the content of HTML comments when they contain <object> tags. Add more tests for wpaitop(). 2015-09-08 22:54:08 +00:00
balanceTags.php Remove duplicated and superceded balance tags unit tests. 2014-01-27 02:57:51 +00:00
BlogInfo.php Allow usage of angle brackets in a site title or tagline. 2015-12-06 20:28:26 +00:00
CleanPre.php Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00
ConvertInvalidEntries.php After [32896], update ConvertChars.php unit tests and rename to ConvertInvalidEntries.php. 2015-06-25 19:50:14 +00:00
date.php Formatting: allow date strings to be passed to get_gmt_from_date(), instead of requiring 'Y-m-d H:i:s'. 2015-10-20 06:07:45 +00:00
ent2ncr.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
EscAttr.php After [33148]: 2015-07-14 17:55:07 +00:00
EscHtml.php After [33148]: 2015-07-14 17:55:07 +00:00
EscTextarea.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
EscUrl.php Use wp_parse_url() in esc_url() to avoid parsing bugs in < PHP 5.4.7. 2015-10-23 05:56:25 +00:00
GetUrlInContent.php Update Tests_Formatting_GetUrlInContent::get_input_output() after [33858]. 2015-09-05 14:05:05 +00:00
HtmlExcerpt.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
IsEmail.php Better test method name in formatting/IsEmail.php. 2014-11-19 19:31:17 +00:00
isoDescrambler.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
JSEscape.php After [33148]: 2015-07-14 17:55:07 +00:00
LikeEscape.php Fix a unit test for the now deprecated function like_escape(). 2014-06-10 01:21:33 +00:00
LinksAddTarget.php Add unit tests for links_add_target(). Alter the patterns in links_add_target() and _links_add_target() slightly based on learnings after running tests. 2013-11-22 16:24:25 +00:00
MakeClickable.php Formatting: Don't make links inside <script> and <style> tags clickable. 2015-12-09 23:54:24 +00:00
MapDeep.php Introduce map_deep(), a utility function that recursively maps a callable function to every item in an array or object. Works like array_walk_recursive() but works with objects too. 2015-10-17 23:25:21 +00:00
NormalizeWhitespace.php Introduce unit tests for the normalize_whitespace() function. 2013-11-22 16:17:59 +00:00
redirect.php In wp_sanitize_redirect(), don't eat @ characters. According to RFC 3986, "@" is a perfectly valid character in a URL path or query string. 2015-08-22 17:04:17 +00:00
RemoveAccents.php Remove certain accents in the Danish language. 2013-12-03 20:38:03 +00:00
SanitizeFileName.php Fotmatting: in sanitize_file_name(), escape % when uploads contain them, otherwise attachment URLs will unescape the char and break. 2015-10-13 03:21:13 +00:00
SanitizeMimeType.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
SanitizeOrderby.php Clean up some edge cases in sanitize_sql_orderby(). 2015-04-20 05:41:37 +00:00
SanitizePost.php 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. 2015-10-17 18:02:16 +00:00
SanitizeTextField.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
SanitizeTitle.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
SanitizeTitleWithDashes.php Improvements to encoded character formatting tests. 2014-11-22 19:53:37 +00:00
SanitizeTrackbackUrls.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
SanitizeUser.php Ensure sanitize_user() expected test values are lowercase on multisite. 2014-11-22 21:29:40 +00:00
SeemsUtf8.php Repair the seems_utf8() tests that use Big5 encoding. 2014-11-22 20:56:23 +00:00
Slashit.php Strip backslashes, not just forward slashes, from untrailingslashit(). 2014-03-01 21:44:43 +00:00
Smilies.php Unit Tests: The get_smilies_combinations test was failing when the tests were run with a non-default domain. 2015-04-20 10:10:53 +00:00
StripSlashesDeep.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
UrlencodeDeep.php Introduce map_deep(), a utility function that recursively maps a callable function to every item in an array or object. Works like array_walk_recursive() but works with objects too. 2015-10-17 23:25:21 +00:00
UrlEncodedToEntities.php Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji. 2015-03-11 22:54:49 +00:00
URLShorten.php Formatting: move url_shorten() from wp-admin/includes/misc.php to wp-includes/formatting.php for more global access. 2015-10-21 03:47:23 +00:00
Utf8UriEncode.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
wp_basename.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
WpHtmlEditPre.php Add expectedDeprecated flags to wp_richedit_pre() and wp_htmledit_pre() unit tests. 2015-06-23 14:41:39 +00:00
WpHtmlSplit.php Improvements to PCRE benchmarking tests. 2015-10-02 13:50:12 +00:00
WPMakeLinkRelative.php Formatting: wp_make_link_relative() should return an empty string if no path is present in the link. 2015-11-03 21:35:17 +00:00
WPRelNoFollow.php Add missing @group to Tests_Rel_No_Follow. 2015-11-04 16:35:02 +00:00
WpReplaceInHtmlTags.php Remove svn:executable from test files. 2015-07-26 09:40:58 +00:00
WpRichEditPre.php Add expectedDeprecated flags to wp_richedit_pre() and wp_htmledit_pre() unit tests. 2015-06-23 14:41:39 +00:00
WPSpecialchars.php After [33148]: 2015-07-14 17:55:07 +00:00
WPStripAllTags.php Basic unit tests and additional documentation for wp_strip_all_tags(). 2014-01-27 03:15:29 +00:00
WPTexturize.php Texturize: Only convert & to &#038; within text nodes. 2015-11-19 23:31:00 +00:00
WpTrimExcerpt.php 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. 2015-10-17 18:02:16 +00:00
WPTrimWords.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
Zeroise.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00