Commit Graph

20 Commits

Author SHA1 Message Date
scribu
08ffc2d291 Get only required fields in wp_getAuthors(). Props duck_. See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17011 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 23:43:24 +00:00
Ryan Boren
c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Ryan Boren
6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Dion Hulse
d2842aac53 Include a blank email to prevent a PHP notice when pingbacks are being added, causes XML-RPC responses to be malformed with WP_DEBUG.
git-svn-id: https://develop.svn.wordpress.org/trunk@16873 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 07:17:50 +00:00
Mark Jaquith
daadad84a6 Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
git-svn-id: https://develop.svn.wordpress.org/trunk@16824 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:00:40 +00:00
Peter Westwood
dd8cff8381 Correct the logic as there is no publish_post cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@16802 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 17:07:55 +00:00
Peter Westwood
10244cc066 Check for extra caps here too.
git-svn-id: https://develop.svn.wordpress.org/trunk@16801 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:52:08 +00:00
Peter Westwood
b616351b4a Correct some more cap checks to use the correct caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@16800 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:18:42 +00:00
Peter Westwood
5e198c07bf Condense the logic. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16799 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:59:56 +00:00
Peter Westwood
4ba3238bb5 Ensure that we always check the right cap when posts are added or edited.
git-svn-id: https://develop.svn.wordpress.org/trunk@16798 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:31:17 +00:00
Ryan Boren
d150dcd964 Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
git-svn-id: https://develop.svn.wordpress.org/trunk@16769 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:32:07 +00:00
Andrew Nacin
fb0fc6c1f6 This should be a string. fixes #15704.
git-svn-id: https://develop.svn.wordpress.org/trunk@16751 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:32:25 +00:00
Mark Jaquith
2c2a407227 Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582.
git-svn-id: https://develop.svn.wordpress.org/trunk@16683 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:38:42 +00:00
Peter Westwood
ba24fb82b1 Cast to string so we return the correct datatype. See #15517 props barry.
git-svn-id: https://develop.svn.wordpress.org/trunk@16572 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 17:51:39 +00:00
Peter Westwood
358a4a3486 Ensure that we return post IDs as strings to honour API defintions. See #15517
git-svn-id: https://develop.svn.wordpress.org/trunk@16508 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 15:50:56 +00:00
Joseph Scott
a0c3d2ef0e Expose post format details in XML-RPC:
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format

props ericmann, fixes #15405



git-svn-id: https://develop.svn.wordpress.org/trunk@16484 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 13:57:05 +00:00
Ryan Boren
4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
scribu
9f86bb7104 Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: https://develop.svn.wordpress.org/trunk@16331 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 18:40:51 +00:00
Peter Westwood
e2379fdd7e Switch the following XMLRPC api calls to support an optional number of posts.
blogger.getRecentPosts
metaWeblog.getRecentPosts
mt.getRecentPostTitles

git-svn-id: https://develop.svn.wordpress.org/trunk@16256 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 10:16:23 +00:00
Peter Westwood
804b3a0747 Rename new classes to match our coding standards. Fixes #15280.
git-svn-id: https://develop.svn.wordpress.org/trunk@16149 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 08:29:07 +00:00