Commit Graph

235 Commits

Author SHA1 Message Date
dd32
cce3973d0e Do not use deprecated user levels in XMLRPC (s/level_8/manage_options/). Props nacin. Fixes #10806
git-svn-id: http://svn.automattic.com/wordpress/trunk@12969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:43:08 +00:00
ryan
ca04c9d349 Cast length to int. Props josephscott. fixes #12046
git-svn-id: http://svn.automattic.com/wordpress/trunk@12870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:06:06 +00:00
wpmuguru
54d1dfeccf apply xmlrpc patch 2056 from MU 2.9.1.1, fixes #11999
git-svn-id: http://svn.automattic.com/wordpress/trunk@12864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 02:59:26 +00:00
ryan
9b79d3d516 Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:15:43 +00:00
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
ryan
9bea527ac3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:40:29 +00:00
ryan
dea7019303 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:29:56 +00:00
ryan
cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
azaozz
37bcca4492 Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: http://svn.automattic.com/wordpress/trunk@12303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 08:14:42 +00:00
ryan
235afd2f97 Use a post_parent of 0 instead of -1 to indicate unattached posts. Props c0nstruct. see #10521
git-svn-id: http://svn.automattic.com/wordpress/trunk@11969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:13:11 +00:00
ryan
eb5ed671ac Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802
git-svn-id: http://svn.automattic.com/wordpress/trunk@11942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 16:59:33 +00:00
westi
3553ccdbb4 Make the number of pages argument to wp.getPages properly optional. See #10659 props redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:26:34 +00:00
westi
f9aff1739a Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 06:59:02 +00:00
westi
461f029eac Seperate out the XML-RPC server active behaviour from object construction so that plugins can use the utility functions when extending the XML-RPC server. Fixes #10513 props davecpage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-08 08:38:20 +00:00
westi
07c88e581e Ensure that XMLRPC clients can tell the difference between unapproved and spam comments. Fixes #10510 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 20:48:59 +00:00
westi
d26e048b4c Allow user registration to be enabled by an XMLRPC client. Fixes #10454 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:30:21 +00:00
ryan
509df6442d Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: http://svn.automattic.com/wordpress/trunk@11686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 02:48:22 +00:00
ryan
6fe15c84d3 Use SSL links to xmlrpc and app when admin ssl is forced.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 18:40:09 +00:00
ryan
c6838b1761 Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: http://svn.automattic.com/wordpress/trunk@11634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 22:10:46 +00:00
ryan
8d00b22c40 Return correct date in date_created_gmt field. Props josephscott. fixes #10244 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 16:23:49 +00:00
ryan
261f318c8a Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: http://svn.automattic.com/wordpress/trunk@11528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 14:44:38 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan
4754d22576 Use comments_open() and pings_open(). Props coffee2code. fixes #9557
git-svn-id: http://svn.automattic.com/wordpress/trunk@10982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 07:02:55 +00:00
ryan
70fa2b1b28 Fix path to xmlrpc. Props MidnighToker. fixes #9516
git-svn-id: http://svn.automattic.com/wordpress/trunk@10932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-14 19:14:56 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
westi
062c0c6ac0 Fix typo in action body for pingback.extensions.getPingbacks. Fixes 9157 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-17 23:09:23 +00:00
ryan
9ef3298a6f Use user returned from auth for XML-RPC logins. Props wnorris. fixes #8941
git-svn-id: http://svn.automattic.com/wordpress/trunk@10456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 00:25:24 +00:00
westi
38ab20699d Don't duplicate enclosures on edit. See #7773 props redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 22:19:45 +00:00
ryan
5704f72d54 Provide access to sticky status via XMLRPC. Props josephscott. see #8777
git-svn-id: http://svn.automattic.com/wordpress/trunk@10382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 19:22:26 +00:00
ryan
08d144271f XMLRPC wp_newComment() fixes. Props josephscott. fixes #8672 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 18:47:24 +00:00
ryan
dc85fcff07 Return cat name and description. Props josephscott. fixes #8494
git-svn-id: http://svn.automattic.com/wordpress/trunk@10205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 07:22:01 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
06303fe3a7 Return description not name. Props josephscott. fixes #8494
git-svn-id: http://svn.automattic.com/wordpress/trunk@10058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 05:13:27 +00:00
westi
1d72687cc5 Add the comment type to the data wp.getComment returns. Fixes #8486 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:31:40 +00:00
ryan
bdde119980 wp_getUsersBlogs() fix from josephscott. fixes #8255
git-svn-id: http://svn.automattic.com/wordpress/trunk@9798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 23:06:01 +00:00
ryan
1abc6d0e91 Check type. Props josephscott. fixes #8267
git-svn-id: http://svn.automattic.com/wordpress/trunk@9745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:53:30 +00:00
ryan
8f19010b2d Use pings_open() to check ping status
git-svn-id: http://svn.automattic.com/wordpress/trunk@9696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 22:33:13 +00:00
westi
3a54acc52f Don't use deprecated function. Fixes #8103 props Speedbozxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-08 09:10:19 +00:00
azaozz
9b50d01630 XML-RPC wp.getPages Fix: don't restrict to just published pages, props josephscott, fixes #7954
git-svn-id: http://svn.automattic.com/wordpress/trunk@9313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 01:56:22 +00:00
ryan
f72a4ce64f List post tags via XMLRPC. Props josephscott. fixes #7744
git-svn-id: http://svn.automattic.com/wordpress/trunk@9143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:54:21 +00:00
ryan
c589d81c34 Return empty post list instead of fault code when there are no posts. Props josephscott. fixes #7287
git-svn-id: http://svn.automattic.com/wordpress/trunk@9133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 21:28:28 +00:00
ryan
6b94d84123 Return enclosure data in mw_getPosts(). Props Otto42. fixes #7772
git-svn-id: http://svn.automattic.com/wordpress/trunk@9089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-06 19:20:50 +00:00
westi
0a37661254 Ensure we support custom comment approval statuses over xmlrpc. Fixes #7792 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 19:56:36 +00:00
azaozz
eb3e916086 Completion and fixes for wp-app, wp-login and xmlrpc inline documentation, props jacobsantos, fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 05:15:41 +00:00
azaozz
95fa29a208 Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-24 06:56:22 +00:00
ryan
24b304fbaa Typo fix. Props josephscott. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 05:19:16 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00