Commit Graph

163 Commits

Author SHA1 Message Date
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