Commit Graph

116 Commits

Author SHA1 Message Date
Ryan Boren 767e7aa881 XML-RPC fixes to allow for empty/zero settings in various fields. Props Joseph Scott. fixes #4156
git-svn-id: https://develop.svn.wordpress.org/trunk@5281 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 22:00:00 +00:00
Ryan Boren 2d046d0427 Reverting [5278]. It breaks mw_getRecentPosts.
git-svn-id: https://develop.svn.wordpress.org/trunk@5279 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 16:52:11 +00:00
rob1n 93c7d37e5b Add mt_keywords support. Props redsweater. fixes #900
git-svn-id: https://develop.svn.wordpress.org/trunk@5278 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:30:12 +00:00
rob1n 5dd06ccdb7 Don't show categories in getCategoryList. fixes #4114
git-svn-id: https://develop.svn.wordpress.org/trunk@5215 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 02:12:29 +00:00
Ryan Boren 75fdbf0f87 Cast to int after escaping. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5173 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-03 07:11:13 +00:00
Ryan Boren 8be342b294 Translate APP and XMLRPC errors. Props nbachiyski. fixes #3997
git-svn-id: https://develop.svn.wordpress.org/trunk@5166 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:59:50 +00:00
Ryan Boren 8fd1367323 Whitespace cleanup. Props donncha. fixes #4034
git-svn-id: https://develop.svn.wordpress.org/trunk@5115 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:39:28 +00:00
Ryan Boren 068b0f0957 Add xmlrpc_text_filters filter. Props rob1n. fixes #1429
git-svn-id: https://develop.svn.wordpress.org/trunk@5107 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:50:22 +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
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
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 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 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 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 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
Ryan Boren 3e08976087 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4961 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-03 16:56:46 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren 819e6e9c4f Reverse logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@4915 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 15:30:47 +00:00
Ryan Boren 5816d942f0 xmlrpc updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4908 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:42:21 +00:00
Ryan Boren ca42a4bbdb Handle array of mt_tb_ping_urls. Props bafonso. fixes #3721
git-svn-id: https://develop.svn.wordpress.org/trunk@4905 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-22 01:34:06 +00:00
Ryan Boren f6e2131c86 editPage and newPage escaping fixes from Joseph.
git-svn-id: https://develop.svn.wordpress.org/trunk@4874 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-12 19:20:31 +00:00
Ryan Boren 587188d556 XMLRPC changes from Joseph.
git-svn-id: https://develop.svn.wordpress.org/trunk@4870 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-06 01:44:23 +00:00
Ryan Boren 10550fe0cd More XMLRPC updates from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4862 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 07:43:59 +00:00
Ryan Boren cee4ff919b Use get_users_of_blog() for wp_getAuthors
git-svn-id: https://develop.svn.wordpress.org/trunk@4854 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 07:28:12 +00:00
Ryan Boren 3be2e0334e XMLRPC API updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@4851 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-01 00:34:33 +00:00
Ryan Boren 4d4e6b5c7b More XML-RPC API enhancements from Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@4833 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 03:09:58 +00:00
Ryan Boren 826eb406a1 WP XML-RPC API enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@4814 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-26 20:05:53 +00:00
Ryan Boren ddd9ef5216 Cast categoryId to string to be compliant. fixes #3662
git-svn-id: https://develop.svn.wordpress.org/trunk@4807 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 18:27:47 +00:00
Ryan Boren c5cb379adf Expose page_status in XML-RPC API.
git-svn-id: https://develop.svn.wordpress.org/trunk@4806 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 18:22:05 +00:00
Ryan Boren a35cbc8387 WP XML-RPC API
git-svn-id: https://develop.svn.wordpress.org/trunk@4793 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-24 01:16:08 +00:00
Ryan Boren c9f49bbbb9 sanitize_file_name(). fixes #3382 #3554
git-svn-id: https://develop.svn.wordpress.org/trunk@4710 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 22:53:14 +00:00
Mark Jaquith 7607c269e6 Pingback excerpt fetching improvements and fixes. fixes #3495
git-svn-id: https://develop.svn.wordpress.org/trunk@4667 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-27 06:10:03 +00:00
Ryan Boren 0829b413b9 Include admin-functions in xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@4650 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-18 20:11:19 +00:00
Ryan Boren e8184e1027 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: https://develop.svn.wordpress.org/trunk@4628 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:42:22 +00:00
Ryan Boren 32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Ryan Boren b002e7ce66 Create attachments for xmlrpc uploads. Props donncha. fixes #3400
git-svn-id: https://develop.svn.wordpress.org/trunk@4569 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 04:34:59 +00:00
Ryan Boren 359fa59fb3 xmlrpc filename sanitation. Props donncha. fixes #3395
git-svn-id: https://develop.svn.wordpress.org/trunk@4537 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-28 22:03:19 +00:00
Ryan Boren 3a6e842621 Upload filters in xmlrpc. fixes #3388
git-svn-id: https://develop.svn.wordpress.org/trunk@4526 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:39:51 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Mark Jaquith 3e4a8cd907 Cast to array in xmlrpc.php. fixes #3266
git-svn-id: https://develop.svn.wordpress.org/trunk@4412 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-21 10:42:42 +00:00
Mark Jaquith b76635d7c3 avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494
git-svn-id: https://develop.svn.wordpress.org/trunk@4305 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 05:23:10 +00:00
Mark Jaquith 721bb66a93 remove unused mkdir_p() function. props Nazgul. fixes #3079
git-svn-id: https://develop.svn.wordpress.org/trunk@4301 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 04:53:48 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren 0dab1b7f5b Menu and plugin tweakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@4049 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 22:18:36 +00:00
Ryan Boren 53d59dd1f0 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: https://develop.svn.wordpress.org/trunk@3849 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 05:04:41 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren 24e69f293f Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: https://develop.svn.wordpress.org/trunk@3498 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-30 21:19:44 +00:00
Ryan Boren a3d5510774 Remove debug cruft. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3431 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:08:00 +00:00
Ryan Boren ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00