Commit Graph

142 Commits

Author SHA1 Message Date
ryan
9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
560b73b9e3 mt_keywords support. Props westi and josephscott. fixes #900
git-svn-id: http://svn.automattic.com/wordpress/trunk@5981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 23:01:48 +00:00
ryan
4f183b4fe7 mt_allow_pings fix. Props Joseph Scott and Allan Odgaard. fixes #4770 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 23:32:49 +00:00
markjaquith
d55ac9708c Send dateCreated as local blog time, add date_created_gmt with GMT value. Props josephscott. fixes #4624. refs #4158, #4314
git-svn-id: http://svn.automattic.com/wordpress/trunk@5888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:18:58 +00:00
markjaquith
8c454d7909 Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674
git-svn-id: http://svn.automattic.com/wordpress/trunk@5825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:32:12 +00:00
ryan
7217266ca3 AND get_terms() field queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@5807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 02:02:52 +00:00
ryan
821cf4b63f suggestCategories cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@5782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 00:15:13 +00:00
ryan
5ebed51846 Eliminate cat select. Use API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:34:06 +00:00
ryan
267997a4fd Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:28:19 +00:00
ryan
7ffc5ee8b0 Accept 'open' and 'closed' as valid values for mt_allow_comments and mt_allow_pings in XML-RPC. Props Joseph Scott. see #4469
git-svn-id: http://svn.automattic.com/wordpress/trunk@5729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 19:12:24 +00:00
ryan
c09f6ffbdb escape before extracting. Props Alexander Concha.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-18 00:18:18 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n
d84178acd7 Check the user before overwriting the attachment. Props xknown and Joseph Scott. fixes #4422
git-svn-id: http://svn.automattic.com/wordpress/trunk@5671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 17:07:59 +00:00
matt
adda69e289 We prefer our own API. (Which MT/Typepad have cloned already.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-07 14:10:53 +00:00
ryan
f904142767 Add 'edit_posts' capability check to metaWeblog.newPost. Props Joseph Scott and Wei-Yeh Lee. fixes #4404 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-04 18:31:32 +00:00
rob1n
9ce729e656 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: http://svn.automattic.com/wordpress/trunk@5640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 05:21:18 +00:00
markjaquith
070d2fd62b Int cast. Props to Alexander Concha for the find, Joseph Scott for the patch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 05:12:56 +00:00
rob1n
8a3ed389bb More xmlrpc.php i18n fixes from nbachiyski. fixes #3997
git-svn-id: http://svn.automattic.com/wordpress/trunk@5547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 15:33:47 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00
ryan
fe5e71cfaa RSD link fixes from Joseph Scott. fixes #4329 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 17:09:39 +00:00
ryan
1b783b9b9a More rel_type elimination. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 20:59:11 +00:00
markjaquith
0c80a47d13 explicitly state Zulu time for desktop editors. Props Erik Barzeski and Joseph Scott. fixes #4314 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 19:57:50 +00:00
markjaquith
9a75737897 Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 19:53:16 +00:00
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