Commit Graph

4892 Commits

Author SHA1 Message Date
ryan
bb7d61596d Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:31:44 +00:00
ryan
81bf28dd0c Add missing the_title filter. Props jhodgdon. fixes #4019
git-svn-id: http://svn.automattic.com/wordpress/trunk@5094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:06:45 +00:00
ryan
eed1eedc5f Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: http://svn.automattic.com/wordpress/trunk@5093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 17:45:40 +00:00
ryan
e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
ryan
4cfeed615c Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 01:45:24 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
46fa88baf1 Cast to int
git-svn-id: http://svn.automattic.com/wordpress/trunk@5086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 23:03:07 +00:00
ryan
5b22739cac More int casts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
ryan
43e6d1b011 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 03:34:23 +00:00
ryan
9f9d9a8d9e Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 01:04:19 +00:00
ryan
b5a124634e Check for publish caps when editing via xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 22:15:20 +00:00
ryan
1f09b04793 clean_url only REQUEST_URI to avoid breaking the edit link. see #4001
git-svn-id: http://svn.automattic.com/wordpress/trunk@5072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 06:23:22 +00:00
ryan
408b5ce591 Don't translate .thumbnail extension. fixes #2942
git-svn-id: http://svn.automattic.com/wordpress/trunk@5071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 06:07:17 +00:00
ryan
809a88a918 Use clean_url instead of inline preg. Props rob1n. fixes #3983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 03:58:31 +00:00
ryan
0748c257f8 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: http://svn.automattic.com/wordpress/trunk@5065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-21 00:29:40 +00:00
ryan
25e7b34d7d login accessibility patch from Viper007Bond. fixes #3620
git-svn-id: http://svn.automattic.com/wordpress/trunk@5064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 20:39:39 +00:00
ryan
d8e55fcfdc Fix typo. Props rob1n. fixes #4000
git-svn-id: http://svn.automattic.com/wordpress/trunk@5063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 03:18:44 +00:00
ryan
19f2495fea Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: http://svn.automattic.com/wordpress/trunk@5062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-19 19:08:15 +00:00
ryan
2e2832dc85 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: http://svn.automattic.com/wordpress/trunk@5061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-18 23:16:14 +00:00
ryan
1e60e0df9a escape pagenow. Props xknown. fixes #3988 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-18 23:04:22 +00:00
markjaquith
611b037efa 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: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
ryan
7136d65028 Improve error propagation from newMediaObject failure in xmlrpc.php. Props Daniel Jalkut (Red Sweater Software). fixes #3981 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@5054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 22:12:15 +00:00
ryan
4432eb12e7 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: http://svn.automattic.com/wordpress/trunk@5051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 22:00:43 +00:00
markjaquith
8d0e670015 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: http://svn.automattic.com/wordpress/trunk@5049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:19:10 +00:00
markjaquith
e43516e5f6 Removing superfluous <br /> from Options-General. Props johnbillion. fixes #3929 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:10:02 +00:00
markjaquith
28c0f0d0ee Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:04:24 +00:00
ryan
12be68075e More attribute_escape().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 01:20:53 +00:00
markjaquith
95df22248d nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 23:10:57 +00:00
ryan
8772cbfa13 Blogger importer updates. fixes #3971
git-svn-id: http://svn.automattic.com/wordpress/trunk@5038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 19:20:19 +00:00
markjaquith
877fe629b3 More int casting, just to be safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 07:40:56 +00:00
ryan
16d5e24771 Fix order by in wp_get_archives(). Props mattbta. fixes #3961
git-svn-id: http://svn.automattic.com/wordpress/trunk@5036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 02:21:39 +00:00
ryan
a9a554fc12 Drop empty b2 importer file. fixes #3855
git-svn-id: http://svn.automattic.com/wordpress/trunk@5034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-14 01:49:54 +00:00
ryan
5a64ea52c3 Rephrase category delete AYS prompt. Props rob1n. fixes #3464
git-svn-id: http://svn.automattic.com/wordpress/trunk@5033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-13 23:54:45 +00:00
ryan
7aa7d0668f Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: http://svn.automattic.com/wordpress/trunk@5032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 21:31:24 +00:00
ryan
4bfbba990b Quote values heading to DB. Cast some ints.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 16:09:44 +00:00
markjaquith
df9b4188da [5006] didn't take. props Nazgul for the spot. fixes #3866
git-svn-id: http://svn.automattic.com/wordpress/trunk@5028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 08:59:15 +00:00
matt
a8327cbd0d Add filters to theme_mods
git-svn-id: http://svn.automattic.com/wordpress/trunk@5026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 00:07:54 +00:00
matt
6f018cf7c6 Show the post title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-11 22:46:25 +00:00
ryan
385c4e18ff vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: http://svn.automattic.com/wordpress/trunk@5024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-11 01:19:16 +00:00
ryan
239b5ba356 Prophylactic casting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 20:34:01 +00:00
markjaquith
98e4d11c00 Improvements to untrailingslashit() and trailingslashit(). props Jamie Talbot. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 08:32:57 +00:00
markjaquith
de23b425c3 new function: untrailingslashit(). fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:25:33 +00:00
markjaquith
05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith
6cefc9b4a4 Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:09:52 +00:00
markjaquith
aa45fd5ee3 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: http://svn.automattic.com/wordpress/trunk@5017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:54:12 +00:00
ryan
d115b53371 Make sure imageantialias exists. Props rob1n and jeppe. fixes #3939
git-svn-id: http://svn.automattic.com/wordpress/trunk@5016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:26:28 +00:00
ryan
0f5ca2efcb Add missing filters. Props jhodgdon. fixes #3599
git-svn-id: http://svn.automattic.com/wordpress/trunk@5015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:25:33 +00:00
ryan
198bf65525 apply filter before stripping tags. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:13:40 +00:00
ryan
774bdc405b Title filtering from jhodgdon. fixes #3926
git-svn-id: http://svn.automattic.com/wordpress/trunk@5013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 03:56:35 +00:00