is_wp_error( mixed $thing )
Check whether variable is a ClassicPress Error.
Description
Returns true if $thing is an object of the WP_Error class.
Parameters
- $thing
-
(Required) Check if unknown variable is a WP_Error object.
Return
Source
File: wp-includes/load.php
function is_wp_error( $thing ) {
return ( $thing instanceof WP_Error );
}
Related
Used By
Used By | Description |
---|---|
wp-admin/includes/update-core.php: cp_get_core_checksums() |
Gets the checksums for the given version of ClassicPress. |
wp-signup.php: signup_blog() |
Setup the new site signup |
wp-signup.php: validate_another_blog_signup() |
Validate a new site signup. |
wp-signup.php: signup_user() |
Setup the new user signup process |
wp-signup.php: show_blog_form() |
Generates and displays the Signup and Create Site forms |
wp-signup.php: show_user_form() |
Display user registration form |
wp-signup.php: signup_another_blog() |
Allow returning users to sign up for another site |
wp-login.php: retrieve_password() |
Handles sending password retrieval email to user. |
wp-includes/class-wp-http-ixr-client.php: WP_HTTP_IXR_Client::query() | |
wp-login.php: login_header() |
Output the login page header. |
wp-includes/deprecated.php: wp_get_http() |
Perform a HTTP HEAD or GET request. |
wp-includes/deprecated.php: url_is_accessable_via_ssl() |
Determines if the URL can be accessed over SSL. |
wp-includes/deprecated.php: image_resize() |
Scale down an image to fit a particular size and save a new copy of the image. |
wp-includes/deprecated.php: user_pass_ok() |
Check that the user login name and password is correct. |
wp-includes/deprecated.php: get_category_children() |
Retrieve category children list separated before and after the term IDs. |
wp-includes/customize/class-wp-customize-nav-menu-setting.php: WP_Customize_Nav_Menu_Setting::update() |
Create/update the nav_menu term for this setting. |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::get_original_title() |
Get original title. |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item() |
Get the value emulated into a WP_Post and set up as a nav_menu_item. |
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php: WP_Customize_Nav_Menu_Item_Setting::update() |
Creates/updates the nav_menu_item post for this setting. |
wp-includes/class-wp-image-editor-gd.php: WP_Image_Editor_GD::resize() |
Resizes current image. |
wp-includes/class-wp-image-editor-gd.php: WP_Image_Editor_GD::multi_resize() |
Resize multiple images from a single source. |
wp-includes/class-wp-image-editor-gd.php: WP_Image_Editor_GD::save() |
Saves current in-memory image to file. |
wp-includes/rest-api/fields/class-wp-rest-meta-fields.php: WP_REST_Meta_Fields::update_value() |
Updates meta values. |
wp-includes/rest-api/class-wp-rest-request.php: WP_REST_Request::sanitize_params() |
Sanitizes (where possible) the params on the request. |
wp-includes/rest-api/class-wp-rest-request.php: WP_REST_Request::has_valid_params() |
Checks whether this request is valid according to its attributes. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::dispatch() |
Matches the request to a callback and call it. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_item_permissions_check() |
Checks if a given request has access to read the comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_item() |
Retrieves a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item() |
Creates a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::update_item_permissions_check() |
Checks if a given REST request has access to update a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::update_item() |
Updates a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::delete_item_permissions_check() |
Checks if a given request has access to delete a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::delete_item() |
Deletes a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_comment_author_email() |
Checks a comment author email for validity. |
wp-includes/rest-api/class-wp-rest-server.php: WP_REST_Server::serve_request() |
Handles serving an API request. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_item_permissions_check() |
Checks if a given request has access to read a user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_item() |
Retrieves a single user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::create_item() |
Creates a single user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::update_item_permissions_check() |
Checks if a given request has access to update a user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::update_item() |
Updates a single user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::delete_item_permissions_check() |
Checks if a given request has access delete a user. |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::delete_item() |
Deletes a single user. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_item_permissions_check() |
Checks if a request has access to read or edit the specified term. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_item() |
Gets a single term from a taxonomy. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::create_item() |
Creates a single term in a taxonomy. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::update_item_permissions_check() |
Checks if a request has access to update the specified term. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::update_item() |
Updates a single term from a taxonomy. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::delete_item_permissions_check() |
Checks if a request has access to delete the specified term. |
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::delete_item() |
Deletes a single term from a taxonomy. |
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::create_item_permissions_check() |
Checks if a given request has access to create an attachment. |
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::create_item() |
Creates a single attachment. |
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::update_item() |
Updates a single attachment. |
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::upload_from_data() |
Handles an upload via raw POST data. |
wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::upload_from_file() |
Handles an upload via multipart/form-data ($_FILES). |
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::prepare_value() |
Prepares a value for output based off a schema array. |
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::update_item() |
Updates settings for the settings object. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_items_permissions_check() |
Checks if a given request has access to get revisions. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_items() |
Gets a collection of revisions. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_item() |
Retrieves one revision from the collection. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::delete_item_permissions_check() |
Checks if a given request has access to delete a revision. |
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::delete_item() |
Deletes a single revision. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::handle_terms() |
Updates the post’s terms from a REST request. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::sanitize_post_statuses() |
Sanitizes and validates the list of post statuses, including whether the user can query private statuses. |
wp-includes/rest-api/endpoints/class-wp-rest-controller.php: WP_REST_Controller::update_additional_fields_for_object() |
Updates the values of additional fields added to a data object. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::update_item() |
Updates a single post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::delete_item_permissions_check() |
Checks if a given request has access to delete a post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::delete_item() |
Deletes a single post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_database() |
Prepares a single post for create or update. |
wp-includes/widgets/class-wp-widget-rss.php: WP_Widget_RSS::widget() |
Outputs the content for the current RSS widget instance. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_item_permissions_check() |
Checks if a given request has access to read a post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_item() |
Retrieves a single post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::create_item() |
Creates a single post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::update_item_permissions_check() |
Checks if a given request has access to update a post. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::load() |
Loads image from $this->file into new Imagick Object. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::set_quality() |
Sets Image Compression quality on a 1-100% scale. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::resize() |
Resizes current image. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::multi_resize() |
Resize multiple images from a single source. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::crop() |
Crops Image. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::rotate() |
Rotates current image counter-clockwise by $angle. |
wp-includes/class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::save() |
Saves current image to file. |
wp-includes/widgets/class-wp-widget-media.php: WP_Widget_Media::update() |
Sanitizes the widget form values as they are saved. |
wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::wp_ajax_update_widget() |
Updates widget settings asynchronously. |
wp-includes/media.php: wp_get_image_editor() |
Returns a WP_Image_Editor instance and loads file into it. |
wp-includes/media.php: image_make_intermediate_size() |
Resizes an image to make a thumbnail or intermediate size. |
wp-includes/pluggable-deprecated.php: wp_login() |
Checks a users login information and logs them in if it checks out. This function is deprecated. |
wp-includes/class-wp-query.php: WP_Query::get_queried_object() |
Retrieve queried object. |
wp-includes/class-wp-tax-query.php: WP_Tax_Query::get_sql_for_clause() |
Generate SQL JOIN and WHERE clauses for a “first-order” query clause. |
wp-includes/class-wp-tax-query.php: WP_Tax_Query::clean_query() |
Validates a single query. |
wp-includes/class-wp-tax-query.php: WP_Tax_Query::transform_query() |
Transforms a single query, from one field to another. |
wp-includes/pluggable.php: get_avatar() |
Retrieve the avatar |
wp-includes/class-wp-network.php: WP_Network::get_instance() |
Retrieve a network from the database by its ID. |
wp-includes/pluggable.php: wp_authenticate() |
Authenticate a user, confirming the login credentials are valid. |
wp-includes/nav-menu.php: wp_delete_nav_menu() |
Delete a Navigation Menu. |
wp-includes/nav-menu.php: wp_update_nav_menu_object() |
Save the properties of a menu or create a new menu with those properties. |
wp-includes/nav-menu.php: wp_update_nav_menu_item() |
Save the properties of a menu item or create a new one. |
wp-includes/nav-menu.php: wp_get_nav_menu_items() |
Retrieves all menu items of a navigation menu. |
wp-includes/nav-menu.php: wp_setup_nav_menu_item() |
Decorates a menu item object with the shared navigation menu item properties. |
wp-includes/nav-menu.php: is_nav_menu() |
Check if the given ID is a navigation menu. |
wp-includes/nav-menu.php: is_nav_menu_item() |
Determines whether the given ID is a nav menu item. |
wp-includes/comment.php: wp_handle_comment_submission() |
Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form. |
wp-includes/nav-menu.php: wp_get_nav_menu_object() |
Returns a navigation menu object. |
wp-includes/comment.php: trackback() |
Send a Trackback. |
wp-includes/comment.php: discover_pingback_server_uri() |
Finds a pingback server URI based on the given URL. |
wp-includes/comment.php: wp_new_comment() |
Adds a new comment to the database. |
wp-includes/comment.php: wp_get_comment_fields_max_lengths() |
Retrieves the maximum character lengths for the comment form fields. |
wp-includes/class-wp-ajax-response.php: WP_Ajax_Response::add() |
Appends data to an XML response based on given arguments. |
wp-includes/nav-menu-template.php: wp_nav_menu() |
Displays a navigation menu. |
wp-includes/admin-bar.php: wp_admin_bar_edit_menu() |
Provide an edit link for posts and terms. |
wp-includes/bookmark.php: get_bookmark_field() |
Retrieve single bookmark data item or field. |
wp-includes/link-template.php: get_avatar_data() |
Retrieves default data about the avatar. |
wp-includes/link-template.php: get_adjacent_post() |
Retrieves the adjacent post. |
wp-includes/link-template.php: get_edit_term_link() |
Retrieves the URL for editing a given term. |
wp-includes/link-template.php: get_term_feed_link() |
Retrieves the feed link for a term. |
wp-includes/link-template.php: get_permalink() |
Retrieves the full permalink for the current post or post ID. |
wp-includes/link-template.php: get_post_permalink() |
Retrieves the permalink for a post of a custom post type. |
wp-includes/capabilities.php: map_meta_cap() |
Map meta capabilities to primitive capabilities. |
wp-includes/class-wp-site.php: WP_Site::get_instance() |
Retrieves a site from the database by its ID. |
wp-includes/post-formats.php: get_post_format_link() |
Returns a link to a post format index. |
wp-includes/class-http.php: WP_Http::request() |
Send an HTTP request to a URI. |
wp-includes/class-http.php: WP_Http::_dispatch_request() |
Dispatches a HTTP request to a supporting transport. |
wp-includes/http.php: wp_remote_retrieve_header() |
Retrieve a single header by name from the raw response. |
wp-includes/http.php: wp_remote_retrieve_response_code() |
Retrieve only the response code from the raw response. |
wp-includes/http.php: wp_remote_retrieve_response_message() |
Retrieve only the response message from the raw response. |
wp-includes/http.php: wp_remote_retrieve_body() |
Retrieve only the body from the raw response. |
wp-includes/http.php: wp_remote_retrieve_cookies() |
Retrieve only the cookies from the raw response. |
wp-includes/http.php: wp_remote_retrieve_headers() |
Retrieve only the headers from the raw response. |
wp-includes/user.php: wp_create_user_request() |
Create and log a user request to perform a specific action. |
wp-includes/user.php: get_password_reset_key() |
Creates, stores, then returns a password reset key for user. |
wp-includes/user.php: register_new_user() |
Handles registering a new user. |
wp-includes/user.php: wp_update_user() |
Update a user in the database. |
wp-includes/wp-db.php: wpdb::process_field_charsets() |
Adds field charsets to field/value/format arrays generated by the wpdb::process_field_formats() method. |
wp-includes/wp-db.php: wpdb::process_field_lengths() |
For string fields, record the maximum string length that field can safely save. |
wp-includes/wp-db.php: wpdb::get_col_charset() |
Retrieves the character set for the given column. |
wp-includes/wp-db.php: wpdb::get_col_length() |
Retrieve the maximum string length allowed in a given column. |
wp-includes/wp-db.php: wpdb::strip_invalid_text_from_query() |
Strips any invalid characters from the query. |
wp-includes/wp-db.php: wpdb::strip_invalid_text_for_column() |
Strips any invalid characters from the string for a given table and column. |
wp-includes/user.php: wp_signon() |
Authenticates and logs a user in with ‘remember’ capability. |
wp-includes/user.php: wp_authenticate_username_password() |
Authenticate a user, confirming the username and password are valid. |
wp-includes/user.php: wp_authenticate_email_password() |
Authenticates a user using the email and password. |
wp-includes/class-wp-theme.php: WP_Theme::errors() |
Returns errors property. |
wp-includes/theme.php: wp_update_custom_css_post() |
Update the |
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_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::blogger_newPost() |
Creates new 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::mw_editPost() |
Edit a post. |
wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::pingback_ping() |
Retrieves a pingback and registers it. |
wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::login() |
Log user in. |
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_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_editProfile() |
Edit user’s profile. |
wp-includes/category-template.php: the_tags() |
Retrieve the tags for a post. |
wp-includes/category-template.php: term_description() |
Retrieve term description. |
wp-includes/category-template.php: get_the_terms() |
Retrieve the terms of the taxonomy that are attached to the post. |
wp-includes/category-template.php: get_the_term_list() |
Retrieve a post’s terms as a list with specified format. |
wp-includes/category-template.php: get_term_parents_list() |
Retrieve term parents with separator. |
wp-includes/category-template.php: the_terms() |
Display the terms in a list. |
wp-includes/category-template.php: has_term() |
Check if the current post has any of given terms. |
wp-includes/category-template.php: wp_tag_cloud() |
Display tag cloud. |
wp-includes/category-template.php: get_category_link() |
Retrieve category link URL. |
wp-includes/category-template.php: get_the_category() |
Retrieve post categories. |
wp-includes/category-template.php: get_the_category_by_ID() |
Retrieve category name based on category ID. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::_publish_changeset_values() |
Publish changeset values. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::handle_load_themes_request() |
Load themes into the theme browsing/installation UI. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::changeset_data() |
Get changeset data. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::import_theme_starter_content() |
Import theme starter content into the customized state. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::post_value() |
Returns the sanitized value for a given setting from the current customized state. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::validate_setting_values() |
Validates setting values. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::prepare_setting_validity_for_js() |
Prepares setting validity for exporting to the client (JS). |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save() |
Handle customize_save WP Ajax request to save/update a changeset. |
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save_changeset_post() |
Save the post for the loaded changeset. |
wp-includes/post-template.php: get_post_class() |
Retrieves the classes for the post div as an array. |
wp-includes/post-template.php: get_body_class() |
Retrieve the classes for the body element as an array. |
wp-includes/canonical.php: redirect_canonical() |
Redirects incoming links to the proper URL based on the site url. |
wp-includes/class-wp-simplepie-file.php: WP_SimplePie_File::__construct() |
Constructor. |
wp-includes/rest-api.php: rest_validate_value_from_schema() |
Validate a value based on a schema. |
wp-includes/rest-api.php: rest_parse_request_arg() |
Parse a request argument based on details registered to the route. |
wp-includes/rest-api.php: rest_ensure_response() |
Ensures a REST response is a response object (for consistency). |
wp-includes/post.php: wp_get_post_parent_id() |
Return the post’s parent’s post_ID |
wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::insert_auto_draft_post() |
Add a new |
wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::ajax_insert_auto_draft_post() |
Ajax handler for adding a new auto-draft post. |
wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::ajax_load_available_items() |
Ajax handler for loading available menu items. |
wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::load_available_items_query() |
Performs the post_type and taxonomy queries for loading available menu items. |
wp-includes/ms-functions.php: maybe_add_existing_user_to_blog() |
Add a new user to a blog by visiting /newbloguser/{key}/. |
wp-includes/ms-functions.php: add_new_user_to_blog() |
Adds a newly created user to the appropriate blog |
wp-includes/ms-functions.php: wpmu_activate_signup() |
Activate a signup. |
wp-includes/ms-functions.php: wpmu_create_user() |
Create a user. |
wp-includes/ms-functions.php: get_active_blog_for_user() |
Get one of a user’s active blogs |
wp-includes/ms-functions.php: add_user_to_blog() |
Adds a user to a blog. |
wp-includes/formatting.php: sanitize_option() |
Sanitises various option values based on the nature of the option. |
wp-includes/class-wp-editor.php: _WP_Editors::editor_settings() | |
wp-includes/load.php: wp_set_wpdb_vars() |
Set the database table prefix and the format specifiers for database table columns. |
wp-includes/update.php: wp_version_check() |
Check WordPress version against the newest version. |
wp-includes/update.php: wp_update_plugins() |
Check plugin versions against the latest versions hosted on WordPress.org. |
wp-includes/update.php: wp_update_themes() |
Check theme versions against the latest versions hosted on WordPress.org. |
wp-includes/category.php: _make_cat_compat() |
Update category structure to old pre 2.3 from new taxonomy structure. |
wp-includes/taxonomy.php: is_object_in_term() |
Determine if the given object is associated with any of the given terms. |
wp-includes/taxonomy.php: get_ancestors() |
Get an array of ancestor IDs for a given object. |
wp-includes/taxonomy.php: wp_get_term_taxonomy_parent_id() |
Returns the term’s parent’s term_ID. |
wp-includes/category.php: get_categories() |
Retrieve list of category objects. |
wp-includes/category.php: get_category() |
Retrieves category data given a category ID or category object. |
wp-includes/category.php: get_category_by_path() |
Retrieve category based on URL containing the category slug. |
wp-includes/category.php: get_cat_name() |
Retrieve the name of a category from its ID. |
wp-includes/taxonomy.php: get_term_link() |
Generate a permalink for a taxonomy term archive. |
wp-includes/taxonomy.php: _get_term_children() |
Get the subset of $terms that are descendants of $term_id. |
wp-includes/taxonomy.php: wp_unique_term_slug() |
Will make slug unique, if it isn’t already. |
wp-includes/taxonomy.php: wp_update_term() |
Update term based on arguments provided. |
wp-includes/taxonomy.php: get_object_term_cache() |
Retrieves the taxonomy relationship to the term object id. |
wp-includes/taxonomy.php: wp_set_object_terms() |
Create Term and Taxonomy Relationships. |
wp-includes/taxonomy.php: wp_remove_object_terms() |
Remove term(s) associated with a given object. |
wp-includes/taxonomy.php: wp_delete_term() |
Removes a term from the database. |
wp-includes/taxonomy.php: wp_insert_term() |
Add a new term to the database. |
wp-includes/taxonomy.php: get_term() |
Get all Term data from database by Term ID. |
wp-includes/taxonomy.php: get_term_by() |
Get all Term data from database by Term field and data. |
wp-includes/taxonomy.php: get_term_field() |
Get sanitized Term field. |
wp-includes/taxonomy.php: get_term_to_edit() |
Sanitizes Term for editing. |
wp-includes/revision.php: _wp_put_post_revision() |
Inserts post data into the posts table as a post revision. |
wp-includes/revision.php: wp_restore_post_revision() |
Restores a post to the specified revision. |
wp-includes/widgets.php: wp_widget_rss_process() |
Process RSS feed widget data and optionally retrieve feed items. |
wp-includes/class-oembed.php: WP_oEmbed::fetch() |
Connects to a oEmbed provider and returns the result. |
wp-includes/widgets.php: wp_widget_rss_output() |
Display the RSS entries in a list. |
wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::validate() |
Validates an input. |
wp-includes/rss.php: _fetch_remote_file() |
Retrieve URL headers and content using WP HTTP Request API. |
wp-includes/functions.php: wp_send_json_error() |
Send a JSON response back to an Ajax request, indicating failure. |
wp-includes/functions.php: _default_wp_die_handler() |
Kills ClassicPress execution and display HTML message with error message. |
wp-includes/functions.php: wp_remote_fopen() |
HTTP request for URI to retrieve content. |
wp-includes/functions.php: wp_get_http_headers() |
Retrieve HTTP Headers from URL. |
wp-admin/custom-header.php: Custom_Image_Header::ajax_header_crop() |
Gets attachment uploaded by Media Manager, crops it, then saves it as a new object. Returns JSON-encoded object details. |
wp-admin/custom-header.php: Custom_Image_Header::step_2() |
Display second step of custom header image page. |
wp-admin/custom-header.php: Custom_Image_Header::step_3() |
Display third step of custom header image page. |
wp-admin/update-core.php: do_core_upgrade() |
Upgrade ClassicPress core display. |
wp-admin/includes/deprecated.php: wp_dashboard_plugins_output() |
Display plugins text for the ClassicPress news widget. |
wp-admin/includes/class-theme-upgrader-skin.php: Theme_Upgrader_Skin::after() | |
wp-admin/includes/image.php: wp_crop_image() |
Crop an Image to a given size. |
wp-admin/includes/image.php: wp_generate_attachment_metadata() |
Generate post thumbnail attachment meta data. |
wp-admin/includes/class-automatic-upgrader-skin.php: Automatic_Upgrader_Skin::feedback() | |
wp-admin/includes/misc.php: heartbeat_autosave() |
Autosave with heartbeat |
wp-admin/includes/misc.php: show_message() |
Displays the given administration message. |
wp-admin/includes/media.php: media_upload_form() |
Outputs the legacy media upload form. |
wp-admin/includes/media.php: media_upload_type_form() |
Outputs the legacy media upload form for a given media type. |
wp-admin/includes/media.php: wp_media_upload_handler() |
Handles the process of uploading media. |
wp-admin/includes/media.php: media_sideload_image() |
Downloads an image from the specified URL and attaches it to a post. |
wp-admin/includes/media.php: media_handle_upload() |
Save a file submitted from a POST request and create an attachment post for it. |
wp-admin/includes/media.php: media_handle_sideload() |
Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload(). |
wp-admin/includes/class-bulk-upgrader-skin.php: Bulk_Upgrader_Skin::error() | |
wp-admin/includes/class-bulk-upgrader-skin.php: Bulk_Upgrader_Skin::after() | |
wp-admin/includes/image-edit.php: wp_save_image() |
Saves image to post along with enqueued changes in $_REQUEST[‘history’] |
wp-admin/includes/schema.php: populate_network() |
Populate network settings. |
wp-admin/includes/network.php: network_step1() |
Prints step 1 for Network installation process. |
wp-admin/includes/network.php: network_step2() |
Prints step 2 for Network installation process. |
wp-admin/includes/image-edit.php: wp_stream_image() |
Streams image in WP_Image_Editor to browser. |
wp-admin/includes/image-edit.php: stream_preview_image() |
Streams image in post to browser, along with enqueued changes in $_REQUEST[‘history’] |
wp-admin/includes/nav-menu.php: wp_get_nav_menu_to_edit() |
Returns the menu formatted to edit. |
wp-admin/includes/nav-menu.php: wp_nav_menu_update_menu_items() |
Saves nav menu items |
wp-admin/includes/translation-install.php: translations_api() |
Retrieve translations from ClassicPress Translation API. |
wp-admin/includes/translation-install.php: wp_get_available_translations() |
Get available translations from the ClassicPress.net API. |
wp-admin/includes/translation-install.php: wp_download_language_pack() |
Download a language pack. |
wp-admin/includes/translation-install.php: wp_can_install_language_pack() |
Check if ClassicPress has access to the filesystem without asking for credentials. |
wp-admin/includes/nav-menu.php: _wp_ajax_menu_quick_search() |
Prints the appropriate response to a menu quick search. |
wp-admin/includes/nav-menu.php: wp_nav_menu_item_post_type_meta_box() |
Displays a meta box for a post type menu item. |
wp-admin/includes/nav-menu.php: wp_nav_menu_item_taxonomy_meta_box() |
Displays a meta box for a taxonomy menu item. |
wp-admin/includes/class-wp-upgrader-skin.php: WP_Upgrader_Skin::error() | |
wp-admin/includes/class-wp-upgrader-skin.php: WP_Upgrader_Skin::decrement_update_count() |
Output JavaScript that calls function to decrement the update counts. |
wp-admin/includes/plugin-install.php: plugins_api() |
Retrieves plugin installer pages from the ClassicPress.net Plugins API. |
wp-admin/includes/plugin-install.php: install_popular_tags() |
Retrieve popular ClassicPress plugin tags. |
wp-admin/includes/plugin-install.php: install_dashboard() | |
wp-admin/includes/plugin-install.php: install_plugin_information() |
Display plugin information in dialog box form. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::check_parent_theme_filter() |
Check if a child theme is being installed and we need to install its parent. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::install() |
Install a theme package. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::upgrade() |
Upgrade a theme. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::check_package() |
Check that the package source contains a valid theme. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::current_before() |
Turn on maintenance mode before attempting to upgrade the current theme. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::current_after() |
Turn off maintenance mode after upgrading the current theme. |
wp-admin/includes/class-theme-upgrader.php: Theme_Upgrader::delete_old_theme() |
Delete the old theme during an upgrade. |
wp-admin/includes/theme-install.php: install_themes_feature_list() |
Retrieve list of ClassicPress theme features (aka theme tags) |
wp-admin/includes/theme-install.php: install_theme_information() |
Display theme information in dialog box form. |
wp-admin/includes/class-wp-links-list-table.php: WP_Links_List_Table::column_categories() |
Handles the link categories column output. |
wp-admin/includes/class-core-upgrader.php: Core_Upgrader::upgrade() |
Upgrade ClassicPress core. |
wp-admin/includes/ajax-actions.php: wp_ajax_wp_privacy_erase_personal_data() |
Ajax handler for erasing personal data. |
wp-admin/includes/ajax-actions.php: wp_ajax_edit_theme_plugin_file() |
Ajax handler for editing a theme or plugin file. |
wp-admin/includes/ajax-actions.php: wp_ajax_wp_privacy_export_personal_data() |
Ajax handler for exporting a user’s personal data. |
wp-admin/includes/ajax-actions.php: wp_ajax_crop_image() |
Ajax handler for cropping an image. |
wp-admin/includes/ajax-actions.php: wp_ajax_install_theme() |
Ajax handler for installing a theme. |
wp-admin/includes/ajax-actions.php: wp_ajax_update_theme() |
Ajax handler for updating a theme. |
wp-admin/includes/ajax-actions.php: wp_ajax_delete_theme() |
Ajax handler for deleting a theme. |
wp-admin/includes/ajax-actions.php: wp_ajax_install_plugin() |
Ajax handler for installing a plugin. |
wp-admin/includes/ajax-actions.php: wp_ajax_update_plugin() |
Ajax handler for updating a plugin. |
wp-admin/includes/ajax-actions.php: wp_ajax_delete_plugin() |
Ajax handler for deleting a plugin. |
wp-admin/includes/ajax-actions.php: wp_ajax_query_themes() |
Ajax handler for getting themes from themes_api(). |
wp-admin/includes/ajax-actions.php: wp_ajax_wp_fullscreen_save_post() |
Ajax handler for saving posts from the fullscreen editor. |
wp-admin/includes/ajax-actions.php: wp_ajax_inline_save_tax() |
Ajax handler for quick edit saving for a term. |
wp-admin/includes/ajax-actions.php: wp_ajax_upload_attachment() |
Ajax handler for uploading attachments |
wp-admin/includes/ajax-actions.php: wp_ajax_replyto_comment() |
Ajax handler for replying to a comment. |
wp-admin/includes/ajax-actions.php: wp_ajax_add_menu_item() |
Ajax handler for adding a menu item. |
wp-admin/includes/ajax-actions.php: wp_ajax_add_meta() |
Ajax handler for adding meta. |
wp-admin/includes/ajax-actions.php: wp_ajax_add_user() |
Ajax handler for adding a user. |
wp-admin/includes/ajax-actions.php: wp_ajax_add_link_category() |
Ajax handler for adding a link category. |
wp-admin/includes/ajax-actions.php: wp_ajax_add_tag() |
Ajax handler to add a tag. |
wp-admin/includes/ajax-actions.php: wp_ajax_get_tagcloud() |
Ajax handler for getting a tagcloud. |
wp-admin/includes/ajax-actions.php: _wp_ajax_add_hierarchical_term() |
Ajax handler for adding a hierarchical term. |
wp-admin/includes/ajax-actions.php: wp_ajax_delete_tag() |
Ajax handler for deleting a tag. |
wp-admin/includes/ajax-actions.php: wp_ajax_delete_link() |
Ajax handler for deleting a link. |
wp-admin/includes/ajax-actions.php: wp_ajax_dim_comment() |
Ajax handler to dim a comment. |
wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::prepare_items() | |
wp-admin/includes/upgrade.php: wp_check_mysql_version() |
Checks the version of the installed MySQL binary. |
wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::fs_connect() |
Connect to the filesystem. |
wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::download_package() |
Download a package. |
wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::unpack_package() |
Unpack a compressed package file. |
wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::install_package() |
Install a package. |
wp-admin/includes/class-wp-upgrader.php: WP_Upgrader::run() |
Run an upgrade/installation. |
wp-admin/includes/update-core.php: update_core() |
Upgrades the core of ClassicPress. |
wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::update() |
Update an item, if appropriate. |
wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::after_core_update() |
If we tried to perform a core update, check if we should send an email, and if we need to avoid processing future updates. |
wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::send_email() |
Sends an email upon the completion or failure of a background core update. |
wp-admin/includes/class-wp-automatic-updater.php: WP_Automatic_Updater::send_debug_email() |
Prepares and sends an email of a full log of background update results, useful for debugging and geekery. |
wp-admin/includes/class-plugin-upgrader-skin.php: Plugin_Upgrader_Skin::after() | |
wp-admin/includes/class-theme-installer-skin.php: Theme_Installer_Skin::after() | |
wp-admin/includes/user.php: WP_Privacy_Requests_Table::process_bulk_action() |
Process bulk actions. |
wp-admin/includes/user.php: _wp_privacy_resend_request() |
Resend an existing request and return the result. |
wp-admin/includes/user.php: _wp_personal_data_handle_actions() |
Handle list table actions. |
wp-admin/includes/theme.php: delete_theme() |
Remove a theme |
wp-admin/includes/theme.php: get_theme_feature_list() |
Retrieve list of ClassicPress theme features (aka theme tags) |
wp-admin/includes/theme.php: themes_api() |
Retrieves theme installer pages from the ClassicPress.net Themes API. |
wp-admin/includes/class-walker-nav-menu-edit.php: Walker_Nav_Menu_Edit::start_el() |
Start the element output. |
wp-admin/includes/plugin.php: activate_plugin() |
Attempts activation of plugin in a “sandbox” and redirects on success. |
wp-admin/includes/plugin.php: activate_plugins() |
Activate multiple plugins. |
wp-admin/includes/plugin.php: delete_plugins() |
Remove directory and files of a plugin for a list of plugins. |
wp-admin/includes/plugin.php: validate_active_plugins() |
Validate active plugins |
wp-admin/includes/file.php: request_filesystem_credentials() |
Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. |
wp-admin/includes/file.php: wp_privacy_process_personal_data_export_page() |
Intercept personal data exporter page ajax responses in order to assemble the personal data export file. |
wp-admin/includes/file.php: download_url() |
Downloads a URL to a local temporary file using the ClassicPress HTTP Class. |
wp-admin/includes/file.php: unzip_file() |
Unzips a specified ZIP file to a location on the Filesystem via the ClassicPress Filesystem Abstraction. |
wp-admin/includes/file.php: copy_dir() |
Copies a directory from one location to another via the ClassicPress Filesystem Abstraction. |
wp-admin/includes/file.php: WP_Filesystem() |
Initialises and connects the ClassicPress Filesystem Abstraction classes. |
wp-admin/includes/class-language-pack-upgrader.php: Language_Pack_Upgrader::check_package() |
Check the package source to make sure there are .mo and .po files. |
wp-admin/includes/class-plugin-installer-skin.php: Plugin_Installer_Skin::after() | |
wp-admin/includes/class-wp-ajax-upgrader-skin.php: WP_Ajax_Upgrader_Skin::error() |
Stores a log entry for an error. |
wp-admin/includes/class-wp-ajax-upgrader-skin.php: WP_Ajax_Upgrader_Skin::feedback() |
Stores a log entry. |
wp-admin/includes/post.php: wp_create_post_autosave() |
Creates autosave data for the specified post from $_POST data. |
wp-admin/includes/post.php: post_preview() |
Saves a draft or manually autosaves for the purpose of showing a post preview. |
wp-admin/includes/import.php: register_importer() |
Register importer for ClassicPress. |
wp-admin/includes/post.php: _wp_get_allowed_postdata() |
Applies a blacklist to post data fields used in editing functions. |
wp-admin/includes/post.php: edit_post() |
Update an existing post with values provided in $_POST. |
wp-admin/includes/post.php: bulk_edit_posts() |
Process the post data for the bulk editing of posts. |
wp-admin/includes/post.php: wp_write_post() |
Creates a new post from the “Write Post” form using $_POST information. |
wp-admin/includes/post.php: write_post() |
Calls wp_write_post() and handles the errors. |
wp-admin/includes/dashboard.php: wp_check_browser_version() |
Check if the user needs a browser update |
wp-admin/includes/dashboard.php: cp_dashboard_petitions_output() |
Display the ClassicPress petitions feeds. |
wp-admin/includes/dashboard.php: wp_dashboard_rss_control() |
The RSS dashboard widget control. |
wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::prepare_items() | |
wp-admin/includes/class-plugin-upgrader.php: Plugin_Upgrader::upgrade() |
Upgrade a plugin. |
wp-admin/includes/class-plugin-upgrader.php: Plugin_Upgrader::check_package() |
Check a source package to be sure it contains a plugin. |
wp-admin/includes/class-plugin-upgrader.php: Plugin_Upgrader::deactivate_plugin_before_upgrade() |
Deactivates a plugin before it is upgraded. |
wp-admin/includes/class-plugin-upgrader.php: Plugin_Upgrader::delete_old_plugin() |
Delete the old plugin during an upgrade. |
wp-admin/includes/update.php: get_core_checksums() |
Gets the checksums for the given version of ClassicPress. |
wp-admin/includes/class-plugin-upgrader.php: Plugin_Upgrader::install() |
Install a plugin package. |
wp-admin/includes/taxonomy.php: wp_insert_category() |
Updates an existing Category or creates a new Category. |
wp-admin/includes/taxonomy.php: get_terms_to_edit() |
Get comma-separated list of terms available to edit for the given post ID. |
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |