mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective).
Props obrienlabs, thewanderingbrit. Fixes #34887. git-svn-id: https://develop.svn.wordpress.org/trunk@36709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -21,7 +21,7 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
|
||||
/** Allow for cross-domain requests (from the frontend). */
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
// Require an action parameter
|
||||
|
||||
@@ -18,7 +18,7 @@ if ( defined('ABSPATH') )
|
||||
else
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
|
||||
/** Allow for cross-domain requests (from the frontend). */
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
@@ -146,7 +146,7 @@ if ( current_user_can( 'manage_options' ) ) {
|
||||
* handled separately.
|
||||
*
|
||||
* The WP_MAX_MEMORY_LIMIT constant specifically defines the maximum memory limit available
|
||||
* when in the administration back-end. The default is 256M, or 256 megabytes of memory.
|
||||
* when in the administration back end. The default is 256M, or 256 megabytes of memory.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
||||
@@ -27,7 +27,7 @@ class WP_Site_Logo {
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide header text on front-end if necessary.
|
||||
* Hide header text on front end if necessary.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @access public
|
||||
|
||||
@@ -241,7 +241,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
||||
* public 'rating' => float 80
|
||||
* public 'num_ratings' => int 1
|
||||
* public 'homepage' => string 'http://wordpress.org/themes/magazine-basic'
|
||||
* public 'description' => string 'A basic magazine style layout with a fully customizable layout through a backend interface. Designed by <a href="http://bavotasan.com">c.bavota</a> of <a href="http://tinkerpriestmedia.com">Tinker Priest Media</a>.'
|
||||
* public 'description' => string 'A basic magazine style layout with a fully customizable layout through a back-end interface. Designed by <a href="http://bavotasan.com">c.bavota</a> of <a href="http://tinkerpriestmedia.com">Tinker Priest Media</a>.'
|
||||
* public 'download_link' => string 'http://wordpress.org/themes/download/magazine-basic.1.1.zip'
|
||||
*/
|
||||
public function single_row( $theme ) {
|
||||
|
||||
@@ -1095,7 +1095,7 @@ function update_core($from, $to) {
|
||||
|
||||
// Clear the cache to prevent an update_option() from saving a stale db_version to the cache
|
||||
wp_cache_flush();
|
||||
// (Not all cache backends listen to 'flush')
|
||||
// (Not all cache back ends listen to 'flush')
|
||||
wp_cache_delete( 'alloptions', 'options' );
|
||||
|
||||
// Remove working directory
|
||||
|
||||
@@ -1557,7 +1557,7 @@
|
||||
// Watch for changes to the section state
|
||||
inject = function ( sectionId ) {
|
||||
var parentContainer;
|
||||
if ( ! sectionId ) { // @todo allow a control to be embedded without a section, for instance a control embedded in the frontend
|
||||
if ( ! sectionId ) { // @todo allow a control to be embedded without a section, for instance a control embedded in the front end.
|
||||
return;
|
||||
}
|
||||
// Wait for the section to be registered
|
||||
@@ -3039,10 +3039,10 @@
|
||||
|
||||
// Limit the URL to internal, front-end links.
|
||||
//
|
||||
// If the frontend and the admin are served from the same domain, load the
|
||||
// If the front end and the admin are served from the same domain, load the
|
||||
// preview over ssl if the Customizer is being loaded over ssl. This avoids
|
||||
// insecure content warnings. This is not attempted if the admin and frontend
|
||||
// are on different domains to avoid the case where the frontend doesn't have
|
||||
// insecure content warnings. This is not attempted if the admin and front end
|
||||
// are on different domains to avoid the case where the front end doesn't have
|
||||
// ssl certs.
|
||||
|
||||
this.add( 'previewUrl', params.previewUrl ).setter( function( to ) {
|
||||
|
||||
@@ -14,7 +14,7 @@ window.wp = window.wp || {};
|
||||
*/
|
||||
revisions = wp.revisions = { model: {}, view: {}, controller: {} };
|
||||
|
||||
// Link post revisions data served from the back-end.
|
||||
// Link post revisions data served from the back end.
|
||||
revisions.settings = window._wpRevisionsSettings || {};
|
||||
|
||||
// For debugging
|
||||
|
||||
@@ -39,7 +39,7 @@ get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the frontend or the dashboard for that site.') . '</p>' .
|
||||
'<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the front end or the dashboard for that site.') . '</p>' .
|
||||
'<p>' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '</p>'
|
||||
) );
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ get_current_screen()->add_help_tab( array(
|
||||
'<li>' . __('Dashboard leads to the Dashboard for that site.') . '</li>' .
|
||||
'<li>' . __('Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later.') . '</li>' .
|
||||
'<li>' . __('Delete which is a permanent action after the confirmation screens.') . '</li>' .
|
||||
'<li>' . __('Visit to go to the frontend site live.') . '</li></ul>' .
|
||||
'<li>' . __('Visit to go to the front-end site live.') . '</li></ul>' .
|
||||
'<p>' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '</p>' .
|
||||
'<p>' . __('Clicking on bold headings can re-sort this table.') . '</p>'
|
||||
) );
|
||||
|
||||
Reference in New Issue
Block a user