Commit Graph

4872 Commits

Author SHA1 Message Date
Ryan Boren a9ad6f372f escape pagenow. Props xknown. fixes #3988 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5059 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-18 23:04:22 +00:00
Mark Jaquith d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren 4926111056 Improve error propagation from newMediaObject failure in xmlrpc.php. Props Daniel Jalkut (Red Sweater Software). fixes #3981 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5054 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:12:15 +00:00
Ryan Boren d4007dfa64 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: https://develop.svn.wordpress.org/trunk@5051 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:00:43 +00:00
Mark Jaquith cb973fe273 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5049 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:19:10 +00:00
Mark Jaquith 334c7d2cd5 Removing superfluous <br /> from Options-General. Props johnbillion. fixes #3929 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5048 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:10:02 +00:00
Mark Jaquith e00c636c7d Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: https://develop.svn.wordpress.org/trunk@5045 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:04:24 +00:00
Ryan Boren d2aba83689 More attribute_escape().
git-svn-id: https://develop.svn.wordpress.org/trunk@5044 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 01:20:53 +00:00
Mark Jaquith 096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Ryan Boren 2f7225192d Blogger importer updates. fixes #3971
git-svn-id: https://develop.svn.wordpress.org/trunk@5038 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 19:20:19 +00:00
Mark Jaquith 51fcbe01ba More int casting, just to be safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@5037 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 07:40:56 +00:00
Ryan Boren d3578ce12e Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: https://develop.svn.wordpress.org/trunk@5036 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 02:21:39 +00:00
Ryan Boren d97212755b Drop empty b2 importer file. fixes #3855
git-svn-id: https://develop.svn.wordpress.org/trunk@5034 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 01:49:54 +00:00
Ryan Boren 55d0aa30a5 Rephrase category delete AYS prompt. Props rob1n. fixes #3464
git-svn-id: https://develop.svn.wordpress.org/trunk@5033 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-13 23:54:45 +00:00
Ryan Boren 01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren 71bbe5ffb4 Quote values heading to DB. Cast some ints.
git-svn-id: https://develop.svn.wordpress.org/trunk@5029 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 16:09:44 +00:00
Mark Jaquith 02f3720bfa [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5028 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 08:59:15 +00:00
Matt Mullenweg eb54f68261 Add filters to theme_mods
git-svn-id: https://develop.svn.wordpress.org/trunk@5026 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 00:07:54 +00:00
Matt Mullenweg 72076338e9 Show the post title.
git-svn-id: https://develop.svn.wordpress.org/trunk@5025 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-11 22:46:25 +00:00
Ryan Boren ef006054ca vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: https://develop.svn.wordpress.org/trunk@5024 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-11 01:19:16 +00:00
Ryan Boren a89ea3e725 Prophylactic casting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5022 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 20:34:01 +00:00
Mark Jaquith 9331f3efea Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5021 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 08:32:57 +00:00
Mark Jaquith e643142a5e new function: untrailingslashit(). fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5020 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:25:33 +00:00
Mark Jaquith e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith b2105a943e Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5018 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:09:52 +00:00
Mark Jaquith af92eb9142 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5017 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:54:12 +00:00
Ryan Boren 9768611dc1 Make sure imageantialias exists. Props rob1n and jeppe. fixes #3939
git-svn-id: https://develop.svn.wordpress.org/trunk@5016 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:26:28 +00:00
Ryan Boren e57eea2390 Add missing filters. Props jhodgdon. fixes #3599
git-svn-id: https://develop.svn.wordpress.org/trunk@5015 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:25:33 +00:00
Ryan Boren fd1b078df6 apply filter before stripping tags. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5014 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:13:40 +00:00
Ryan Boren 16c3aa009f Title filtering from jhodgdon. fixes #3926
git-svn-id: https://develop.svn.wordpress.org/trunk@5013 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 03:56:35 +00:00
Ryan Boren 438671d2cb Admin RTL CSS fixes from Sewar. fixes #3947
git-svn-id: https://develop.svn.wordpress.org/trunk@5012 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 01:34:06 +00:00
Ryan Boren 0018169c02 Link filters from jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@5011 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 01:13:49 +00:00
Ryan Boren c79783485f Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5008 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 20:14:52 +00:00
Mark Jaquith db67d51e29 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: https://develop.svn.wordpress.org/trunk@5007 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:36:24 +00:00
Ryan Boren b35406f1ad Return theme uri in theme data. Props nazgul. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5006 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:15:17 +00:00
Ryan Boren 36334c2c86 Unchain
git-svn-id: https://develop.svn.wordpress.org/trunk@5005 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:13:42 +00:00
Ryan Boren 07a3e1bb19 get_archives query filters from westi. fixes #3866
git-svn-id: https://develop.svn.wordpress.org/trunk@5004 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:09:24 +00:00
Ryan Boren 631ad9c5c4 Use get_query_var() in wp_title() and single_month_title().
git-svn-id: https://develop.svn.wordpress.org/trunk@5003 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:06:23 +00:00
Ryan Boren 6b7e2785e5 Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: https://develop.svn.wordpress.org/trunk@5002 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-09 04:05:28 +00:00
Matt Mullenweg aeda207ddc People are confusing the part they should edit with the part they shouldn't, so let's make the example values a little more self-evident.
git-svn-id: https://develop.svn.wordpress.org/trunk@5001 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-08 18:31:46 +00:00
Ryan Boren 52e761f2df Add bracket. Props flinkflonk. fixes #3921
git-svn-id: https://develop.svn.wordpress.org/trunk@5000 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-08 01:21:29 +00:00
Ryan Boren 0def5bea33 Remove old notice. Props johnbillion. fixes #2576
git-svn-id: https://develop.svn.wordpress.org/trunk@4999 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 17:07:33 +00:00
Ryan Boren e125d88b54 Fix parse_w3cdtf. Props mortenf. fixes #3896
git-svn-id: https://develop.svn.wordpress.org/trunk@4997 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 17:04:03 +00:00
Mark Jaquith 09131bb5e8 Another typo in [4990]. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4996 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:17:15 +00:00
Mark Jaquith 4e26ccb1a4 Typo in [4990] caught by johnbillion. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4995 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:10:33 +00:00
Mark Jaquith a03ac9e7fe "Delete this draft" when post is not published. fixes #3497
git-svn-id: https://develop.svn.wordpress.org/trunk@4994 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:07:56 +00:00
Mark Jaquith 217cc16f0d remove old table* variables from wp-settings.php. Props Nazgul. fixes #3860
git-svn-id: https://develop.svn.wordpress.org/trunk@4993 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:46:59 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5b1ff4fbd5 add_users_page() to address changing top-level menu item. fixes #3706
git-svn-id: https://develop.svn.wordpress.org/trunk@4987 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:03:32 +00:00
Ryan Boren 27229f0110 attribute_escape content before stuffing it in value attribute. Props Dan Coulter. fixes #3919
git-svn-id: https://develop.svn.wordpress.org/trunk@4986 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 04:29:45 +00:00