Commit Graph

540 Commits

Author SHA1 Message Date
ryan 2051c80cac Change xmlrpc upload logic. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 20:14:52 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan 7f1945b310 xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-03 16:56:46 +00:00
markjaquith c7ce6107ad attribute_escape() in nonce AYS
git-svn-id: http://svn.automattic.com/wordpress/trunk@4951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 07:15:47 +00:00
ryan 4bec99a338 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-24 07:33:29 +00:00
ryan 891662aaed Atom comments feed. First pass. Props kurtmckee and rob1n. fixes #1785
git-svn-id: http://svn.automattic.com/wordpress/trunk@4928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 08:18:30 +00:00
ryan dbedd143e4 Relocate feed templates to wp-includes. fixes #3846
git-svn-id: http://svn.automattic.com/wordpress/trunk@4927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 02:50:05 +00:00
ryan d672c73072 Use === to compare option values. Props roscohead and Viper007Bond. fixes #3394
git-svn-id: http://svn.automattic.com/wordpress/trunk@4920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 00:49:37 +00:00
ryan fea2a6e503 xmlrpc updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 01:42:21 +00:00
ryan a4d57ead4c Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791
git-svn-id: http://svn.automattic.com/wordpress/trunk@4892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-20 01:24:31 +00:00
ryan dff5f19b6b specialchars wp_explain_nonce() ouput.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-13 18:19:24 +00:00
ryan cab399a6ae Typo fix from charleshooper. fixes #3743
git-svn-id: http://svn.automattic.com/wordpress/trunk@4865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-03 00:56:23 +00:00
markjaquith 12e9cabfb7 Introduce Notoptions and Alloptions caching, so that all options (and previously attempted Notoptions) are read from the cache in one go. Should reduce cache misses to zero or close to it. fixes #3726
git-svn-id: http://svn.automattic.com/wordpress/trunk@4855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 08:53:08 +00:00
ryan 771e8bdb8d Add pre_option_* filter that allows plugins to short-circuit fetches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 18:34:18 +00:00
ryan f8c689b4f0 Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:43:39 +00:00
markjaquith 7873820f8c Have add_option() for options whose non-existence has been cached clear that cached non-existence before adding the option. Nice catch by Westi. fixes #3692
git-svn-id: http://svn.automattic.com/wordpress/trunk@4820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 23:06:46 +00:00
markjaquith a741e0d350 Cache the non-existence of options to prevent redundant queries. props davidhouse. fixes #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 00:12:08 +00:00
ryan 8f84936e4b Restrict wp_remote_fopen to remote files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:41:05 +00:00
markjaquith ddf32533e6 That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 21:46:29 +00:00
markjaquith de879172d7 Use http_response_code for in status_header() on PHP >= 4.3.0 per Ryan's suggestion. relates to #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 21:41:48 +00:00
markjaquith 7b18a414db burn in Hades, status_header(), destroyer of souls. fixes #3528
git-svn-id: http://svn.automattic.com/wordpress/trunk@4684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-06 08:22:12 +00:00
markjaquith bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan 4ea0406712 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 08:36:16 +00:00
ryan 203f6c5ab4 Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
ryan 3b09e48f19 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:42:22 +00:00
ryan 814a2b0c1c Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
matt 624c94b57e This makes things a little more interesting and cacheable (sp?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 15:38:22 +00:00
markjaquith 16998c6bb3 trying Ryan's suggestion for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-22 04:58:31 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan 80550746c6 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: http://svn.automattic.com/wordpress/trunk@4483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 20:46:43 +00:00
markjaquith a8889fb947 silence the fopen() in wp_remote_fopen()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-15 22:46:35 +00:00
markjaquith 5cd38edafe possible solution for #3215
git-svn-id: http://svn.automattic.com/wordpress/trunk@4445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-03 02:42:47 +00:00
markjaquith 439538aa5b Catch NULL, bool, and integer values in is_serialized(). Props mdawaffe. fixes #3310
git-svn-id: http://svn.automattic.com/wordpress/trunk@4438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 08:24:09 +00:00
markjaquith 9b0c765df6 Better preservation of query string when using add_query_arg(). Props in self- and Andy-flavored varieties. fixes #3308
git-svn-id: http://svn.automattic.com/wordpress/trunk@4435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 05:49:14 +00:00
markjaquith 3795560bc6 Fix post meta caching system to reduce queries and eliminate redundant WP code. fixes #3273
git-svn-id: http://svn.automattic.com/wordpress/trunk@4419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-24 10:52:59 +00:00
markjaquith 21d1fc231c cleanup [4382] a bit
git-svn-id: http://svn.automattic.com/wordpress/trunk@4383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-13 00:23:25 +00:00
markjaquith 854cf56a7d Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: http://svn.automattic.com/wordpress/trunk@4382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-12 23:54:36 +00:00
markjaquith b6349f87ce wp_die() fix for 5 minute install from alanjcastonguay. fixes #3231
git-svn-id: http://svn.automattic.com/wordpress/trunk@4379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-12 02:33:03 +00:00
markjaquith 6e8d3ba537 Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: http://svn.automattic.com/wordpress/trunk@4372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-11 09:18:54 +00:00
ryan fce38c2c1f RTL support for login sand wp_die() from Sewar. fixes #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-07 19:12:33 +00:00
ryan 43f36aab78 RTL enhancements from Sewar. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-27 00:51:17 +00:00
ryan 8ca163a2d2 RTL support. Props mani_monaj. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 00:34:34 +00:00
matt 67d5a6d3c7 Options cleanup and some styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-19 06:11:42 +00:00
ryan 5dc154c1e2 Fix logo link in wp_die(). Props Sewar. fixes #3138
git-svn-id: http://svn.automattic.com/wordpress/trunk@4194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-18 23:40:19 +00:00
ryan adb2e50e8d Add explain_nonce filter. Props mdawaffe. fixes #3121
git-svn-id: http://svn.automattic.com/wordpress/trunk@4181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-10 17:49:24 +00:00
ryan 5af4905706 We no longer need the outer array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-09 01:09:21 +00:00
ryan 0f7bb42a79 timer_stop() wanted to be near timer_start().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 23:26:52 +00:00
ryan ebbcf250d5 i18n fixes from nbachiyski. fixes #3109
git-svn-id: http://svn.automattic.com/wordpress/trunk@4165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-05 18:52:24 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00