- Patch #285467 by mustafau: fixed typo a MT blog API function.
parent
d743fcc5c7
commit
8b51a9dfb1
|
@ -131,7 +131,7 @@ function blogapi_xmlrpc() {
|
||||||
t('Retrieve information about the text formatting plugins supported by the server.')),
|
t('Retrieve information about the text formatting plugins supported by the server.')),
|
||||||
array(
|
array(
|
||||||
'mt.publishPost',
|
'mt.publishPost',
|
||||||
'blogap_mti_publish_post',
|
'blogapi_mt_publish_post',
|
||||||
array('boolean', 'string', 'string', 'string'),
|
array('boolean', 'string', 'string', 'string'),
|
||||||
t('Publish (rebuild) all of the static files related to an entry from your blog. Equivalent to saving an entry in the system (but without the ping).')));
|
t('Publish (rebuild) all of the static files related to an entry from your blog. Equivalent to saving an entry in the system (but without the ping).')));
|
||||||
}
|
}
|
||||||
|
@ -490,7 +490,7 @@ function blogapi_mt_supported_text_filters() {
|
||||||
/**
|
/**
|
||||||
* Blogging API callback. Publishes the given node.
|
* Blogging API callback. Publishes the given node.
|
||||||
*/
|
*/
|
||||||
function blogap_mti_publish_post($postid, $username, $password) {
|
function blogapi_mt_publish_post($postid, $username, $password) {
|
||||||
$user = blogapi_validate_user($username, $password);
|
$user = blogapi_validate_user($username, $password);
|
||||||
|
|
||||||
if (!$user->uid) {
|
if (!$user->uid) {
|
||||||
|
|
Loading…
Reference in New Issue