[wp-cvs] wordpress/wp-includes class-IXR.php,1.3,1.4
Matthew Mullenweg
saxmatt at users.sourceforge.net
Tue Jan 18 06:12:27 GMT 2005
- Previous message: [wp-cvs] wordpress/wp-content/themes/default/images kubrickbg.jpg,
1.3, 1.4 kubrickbgcolor.jpg, 1.3, 1.4 kubrickbgwide.jpg, 1.3,
1.4 kubrickfooter.jpg, 1.3, 1.4 kubrickheader.jpg, 1.3, 1.4
- Next message: [wp-cvs]
wordpress/wp-includes classes.php, 1.42, 1.43 functions.php,
1.235, 1.236 template-functions-general.php, 1.63, 1.64
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4093/wp-includes
Modified Files:
class-IXR.php
Log Message:
http://mosquito.wordpress.org/view.php?id=708 - Patch from Owen Winkler allowing XML-RPC library to call classes without extending the base class.
Index: class-IXR.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/class-IXR.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** class-IXR.php 16 Sep 2004 17:07:59 -0000 1.3
--- class-IXR.php 18 Jan 2005 06:12:23 -0000 1.4
***************
*** 3,7 ****
/*
IXR - The Inutio XML-RPC Library - (c) Incutio Ltd 2002
! Version 1.61 - Simon Willison, 11th July 2003 (htmlentities -> htmlspecialchars)
Site: http://scripts.incutio.com/xmlrpc/
Manual: http://scripts.incutio.com/xmlrpc/manual.php
--- 3,8 ----
/*
IXR - The Inutio XML-RPC Library - (c) Incutio Ltd 2002
! Version 1.62WP - Simon Willison, 11th July 2003 (htmlentities -> htmlspecialchars)
! ^^^^^^ (We've made some changes)
Site: http://scripts.incutio.com/xmlrpc/
Manual: http://scripts.incutio.com/xmlrpc/manual.php
***************
*** 345,353 ****
} else {
// It's a function - does it exist?
! if (!function_exists($method)) {
return new IXR_Error(-32601, 'server error. requested function "'.$method.'" does not exist.');
}
// Call the function
! $result = $method($args);
}
return $result;
--- 346,358 ----
} else {
// It's a function - does it exist?
! if (is_array($method)) {
! if (!method_exists($method[0], $method[1])) {
! return new IXR_Error(-32601, 'server error. requested object method "'.$method[1].'" does not exist.');
! }
! } else if (!function_exists($method)) {
return new IXR_Error(-32601, 'server error. requested function "'.$method.'" does not exist.');
}
// Call the function
! $result = call_user_func($method, $args);
}
return $result;
- Previous message: [wp-cvs] wordpress/wp-content/themes/default/images kubrickbg.jpg,
1.3, 1.4 kubrickbgcolor.jpg, 1.3, 1.4 kubrickbgwide.jpg, 1.3,
1.4 kubrickfooter.jpg, 1.3, 1.4 kubrickheader.jpg, 1.3, 1.4
- Next message: [wp-cvs]
wordpress/wp-includes classes.php, 1.42, 1.43 functions.php,
1.235, 1.236 template-functions-general.php, 1.63, 1.64
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list