IXR_Error::__construct() WordPress Method
The IXR_Error class is used for reporting errors. This class is used by the IXR class to report any errors that occur during XML-RPC method calls.
IXR_Error::__construct( $code, $message ) #
PHP5 constructor.
Source
File: wp-includes/IXR/class-IXR-error.php
function __construct( $code, $message ) { $this->code = $code; $this->message = htmlspecialchars($message); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Related
Used By
Used By | Description |
---|---|
wp-includes/IXR/class-IXR-introspectionserver.php:IXR_IntrospectionServer::methodSignature() | |
wp-includes/IXR/class-IXR-introspectionserver.php:IXR_IntrospectionServer::call() | |
wp-includes/IXR/class-IXR-error.php:IXR_Error::IXR_Error() | PHP4 constructor. |
wp-includes/IXR/class-IXR-server.php:IXR_Server::multiCall() | |
wp-includes/IXR/class-IXR-server.php:IXR_Server::error() | |
wp-includes/IXR/class-IXR-server.php:IXR_Server::call() | |
wp-includes/IXR/class-IXR-client.php:IXR_Client::query() | |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::error() | Send error response to client. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::_toggle_sticky() | Encapsulate the logic for sticking a post and determining if the user has permission to do so |
wp-includes/functions.php:_xmlrpc_wp_die_handler() | Kills WordPress execution and displays XML response with an error message. |
wp-includes/class-wp-http-ixr-client.php:WP_HTTP_IXR_Client::query() | |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_getPostCategories() | Retrieve post categories. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_setPostCategories() | Sets categories for a post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_getTrackbackPings() | Retrieve trackbacks sent to a given post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_publishPost() | Sets a post’s publish status to ‘publish’. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::pingback_error() | Sends a pingback error based on the given error code and message. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_editPost() | Edit a post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_getPost() | Retrieve post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_getRecentPosts() | Retrieve list of recent posts. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_getCategories() | Retrieve the list of categories on a given blog. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_newMediaObject() | Uploads a file, following your settings. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_getRecentPostTitles() | Retrieve the post titles of recent posts. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mt_getCategoryList() | Retrieve list of all categories on blog. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::_multisite_getUsersBlogs() | Private function for retrieving a users blogs for multisite setups |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_getUserInfo() | Retrieve user’s data. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_getPost() | Retrieve post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_getRecentPosts() | Retrieve list of recent posts. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_getTemplate() | Deprecated. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_setTemplate() | Deprecated. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_newPost() | Creates new post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_editPost() | Edit a post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::blogger_deletePost() | Remove a post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::mw_newPost() | Create a new post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_setOptions() | Update blog options. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getMediaItem() | Retrieve a media item by ID |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getMediaLibrary() | Retrieves a collection of media library items (or attachments) |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPostFormats() | Retrieves a list of post formats used by the site. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPostType() | Retrieves a post type |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getRevisions() | Retrieve revisions for a specific post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_restoreRevision() | Restore a post revision |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getComments() | Retrieve comments. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_deleteComment() | Delete a comment. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_editComment() | Edit comment. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_newComment() | Create new comment. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getCommentStatusList() | Retrieve all of the comment status. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getCommentCount() | Retrieve comment count. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPostStatusList() | Retrieve post statuses. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPageStatusList() | Retrieve page statuses. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPageTemplates() | Retrieve page templates. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPages() | Retrieve Pages. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_deletePage() | Delete page. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_editPage() | Edit page. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPageList() | Retrieve page list. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getAuthors() | Retrieve authors list. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getTags() | Get list of all tags |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_newCategory() | Create new category. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_deleteCategory() | Remove category. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_suggestCategories() | Retrieve category list. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getComment() | Retrieve comment. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPosts() | Retrieve posts. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_newTerm() | Create a new term. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_editTerm() | Edit a term. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_deleteTerm() | Delete a term. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getTerm() | Retrieve a term. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getTerms() | Retrieve all terms for a taxonomy. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getTaxonomy() | Retrieve a taxonomy. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getUser() | Retrieve a user. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getUsers() | Retrieve users. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getProfile() | Retrieve information about the requesting user. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_editProfile() | Edit user’s profile. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPage() | Retrieve page. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::_insert_post() | Helper method for wp_newPost() and wp_editPost(), containing shared logic. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_editPost() | Edit a post for any registered post type. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_deletePost() | Delete a post for any registered post type. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::wp_getPost() | Retrieve a post. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::minimum_args() | Checks if the method received at least the minimum number of arguments. |
wp-includes/class-wp-xmlrpc-server.php:wp_xmlrpc_server::login() | Log user in. |
wp-includes/comment.php:xmlrpc_pingback_error() | Default filter attached to xmlrpc_pingback_error. |