Commit Graph

29 Commits

Author SHA1 Message Date
markjaquith
1bdc18d904 use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for 2.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@5058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 09:04:56 +00:00
markjaquith
be708ef9a7 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
e1e33b5eea Add some prophylactic int casts and quoting.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-04 22:25:24 +00:00
ryan
e93dd02321 get_links() purtification. Props MaThIbUs. fixes #1244
git-svn-id: http://svn.automattic.com/wordpress/trunk@2795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:46:18 +00:00
ryan
b1a8620710 Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: http://svn.automattic.com/wordpress/trunk@2656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-20 01:40:52 +00:00
ryan
6a85ffa048 Add query string style API support to wp_get_linksbyname(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: http://svn.automattic.com/wordpress/trunk@2507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-01 05:45:26 +00:00
ryan
28da91c8e1 Add query string style API support to wp_get_links(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: http://svn.automattic.com/wordpress/trunk@2505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-01 05:15:18 +00:00
ryan
e20d004cab Honor echo var in get_links(). http://mosquito.wordpress.org/view.php?id=1023 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 00:08:57 +00:00
matt
ee0bee021f Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 17:46:27 +00:00
saxmatt
973fea010e Accidentally removed H2
git-svn-id: http://svn.automattic.com/wordpress/trunk@2339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 23:37:28 +00:00
saxmatt
b0db8dfc0b Invalid XHTML possibility - http://mosquito.wordpress.org/view.php?id=518
git-svn-id: http://svn.automattic.com/wordpress/trunk@2280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 02:05:58 +00:00
saxmatt
7231abe7ea Don't double encode
git-svn-id: http://svn.automattic.com/wordpress/trunk@2263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 02:26:05 +00:00
saxmatt
5f0aa7f7b0 Some Kubrick cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:24:59 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt
55d5e9f47a Removed some left-over link rating stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 19:54:09 +00:00
rboren
6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
saxmatt
25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
saxmatt
1498bf0bc2 Allow absolute image URIs in links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:26:42 +00:00
saxmatt
b4a0d174d8 Some E_ALL fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 21:29:23 +00:00
saxmatt
595c041ccf Typos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:43:10 +00:00
saxmatt
59db478a0e Shouldn't use relative links for link images.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 22:09:27 +00:00
saxmatt
9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
rboren
edf0fb5f39 Pass link name and description through htmlspecialchars().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 23:25:55 +00:00
emc3
e0ad33fffe Allow 'limit = 0' in Link Categories to hide a category.
git-svn-id: http://svn.automattic.com/wordpress/trunk@960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-05 21:35:14 +00:00
saxmatt
215d39b88d Use IDs instead of classes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 23:24:46 +00:00
saxmatt
5b908a99d9 Have links use unique class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 23:12:55 +00:00
alex_t_king
dc902731b0 added id's and classes to li's in the menu to help in skinning
git-svn-id: http://svn.automattic.com/wordpress/trunk@786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-24 22:52:22 +00:00
saxmatt
253f684253 Use modified get_links_list
git-svn-id: http://svn.automattic.com/wordpress/trunk@678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 22:13:06 +00:00
saxmatt
af1326791a Moved wp-links files to wp-includes or wp-images where appropiate. Updated necessary paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 10:12:34 +00:00