wp-includes/l10n.php:
load_script_textdomain()
|
Loads the script translated strings.
|
wp-admin/includes/file.php:
wp_print_request_filesystem_credentials_modal()
|
Print the filesystem credentials modal when needed.
|
wp-includes/cron.php:
spawn_cron()
|
Sends a request to run cron through HTTP request that doesn’t halt page loading.
|
wp-includes/theme.php:
get_theme_root_uri()
|
Retrieve URI for themes directory.
|
wp-includes/formatting.php:
translate_smiley()
|
Convert one smiley code to the icon graphic file equivalent.
|
wp-includes/general-template.php:
rsd_link()
|
Display the link to the Really Simple Discovery service endpoint.
|
wp-includes/general-template.php:
get_bloginfo()
|
Retrieves information about the current site.
|
wp-includes/general-template.php:
wp_logout_url()
|
Retrieves the logout URL.
|
wp-includes/general-template.php:
wp_login_url()
|
Retrieves the login URL.
|
wp-includes/general-template.php:
wp_registration_url()
|
Returns the URL that allows the user to register on the site.
|
wp-includes/general-template.php:
wp_login_form()
|
Provides a simple login form for use anywhere within WordPress.
|
wp-includes/functions.php:
do_robots()
|
Display the robots.txt file content.
|
wp-includes/widgets/class-wp-widget-rss.php:
WP_Widget_RSS::widget()
|
Outputs the content for the current RSS widget instance.
|
wp-includes/link-template.php:
includes_url()
|
Retrieves the URL to the includes directory.
|
wp-includes/link-template.php:
network_site_url()
|
Retrieves the site URL for the current network.
|
wp-includes/post-template.php:
get_the_password_form()
|
Retrieve protected post password form content.
|
wp-includes/class-wp-rewrite.php:
WP_Rewrite::mod_rewrite_rules()
|
Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess.
|
wp-includes/canonical.php:
wp_redirect_admin_locations()
|
Redirects a variety of shorthand URLs to the admin.
|
wp-includes/ms-functions.php:
newblog_notify_siteadmin()
|
Notifies the network admin that a new site has been activated.
|
wp-includes/ms-functions.php:
wpmu_signup_user_notification()
|
Send a confirmation request email to a user when they sign up for a new user account (without signing up for a site at the same time). The user account will not become active until the confirmation link is clicked.
|
wp-includes/class-wp-xmlrpc-server.php:
wp_xmlrpc_server::blogger_getUsersBlogs()
|
Retrieve blogs that user owns.
|
wp-includes/class-wp-xmlrpc-server.php:
wp_xmlrpc_server::wp_getUsersBlogs()
|
Retrieve the blogs of the user.
|
wp-includes/comment-template.php:
comment_form()
|
Outputs a complete commenting form for use within a template.
|
wp-includes/script-loader.php:
wp_default_styles()
|
Assign default styles to $styles object.
|
wp-includes/script-loader.php:
wp_default_scripts()
|
Register all WordPress scripts.
|
Examples
Output:
http://www.example.com
orhttp://www.example.com/wordpress
(Note the lack of a trailing slash)
Output:
https://www.example.com/secrets/
orhttps://www.example.com/wordpress/secrets/
The contributed example is unclear because it states that the result is one of two options, but no information is given to determine which option to expect. Are we to assume it is random, and therefore must filter out the spurious occurrences of “wordpress”?