wp-admin/includes/misc.php


Lines:

1 to 84 of 84
<?php

/**
 * Misc WordPress Administration API.
 *
 * @package WordPress
 * @subpackage Administration
 */

/* function got_mod_rewrite() – Returns whether the server is running Apache with the mod_rewrite module loaded. */

/* function got_url_rewrite() – Returns whether the server supports URL rewriting. */

/* function extract_from_markers() – Extracts strings from between the BEGIN and END markers in the .htaccess file. */

/* function insert_with_markers() – Inserts an array of strings into a file (.htaccess), placing it between
BEGIN and END markers. */

/* function save_mod_rewrite_rules() – Updates the htaccess file with the current rules if it is writable. */

/* function iis7_save_url_rewrite_rules() – Updates the IIS web.config file with the current rules if it is writable. */

/* function update_recently_edited() – Updates the "recently-edited" file for the plugin or theme file editor. */

/* function wp_make_theme_file_tree() – Makes a tree structure for the theme file editor’s file list. */

/* function wp_print_theme_file_tree() – Outputs the formatted file list for the theme file editor. */

/* function wp_make_plugin_file_tree() – Makes a tree structure for the plugin file editor’s file list. */

/* function wp_print_plugin_file_tree() – Outputs the formatted file list for the plugin file editor. */

/* function update_home_siteurl() – Flushes rewrite rules if siteurl, home or page_on_front changed. */


/* function wp_reset_vars() – Resets global variables based on $_GET and $_POST */

/* function show_message() – Displays the given administration message. */

/* function wp_doc_link_parse() – */

/* function set_screen_options() – Saves option for number of rows when listing posts, pages, comments, etc. */

/* function iis7_rewrite_rule_exists() – Checks if rewrite rule for WordPress already exists in the IIS 7+ configuration file. */

/* function iis7_delete_rewrite_rule() – Deletes WordPress rewrite rule from web.config file if it exists there. */

/* function iis7_add_rewrite_rule() – Adds WordPress rewrite rule to the IIS 7+ configuration file. */

/* function saveDomDocument() – Saves the XML document into a file. */

/* function admin_color_scheme_picker() – Displays the default admin color scheme picker (Used in user-edit.php). */

/* function wp_color_scheme_settings() – */

/* function wp_admin_viewport_meta() – Displays the viewport meta in the admin. */

/* function _customizer_mobile_viewport_meta() – Adds viewport meta for mobile in Customizer. */

/* function wp_check_locked_posts() – Checks lock status for posts displayed on the Posts screen. */

/* function wp_refresh_post_lock() – Checks lock status on the New/Edit Post screen and refresh the lock. */

/* function wp_refresh_post_nonces() – Checks nonce expiration on the New/Edit Post screen and refresh if needed. */

/* function wp_refresh_heartbeat_nonces() – Adds the latest Heartbeat and REST-API nonce to the Heartbeat response. */

/* function wp_heartbeat_set_suspension() – Disable suspension of Heartbeat on the Add/Edit Post screens. */

/* function heartbeat_autosave() – Autosave with heartbeat */

/* function wp_admin_canonical_url() – Remove single-use URL parameters and create canonical link based on new URL. */

/* function wp_admin_headers() – Send a referrer policy header so referrers are not sent externally from administration screens. */

/* function wp_page_reload_on_back_button_js() – Outputs JS that reloads the page if the user navigated to it with the Back or Forward button. */

/* function update_option_new_admin_email() – Sends a confirmation request email when a change of site admin email address is attempted. */

/* function _wp_privacy_settings_filter_draft_page_titles() – Appends ‘(Draft)’ to draft page titles in the privacy page dropdown
so that unpublished content is obvious. */

/* function wp_check_php_version() – Checks if the user needs to update PHP. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,