Commit Graph

118 Commits

Author SHA1 Message Date
rob1n f432ed648a Fix for PHP version 5.2.2 where $HTTP_RAW_POST_DATA isn't set. fixes #4248
git-svn-id: http://svn.automattic.com/wordpress/trunk@5445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:21:06 +00:00
ryan be8f80d6d2 Use GMT in XML-RPC dateCreated fields. Props Joseph Scott. fixes #4158 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 03:07:34 +00:00
ryan 25fcd398e5 XML-RPC fixes to allow for empty/zero settings in various fields. Props Joseph Scott. fixes #4156
git-svn-id: http://svn.automattic.com/wordpress/trunk@5281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 22:00:00 +00:00
ryan 3c05580077 Reverting [5278]. It breaks mw_getRecentPosts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 16:52:11 +00:00
rob1n 798be8a8e2 Add mt_keywords support. Props redsweater. fixes #900
git-svn-id: http://svn.automattic.com/wordpress/trunk@5278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:30:12 +00:00
rob1n 8516de020f Don't show categories in getCategoryList. fixes #4114
git-svn-id: http://svn.automattic.com/wordpress/trunk@5215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 02:12:29 +00:00
ryan ae7fa6c616 Cast to int after escaping. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-03 07:11:13 +00:00
ryan e273f11ec5 Translate APP and XMLRPC errors. Props nbachiyski. fixes #3997
git-svn-id: http://svn.automattic.com/wordpress/trunk@5166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:59:50 +00:00
ryan be3e9aa826 Whitespace cleanup. Props donncha. fixes #4034
git-svn-id: http://svn.automattic.com/wordpress/trunk@5115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 23:39:28 +00:00
ryan b154fd93b1 Add xmlrpc_text_filters filter. Props rob1n. fixes #1429
git-svn-id: http://svn.automattic.com/wordpress/trunk@5107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:50:22 +00:00
ryan 84cda2c6bb XMLRPC fixes from Joseph Scott. 404 for invalid post ids. Return empty array if no pages are present.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 03:53:33 +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
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 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 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 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 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
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 d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan c8997ffad9 Reverse logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 15:30:47 +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 97bcc74082 Handle array of mt_tb_ping_urls. Props bafonso. fixes #3721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 01:34:06 +00:00
ryan 715ea738eb editPage and newPage escaping fixes from Joseph.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-12 19:20:31 +00:00
ryan 1c731faf20 XMLRPC changes from Joseph.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-06 01:44:23 +00:00
ryan 16c4e7b986 More XMLRPC updates from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 07:43:59 +00:00
ryan bf37dbf24f Use get_users_of_blog() for wp_getAuthors
git-svn-id: http://svn.automattic.com/wordpress/trunk@4854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 07:28:12 +00:00
ryan e71e25d354 XMLRPC API updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-01 00:34:33 +00:00
ryan 9bc0cc241e More XML-RPC API enhancements from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 03:09:58 +00:00
ryan d162935209 WP XML-RPC API enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-26 20:05:53 +00:00
ryan 720df5dcf9 Cast categoryId to string to be compliant. fixes #3662
git-svn-id: http://svn.automattic.com/wordpress/trunk@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 18:27:47 +00:00
ryan 54cfb25317 Expose page_status in XML-RPC API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 18:22:05 +00:00
ryan 9af6317d3a WP XML-RPC API
git-svn-id: http://svn.automattic.com/wordpress/trunk@4793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 01:16:08 +00:00
ryan 3a87e7bba0 sanitize_file_name(). fixes #3382 #3554
git-svn-id: http://svn.automattic.com/wordpress/trunk@4710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 22:53:14 +00:00
markjaquith 4577ba0f2d Pingback excerpt fetching improvements and fixes. fixes #3495
git-svn-id: http://svn.automattic.com/wordpress/trunk@4667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-27 06:10:03 +00:00
ryan e57369e689 Include admin-functions in xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-18 20:11:19 +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 995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan d0e1e744c4 Create attachments for xmlrpc uploads. Props donncha. fixes #3400
git-svn-id: http://svn.automattic.com/wordpress/trunk@4569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 04:34:59 +00:00
ryan cc238cab45 xmlrpc filename sanitation. Props donncha. fixes #3395
git-svn-id: http://svn.automattic.com/wordpress/trunk@4537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 22:03:19 +00:00
ryan 54016999e1 Upload filters in xmlrpc. fixes #3388
git-svn-id: http://svn.automattic.com/wordpress/trunk@4526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:39:51 +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
markjaquith fa91c7b642 Cast to array in xmlrpc.php. fixes #3266
git-svn-id: http://svn.automattic.com/wordpress/trunk@4412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-21 10:42:42 +00:00
markjaquith 75ec5426d0 avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494
git-svn-id: http://svn.automattic.com/wordpress/trunk@4305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 05:23:10 +00:00
markjaquith 48ddfe8613 remove unused mkdir_p() function. props Nazgul. fixes #3079
git-svn-id: http://svn.automattic.com/wordpress/trunk@4301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 04:53:48 +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
ryan efcb63ad21 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 16:40:17 +00:00
ryan 4e7aacfc21 Menu and plugin tweakage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-26 22:18:36 +00:00
ryan 0585475e02 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 05:04:41 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan 60ccea94fd Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: http://svn.automattic.com/wordpress/trunk@3498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:19:44 +00:00