markjaquith
e0e9dbb8eb
Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:00:40 +00:00
westi
fe92a01932
Correct the logic as there is no publish_post cap.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:07:55 +00:00
westi
b3bc43ab49
Check for extra caps here too.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:52:08 +00:00
westi
38d526d196
Correct some more cap checks to use the correct caps.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:18:42 +00:00
westi
d9b7e7cf81
Condense the logic. Props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:59:56 +00:00
westi
183e561585
Ensure that we always check the right cap when posts are added or edited.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:31:17 +00:00
ryan
4cfb079fc5
Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:32:07 +00:00
nacin
a64b107868
This should be a string. fixes #15704 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:32:25 +00:00
markjaquith
b608e8ca3e
Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:38:42 +00:00
westi
b0d6453462
Cast to string so we return the correct datatype. See #15517 props barry.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 17:51:39 +00:00
westi
1a0818d477
Ensure that we return post IDs as strings to honour API defintions. See #15517
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 15:50:56 +00:00
josephscott
43ff5a69a8
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: http://svn.automattic.com/wordpress/trunk@16484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 13:57:05 +00:00
ryan
847499e531
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
scribu
18116f12c6
Don't use deprecated category properties. Props filosofo. Fixes #15408
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
westi
fe28a9d18b
Switch the following XMLRPC api calls to support an optional number of posts.
...
blogger.getRecentPosts
metaWeblog.getRecentPosts
mt.getRecentPostTitles
git-svn-id: http://svn.automattic.com/wordpress/trunk@16256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 10:16:23 +00:00
westi
2bc7106135
Rename new classes to match our coding standards. Fixes #15280 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 08:29:07 +00:00