Commit Graph

4698 Commits

Author SHA1 Message Date
Ryan Boren 3f2aabe21b Remove extraneous echo. Props buzink. fixes #4020
git-svn-id: https://develop.svn.wordpress.org/trunk@5105 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:40:36 +00:00
Ryan Boren 7d8f8b40f2 Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: https://develop.svn.wordpress.org/trunk@5104 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:39:14 +00:00
Ryan Boren 6f23fb8858 Don't wrap submenu tabs. Props Viper007Bond. fixes #3675
git-svn-id: https://develop.svn.wordpress.org/trunk@5103 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:35:23 +00:00
Ryan Boren afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren 6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +00:00
Ryan Boren 2185aa3723 XMLRPC fixes from Joseph Scott. 404 for invalid post ids. Return empty array if no pages are present.
git-svn-id: https://develop.svn.wordpress.org/trunk@5098 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 03:53:33 +00:00
Ryan Boren 152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00
Ryan Boren 786786b1a1 Add missing the_title filter. Props jhodgdon. fixes #4019
git-svn-id: https://develop.svn.wordpress.org/trunk@5094 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:06:45 +00:00
Ryan Boren de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Ryan Boren d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Ryan Boren df22b0ccc9 Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5088 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 01:45:24 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 3e2783acdd Cast to int
git-svn-id: https://develop.svn.wordpress.org/trunk@5086 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 23:03:07 +00:00
Ryan Boren 77559c20b4 More int casts
git-svn-id: https://develop.svn.wordpress.org/trunk@5082 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 20:52:29 +00:00
Ryan Boren 8357362440 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5081 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 03:34:23 +00:00
Ryan Boren 61a985f409 Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5078 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 01:04:19 +00:00
Ryan Boren 87b8d6d558 Check for publish caps when editing via xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@5074 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 22:15:20 +00:00
Ryan Boren b4cb2c9cf0 clean_url only REQUEST_URI to avoid breaking the edit link. see #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5072 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 06:23:22 +00:00
Ryan Boren f4a63dac75 Don't translate .thumbnail extension. fixes #2942
git-svn-id: https://develop.svn.wordpress.org/trunk@5071 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 06:07:17 +00:00
Ryan Boren 2c7201f057 Use clean_url instead of inline preg. Props rob1n. fixes #3983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5068 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 03:58:31 +00:00
Ryan Boren b3727f5cb0 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5065 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 00:29:40 +00:00
Ryan Boren 7b297e825f login accessibility patch from Viper007Bond. fixes #3620
git-svn-id: https://develop.svn.wordpress.org/trunk@5064 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 20:39:39 +00:00
Ryan Boren 3c5b5f926b Fix typo. Props rob1n. fixes #4000
git-svn-id: https://develop.svn.wordpress.org/trunk@5063 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 03:18:44 +00:00
Ryan Boren 6a3688b9c2 Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: https://develop.svn.wordpress.org/trunk@5062 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-19 19:08:15 +00:00
Ryan Boren 58200c8ac8 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: https://develop.svn.wordpress.org/trunk@5061 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-18 23:16:14 +00:00
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