Commit Graph

238 Commits

Author SHA1 Message Date
Andrew Nacin fb4b78214b Don't use private wpdb vars. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13353 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:18:18 +00:00
Ryan Boren fbd6ccfb3a Fix double escaping in wp_getComments. Props josephscott. fixes #12281 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13207 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:28:23 +00:00
Ron Rennick c16facefa4 Call class function in xmlrpc.php, fixes #12155
git-svn-id: https://develop.svn.wordpress.org/trunk@13004 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:21:53 +00:00
Dion Hulse d8e395f8fb Do not use deprecated user levels in XMLRPC (s/level_8/manage_options/). Props nacin. Fixes #10806
git-svn-id: https://develop.svn.wordpress.org/trunk@12969 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:43:08 +00:00
Ryan Boren 1709895c3a Cast length to int. Props josephscott. fixes #12046
git-svn-id: https://develop.svn.wordpress.org/trunk@12870 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:06:06 +00:00
Ron Rennick 27ae64ead2 apply xmlrpc patch 2056 from MU 2.9.1.1, fixes #11999
git-svn-id: https://develop.svn.wordpress.org/trunk@12864 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 02:59:26 +00:00
Ryan Boren c8eb06af04 Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12852 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:15:43 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Ryan Boren 20d3a58ee1 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12735 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:40:29 +00:00
Ryan Boren b153c75949 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Andrew Ozz 55ea0988cd Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: https://develop.svn.wordpress.org/trunk@12303 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 08:14:42 +00:00
Ryan Boren d11f390d69 Use a post_parent of 0 instead of -1 to indicate unattached posts. Props c0nstruct. see #10521
git-svn-id: https://develop.svn.wordpress.org/trunk@11969 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:13:11 +00:00
Ryan Boren 9a94997c21 Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802
git-svn-id: https://develop.svn.wordpress.org/trunk@11942 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 16:59:33 +00:00
Peter Westwood 7a83a96658 Make the number of pages argument to wp.getPages properly optional. See #10659 props redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@11850 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:26:34 +00:00
Peter Westwood 6ef85440d4 Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11846 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 06:59:02 +00:00
Peter Westwood cbb9057c95 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: https://develop.svn.wordpress.org/trunk@11789 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-08 08:38:20 +00:00
Peter Westwood 4d26de281a Ensure that XMLRPC clients can tell the difference between unapproved and spam comments. Fixes #10510 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11783 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 20:48:59 +00:00
Peter Westwood 92cc16ae04 Allow user registration to be enabled by an XMLRPC client. Fixes #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11773 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:30:21 +00:00
Ryan Boren 8f795065f6 Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: https://develop.svn.wordpress.org/trunk@11686 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-04 02:48:22 +00:00
Ryan Boren 7d4ce1c8c4 Use SSL links to xmlrpc and app when admin ssl is forced.
git-svn-id: https://develop.svn.wordpress.org/trunk@11679 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 18:40:09 +00:00
Ryan Boren f2baa0626d Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: https://develop.svn.wordpress.org/trunk@11634 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 22:10:46 +00:00
Ryan Boren adf22ff2e7 Return correct date in date_created_gmt field. Props josephscott. fixes #10244 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11624 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 16:23:49 +00:00
Ryan Boren 687bf92a19 Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: https://develop.svn.wordpress.org/trunk@11528 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 14:44:38 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren 1c97a58522 Use comments_open() and pings_open(). Props coffee2code. fixes #9557
git-svn-id: https://develop.svn.wordpress.org/trunk@10982 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:02:55 +00:00
Ryan Boren 15adf67f37 Fix path to xmlrpc. Props MidnighToker. fixes #9516
git-svn-id: https://develop.svn.wordpress.org/trunk@10932 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 19:14:56 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Peter Westwood 5e078f8814 Fix typo in action body for pingback.extensions.getPingbacks. Fixes 9157 for trunk props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10587 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 23:09:23 +00:00
Ryan Boren 26d8cb2a7e Use user returned from auth for XML-RPC logins. Props wnorris. fixes #8941
git-svn-id: https://develop.svn.wordpress.org/trunk@10456 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 00:25:24 +00:00
Peter Westwood 4bde1847be Don't duplicate enclosures on edit. See #7773 props redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@10383 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 22:19:45 +00:00
Ryan Boren 094a435382 Provide access to sticky status via XMLRPC. Props josephscott. see #8777
git-svn-id: https://develop.svn.wordpress.org/trunk@10382 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 19:22:26 +00:00
Ryan Boren 36f9811fa1 XMLRPC wp_newComment() fixes. Props josephscott. fixes #8672 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10380 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 18:47:24 +00:00
Ryan Boren b517f1f7ef Return cat name and description. Props josephscott. fixes #8494
git-svn-id: https://develop.svn.wordpress.org/trunk@10205 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-16 07:22:01 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 6c16ca328e Return description not name. Props josephscott. fixes #8494
git-svn-id: https://develop.svn.wordpress.org/trunk@10058 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 05:13:27 +00:00
Peter Westwood b08ca3f781 Add the comment type to the data wp.getComment returns. Fixes #8486 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10044 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 20:31:40 +00:00
Ryan Boren d3dde76422 wp_getUsersBlogs() fix from josephscott. fixes #8255
git-svn-id: https://develop.svn.wordpress.org/trunk@9798 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 23:06:01 +00:00
Ryan Boren 920856cd35 Check type. Props josephscott. fixes #8267
git-svn-id: https://develop.svn.wordpress.org/trunk@9745 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 00:53:30 +00:00
Ryan Boren d7351f96be Use pings_open() to check ping status
git-svn-id: https://develop.svn.wordpress.org/trunk@9696 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 22:33:13 +00:00
Peter Westwood 823767f59d Don't use deprecated function. Fixes #8103 props Speedbozxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@9568 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 09:10:19 +00:00
Andrew Ozz eb6d0072ad XML-RPC wp.getPages Fix: don't restrict to just published pages, props josephscott, fixes #7954
git-svn-id: https://develop.svn.wordpress.org/trunk@9313 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 01:56:22 +00:00
Ryan Boren b8978ddc9b List post tags via XMLRPC. Props josephscott. fixes #7744
git-svn-id: https://develop.svn.wordpress.org/trunk@9143 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 23:54:21 +00:00
Ryan Boren ad70a0b455 Return empty post list instead of fault code when there are no posts. Props josephscott. fixes #7287
git-svn-id: https://develop.svn.wordpress.org/trunk@9133 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 21:28:28 +00:00
Ryan Boren 522217d0bc Return enclosure data in mw_getPosts(). Props Otto42. fixes #7772
git-svn-id: https://develop.svn.wordpress.org/trunk@9089 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-06 19:20:50 +00:00
Peter Westwood 9188cb1553 Ensure we support custom comment approval statuses over xmlrpc. Fixes #7792 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@8979 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 19:56:36 +00:00
Andrew Ozz 6b8432bbb8 Completion and fixes for wp-app, wp-login and xmlrpc inline documentation, props jacobsantos, fixes #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8952 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 05:15:41 +00:00