返回介绍

current_user_can()

发布于 2017-09-10 22:00:28 字数 36672 浏览 930 评论 0 收藏 0

current_user_can( string $capability )

Whether the current user has a specific capability.


description

While checking against particular roles in place of a capability is supported in part, this practice is discouraged as it may produce unreliable results.

Note: Will always return true if the current user is a super admin, unless specifically denied.


参数

$capability

(string) (Required) Capability name.

$object_id

(int) (Optional) ID of the specific object to check against if $capability is a "meta" cap. "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts', 'edit_others_posts', etc. Accessed via func_get_args() and passed to WP_User::has_cap(), then map_meta_cap().


返回值

(bool) Whether the current user has the given capability. If $capability is a meta cap and $object_id is passed, whether the current user has the given meta capability for the given object.


源代码

File: wp-includes/capabilities.php

function current_user_can( $capability ) {
	$current_user = wp_get_current_user();

	if ( empty( $current_user ) )
		return false;

	$args = array_slice( func_get_args(), 1 );
	$args = array_merge( array( $capability ), $args );

	return call_user_func_array( array( $current_user, 'has_cap' ), $args );
}

更新日志

Versiondescription
2.0.0Introduced.

相关函数

Uses

  • wp-includes/pluggable.php: wp_get_current_user()

Used By

  • wp-includes/class-wp-oembed-controller.php: WP_oEmbed_Controller::get_proxy_item_permissions_check()
  • wp-includes/rest-api/fields/class-wp-rest-meta-fields.php: WP_REST_Meta_Fields::delete_meta_value()
  • wp-includes/rest-api/fields/class-wp-rest-meta-fields.php: WP_REST_Meta_Fields::update_multi_meta_value()
  • wp-includes/rest-api/fields/class-wp-rest-meta-fields.php: WP_REST_Meta_Fields::update_meta_value()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::check_role_update()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::delete_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::create_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::update_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_items()
  • wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php: WP_REST_Users_Controller::get_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::delete_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php: WP_REST_Revisions_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php: WP_REST_Attachments_Controller::create_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php: WP_REST_Post_Statuses_Controller::check_read_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php: WP_REST_Post_Statuses_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php: WP_REST_Settings_Controller::get_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::create_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::update_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::delete_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php: WP_REST_Terms_Controller::get_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::sanitize_post_statuses()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_read_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_update_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_create_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_delete_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::handle_status_param()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_assign_terms_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::update_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::create_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php: WP_REST_Taxonomies_Controller::get_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php: WP_REST_Taxonomies_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php: WP_REST_Taxonomies_Controller::get_items()
  • wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::get_items_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::get_items()
  • wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::get_item()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_edit_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_read_post_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_read_permission()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_database()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item_permissions_check()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::create_item()
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_items_permissions_check()
  • wp-includes/comment.php: wp_check_comment_flood()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::print_post_type_container()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::sanitize_nav_menus_created_posts()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::ajax_insert_auto_draft_post()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::validate_setting_values()
  • wp-admin/includes/ms.php: network_edit_site_nav()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_plugin()
  • wp-admin/includes/ajax-actions.php: wp_ajax_install_theme()
  • wp-admin/includes/ajax-actions.php: wp_ajax_update_theme()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_theme()
  • wp-admin/includes/ajax-actions.php: wp_ajax_install_plugin()
  • wp-admin/includes/ajax-actions.php: wp_ajax_get_post_thumbnail_html()
  • wp-includes/customize/class-wp-customize-partial.php: WP_Customize_Partial::check_capabilities()
  • wp-includes/comment.php: wp_handle_comment_submission()
  • wp-admin/includes/class-wp-screen.php: WP_Screen::render_meta_boxes_preferences()
  • wp-admin/includes/ajax-actions.php: wp_ajax_save_wporg_username()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_inactive_widgets()
  • wp-includes/admin-bar.php: wp_admin_bar_customize_menu()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_toggle_sticky()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::__construct()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::ajax_load_available_items()
  • wp-includes/class-wp-customize-nav-menus.php: WP_Customize_Nav_Menus::ajax_search_available_items()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::handle_row_actions()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::column_cb()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::column_title()
  • wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::column_name()
  • wp-admin/includes/ajax-actions.php: wp_ajax_crop_image()
  • wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::handle_row_actions()
  • wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::handle_row_actions()
  • wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::handle_row_actions()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::column_parent()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::column_cb()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::column_title()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::unsanitized_post_values()
  • wp-includes/customize/class-wp-customize-media-control.php: WP_Customize_Media_Control::to_json()
  • wp-admin/includes/ajax-actions.php: wp_ajax_update_plugin()
  • wp-admin/includes/media.php: wp_media_attach_action()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::html()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::add_category()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::categories_html()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::tags_html()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::side_load_images()
  • wp-admin/includes/class-wp-press-this.php: WP_Press_This::save_post()
  • wp-admin/includes/post.php: wp_edit_attachments_query_vars()
  • wp-admin/includes/ajax-actions.php: wp_ajax_destroy_sessions()
  • wp-admin/custom-background.php: Custom_Background::ajax_background_add()
  • wp-admin/includes/ajax-actions.php: wp_ajax_parse_embed()
  • wp-admin/includes/ajax-actions.php: wp_ajax_parse_media_shortcode()
  • wp-admin/includes/ajax-actions.php: wp_ajax_set_attachment_thumbnail()
  • wp-admin/includes/file.php: _wp_handle_upload()
  • wp-admin/includes/theme.php: wp_prepare_themes_for_js()
  • wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-ms-users-list-table.php: WP_MS_Users_List_Table::get_bulk_actions()
  • wp-admin/includes/theme.php: get_theme_update_available()
  • wp-admin/includes/theme.php: get_theme_feature_list()
  • wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::single_row()
  • wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::prepare_items()
  • wp-admin/includes/class-wp-plugins-list-table.php: WP_Plugins_List_Table::no_items()
  • wp-admin/includes/class-wp-links-list-table.php: WP_Links_List_Table::ajax_user_can()
  • wp-admin/includes/class-theme-upgrader-skin.php: Theme_Upgrader_Skin::after()
  • wp-admin/includes/class-bulk-theme-upgrader-skin.php: Bulk_Theme_Upgrader_Skin::bulk_footer()
  • wp-admin/includes/class-plugin-installer-skin.php: Plugin_Installer_Skin::after()
  • wp-admin/includes/class-theme-installer-skin.php: Theme_Installer_Skin::after()
  • wp-admin/includes/class-bulk-plugin-upgrader-skin.php: Bulk_Plugin_Upgrader_Skin::bulk_footer()
  • wp-admin/includes/class-plugin-upgrader-skin.php: Plugin_Upgrader_Skin::after()
  • wp-admin/includes/ms.php: check_import_new_users()
  • wp-admin/includes/ms.php: site_admin_notice()
  • wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-ms-themes-list-table.php: WP_MS_Themes_List_Table::prepare_items()
  • wp-admin/includes/misc.php: wp_check_locked_posts()
  • wp-admin/includes/misc.php: wp_refresh_post_lock()
  • wp-admin/includes/misc.php: wp_refresh_post_nonces()
  • wp-admin/includes/update.php: maintenance_nag()
  • wp-admin/includes/class-wp-theme-install-list-table.php: WP_Theme_Install_List_Table::ajax_user_can()
  • wp-admin/includes/update.php: core_update_footer()
  • wp-admin/includes/update.php: update_nag()
  • wp-admin/includes/update.php: update_right_now_message()
  • wp-admin/includes/update.php: wp_plugin_update_rows()
  • wp-admin/includes/update.php: wp_plugin_update_row()
  • wp-admin/includes/update.php: wp_theme_update_rows()
  • wp-admin/includes/update.php: wp_theme_update_row()
  • wp-admin/includes/dashboard.php: wp_welcome_panel()
  • wp-admin/includes/plugin-install.php: install_plugin_install_status()
  • wp-admin/includes/plugin-install.php: install_plugin_information()
  • wp-admin/includes/dashboard.php: wp_dashboard_recent_posts()
  • wp-admin/includes/dashboard.php: wp_dashboard_recent_comments()
  • wp-admin/includes/dashboard.php: wp_dashboard_quota()
  • wp-admin/includes/dashboard.php: wp_network_dashboard_right_now()
  • wp-admin/includes/dashboard.php: wp_dashboard_quick_press()
  • wp-admin/includes/dashboard.php: _wp_dashboard_recent_comments_row()
  • wp-admin/includes/dashboard.php: wp_add_dashboard_widget()
  • wp-admin/includes/dashboard.php: wp_dashboard_right_now()
  • wp-admin/includes/dashboard.php: wp_dashboard_setup()
  • wp-admin/includes/plugin.php: user_can_access_admin_page()
  • wp-admin/includes/plugin.php: add_menu_page()
  • wp-admin/includes/plugin.php: add_submenu_page()
  • wp-admin/includes/plugin.php: add_users_page()
  • wp-admin/includes/plugin.php: validate_active_plugins()
  • wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::display_rows()
  • wp-admin/includes/user.php: edit_user()
  • wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-plugin-install-list-table.php: WP_Plugin_Install_List_Table::prepare_items()
  • wp-admin/includes/class-wp-internal-pointers.php: WP_Internal_Pointers::enqueue_scripts()
  • wp-admin/includes/template.php: get_inline_data()
  • wp-admin/includes/template.php: wp_comment_reply()
  • wp-admin/includes/template.php: meta_form()
  • wp-admin/includes/class-wp-themes-list-table.php: WP_Themes_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-themes-list-table.php: WP_Themes_List_Table::no_items()
  • wp-admin/includes/class-wp-themes-list-table.php: WP_Themes_List_Table::display_rows()
  • wp-admin/includes/template.php: wp_terms_checklist()
  • wp-admin/includes/template.php: wp_popular_terms_checklist()
  • wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-ms-sites-list-table.php: WP_MS_Sites_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::single_row()
  • wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-users-list-table.php: WP_Users_List_Table::extra_tablenav()
  • wp-admin/includes/media.php: media_upload_max_image_resize()
  • wp-admin/includes/media.php: get_media_item()
  • wp-admin/includes/media.php: get_compat_media_markup()
  • wp-admin/includes/media.php: media_upload_form_handler()
  • wp-admin/includes/post.php: get_sample_permalink_html()
  • wp-admin/includes/post.php: post_preview()
  • wp-admin/includes/post.php: wp_autosave()
  • wp-admin/includes/post.php: wp_write_post()
  • wp-admin/includes/post.php: add_meta()
  • wp-admin/includes/ajax-actions.php: wp_ajax_save_attachment_order()
  • wp-admin/includes/ajax-actions.php: wp_ajax_send_attachment_to_editor()
  • wp-admin/includes/ajax-actions.php: wp_ajax_get_revision_diffs()
  • wp-admin/includes/ajax-actions.php: wp_ajax_query_themes()
  • wp-admin/includes/post.php: _wp_translate_postdata()
  • wp-admin/includes/post.php: edit_post()
  • wp-admin/includes/post.php: bulk_edit_posts()
  • wp-admin/includes/ajax-actions.php: wp_ajax_save_widget()
  • wp-admin/includes/ajax-actions.php: wp_ajax_upload_attachment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_image_editor()
  • wp-admin/includes/ajax-actions.php: wp_ajax_set_post_thumbnail()
  • wp-admin/includes/ajax-actions.php: wp_ajax_wp_remove_post_lock()
  • wp-admin/includes/ajax-actions.php: wp_ajax_get_attachment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_query_attachments()
  • wp-admin/includes/ajax-actions.php: wp_ajax_save_attachment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_save_attachment_compat()
  • wp-admin/includes/ajax-actions.php: wp_ajax_add_menu_item()
  • wp-admin/includes/ajax-actions.php: wp_ajax_add_meta()
  • wp-admin/includes/ajax-actions.php: wp_ajax_add_user()
  • wp-admin/includes/ajax-actions.php: wp_ajax_update_welcome_panel()
  • wp-admin/includes/ajax-actions.php: wp_ajax_menu_get_metabox()
  • wp-admin/includes/ajax-actions.php: wp_ajax_menu_locations_save()
  • wp-admin/includes/ajax-actions.php: wp_ajax_menu_quick_search()
  • wp-admin/includes/ajax-actions.php: wp_ajax_inline_save()
  • wp-admin/includes/ajax-actions.php: wp_ajax_inline_save_tax()
  • wp-admin/includes/ajax-actions.php: wp_ajax_widgets_order()
  • wp-admin/includes/ajax-actions.php: _wp_ajax_add_hierarchical_term()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_comment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_tag()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_link()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_meta()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_post()
  • wp-admin/includes/ajax-actions.php: wp_ajax_trash_post()
  • wp-admin/includes/ajax-actions.php: wp_ajax_delete_page()
  • wp-admin/includes/ajax-actions.php: wp_ajax_dim_comment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_add_link_category()
  • wp-admin/includes/ajax-actions.php: wp_ajax_add_tag()
  • wp-admin/includes/ajax-actions.php: wp_ajax_get_tagcloud()
  • wp-admin/includes/ajax-actions.php: wp_ajax_get_comments()
  • wp-admin/includes/ajax-actions.php: wp_ajax_replyto_comment()
  • wp-admin/includes/ajax-actions.php: wp_ajax_edit_comment()
  • wp-admin/includes/revision.php: wp_prepare_revisions_for_js()
  • wp-admin/includes/ajax-actions.php: wp_ajax_ajax_tag_search()
  • wp-admin/includes/ajax-actions.php: wp_ajax_wp_compression_test()
  • wp-admin/includes/ajax-actions.php: wp_ajax_imgedit_preview()
  • wp-admin/includes/ajax-actions.php: wp_ajax_autocomplete_user()
  • wp-admin/includes/meta-boxes.php: post_custom_meta_box()
  • wp-admin/includes/meta-boxes.php: link_submit_meta_box()
  • wp-admin/includes/bookmark.php: wp_link_manager_disabled_message()
  • wp-admin/includes/meta-boxes.php: post_submit_meta_box()
  • wp-admin/includes/meta-boxes.php: attachment_submit_meta_box()
  • wp-admin/includes/meta-boxes.php: post_tags_meta_box()
  • wp-admin/includes/meta-boxes.php: post_categories_meta_box()
  • wp-admin/includes/bookmark.php: edit_link()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::extra_tablenav()
  • wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::_get_row_actions()
  • wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::column_response()
  • wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::extra_tablenav()
  • wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::single_row()
  • wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::inline_edit()
  • wp-admin/includes/class-wp-comments-list-table.php: WP_Comments_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::ajax_user_can()
  • wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-terms-list-table.php: WP_Terms_List_Table::column_cb()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::inline_edit()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::get_bulk_actions()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::extra_tablenav()
  • wp-admin/includes/comment.php: edit_comment()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::__construct()
  • wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::ajax_user_can()
  • wp-admin/custom-header.php: Custom_Image_Header::ajax_header_crop()
  • wp-admin/custom-header.php: Custom_Image_Header::ajax_header_add()
  • wp-admin/custom-header.php: Custom_Image_Header::ajax_header_remove()
  • wp-admin/custom-header.php: Custom_Image_Header::step_1()
  • wp-admin/custom-header.php: Custom_Image_Header::admin_page()
  • wp-admin/custom-header.php: Custom_Image_Header::take_action()
  • wp-admin/includes/ms.php: confirm_delete_users()
  • wp-admin/custom-background.php: Custom_Background::wp_set_background_image()
  • wp-admin/menu-header.php: _wp_menu_output()
  • wp-admin/custom-background.php: Custom_Background::admin_page()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::customize_preview_init()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::customize_preview_settings()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::save()
  • wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::setup_theme()
  • wp-includes/general-template.php: wp_register()
  • wp-includes/kses.php: kses_init_filters()
  • wp-includes/kses.php: kses_init()
  • wp-includes/class-wp-query.php: WP_Query::get_posts()
  • wp-includes/functions.php: wp_upload_bits()
  • wp-includes/functions.php: get_allowed_mime_types()
  • wp-includes/widgets/class-wp-widget-text.php: WP_Widget_Text::update()
  • wp-includes/widgets.php: wp_widget_rss_output()
  • wp-includes/link-template.php: get_edit_user_link()
  • wp-includes/link-template.php: get_adjacent_post()
  • wp-includes/link-template.php: get_edit_post_link()
  • wp-includes/link-template.php: get_delete_post_link()
  • wp-includes/link-template.php: get_edit_comment_link()
  • wp-includes/link-template.php: edit_comment_link()
  • wp-includes/link-template.php: get_edit_bookmark_link()
  • wp-includes/link-template.php: edit_bookmark_link()
  • wp-includes/link-template.php: get_edit_term_link()
  • wp-includes/link-template.php: edit_term_link()
  • wp-includes/update.php: wp_get_update_data()
  • wp-includes/admin-bar.php: wp_admin_bar_wp_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_my_account_item()
  • wp-includes/admin-bar.php: wp_admin_bar_my_account_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_site_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_my_sites_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_edit_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_new_content_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_comments_menu()
  • wp-includes/admin-bar.php: wp_admin_bar_appearance_menu()
  • wp-includes/post-template.php: wp_post_revision_title()
  • wp-includes/post-template.php: wp_post_revision_title_expanded()
  • wp-includes/post-template.php: wp_list_post_revisions()
  • wp-includes/media.php: wp_prepare_attachment_for_js()
  • wp-includes/post.php: get_posts_by_author_sql()
  • wp-includes/post.php: wp_insert_post()
  • wp-includes/post.php: _count_posts_cache_key()
  • wp-includes/post.php: wp_count_posts()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_getPostCategories()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_setPostCategories()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_publishPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_editPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_getPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_getRecentPosts()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_getCategories()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_newMediaObject()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_getRecentPostTitles()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mt_getCategoryList()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_getUserInfo()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_getPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_getRecentPosts()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_newPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_editPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_deletePost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::mw_newPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_getOptions()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_setOptions()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getMediaItem()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getMediaLibrary()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostFormats()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostType()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostTypes()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getRevisions()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_restoreRevision()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_getUsersBlogs()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getComments()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_deleteComment()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_editComment()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getCommentStatusList()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getCommentCount()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPostStatusList()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPageStatusList()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPageTemplates()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPages()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_deletePage()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_editPage()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPageList()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getAuthors()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTags()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_newCategory()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_deleteCategory()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_suggestCategories()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getComment()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPosts()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_newTerm()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_editTerm()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_deleteTerm()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTerm()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTerms()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTaxonomy()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getTaxonomies()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getUser()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getUsers()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getProfile()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_editProfile()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPage()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::_insert_post()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_deletePost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getPost()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::wp_getUsersBlogs()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::get_custom_fields()
  • wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::set_custom_fields()
  • wp-includes/customize/class-wp-customize-header-image-control.php: WP_Customize_Header_Image_Control::render_content()
  • wp-includes/class-wp-customize-control.php: WP_Customize_Control::check_capabilities()
  • wp-includes/class-wp-customize-control.php: WP_Customize_Control::render_content()
  • wp-includes/comment-template.php: wp_comment_form_unfiltered_html_nonce()
  • wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::wp_ajax_update_widget()
  • wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::__construct()
  • wp-includes/class-wp-editor.php: _WP_Editors::editor()
  • Show 362 more used by Hide more used by

User Contributed Notes

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文