From e5ea82d81af2a6b5592fdd79974cad507f85c535 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 25 Feb 2016 12:53:27 +0000 Subject: [PATCH] Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). Props obrienlabs, thewanderingbrit. Fixes #34887. Built from https://develop.svn.wordpress.org/trunk@36709 git-svn-id: http://core.svn.wordpress.org/trunk@36676 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-ajax.php | 2 +- wp-admin/admin-post.php | 2 +- wp-admin/admin.php | 2 +- wp-admin/includes/class-wp-site-logo.php | 2 +- .../class-wp-theme-install-list-table.php | 2 +- wp-admin/includes/update-core.php | 2 +- wp-admin/js/customize-controls.js | 8 +++---- wp-admin/js/revisions.js | 2 +- wp-admin/my-sites.php | 2 +- wp-admin/network/sites.php | 2 +- .../twentyfourteen/inc/featured-content.php | 12 +++++----- .../twentythirteen/inc/custom-header.php | 2 +- wp-content/themes/twentytwelve/functions.php | 2 +- .../themes/twentytwelve/inc/custom-header.php | 2 +- wp-includes/cache.php | 4 ++-- wp-includes/class-wp-customize-manager.php | 10 ++++---- wp-includes/class-wp.php | 2 +- ...ass-wp-customize-nav-menu-item-setting.php | 2 +- wp-includes/functions.wp-scripts.php | 2 +- wp-includes/js/customize-selective-refresh.js | 4 ++-- wp-includes/js/heartbeat.js | 2 +- wp-includes/js/plupload/wp-plupload.js | 2 +- wp-includes/link-template.php | 4 ++-- wp-includes/nav-menu.php | 2 +- wp-includes/pluggable.php | 2 +- wp-includes/post.php | 2 +- wp-includes/taxonomy.php | 2 +- wp-includes/user.php | 2 +- wp-includes/version.php | 2 +- wp-includes/widgets.php | 24 +++++++++---------- 30 files changed, 56 insertions(+), 56 deletions(-) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 5597aecef4..f3a816acab 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -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 diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php index cb92699efd..d3135f2ab3 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -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'); diff --git a/wp-admin/admin.php b/wp-admin/admin.php index d67160d897..46977f9881 100644 --- a/wp-admin/admin.php +++ b/wp-admin/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 * diff --git a/wp-admin/includes/class-wp-site-logo.php b/wp-admin/includes/class-wp-site-logo.php index 08eb3eb9a9..aff3d3e61b 100644 --- a/wp-admin/includes/class-wp-site-logo.php +++ b/wp-admin/includes/class-wp-site-logo.php @@ -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 diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index c2b0b6d581..3780c89c95 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -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 c.bavota of Tinker Priest Media.' + * public 'description' => string 'A basic magazine style layout with a fully customizable layout through a back-end interface. Designed by c.bavota of Tinker Priest Media.' * public 'download_link' => string 'http://wordpress.org/themes/download/magazine-basic.1.1.zip' */ public function single_row( $theme ) { diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 4408376990..ed9b5efad9 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -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 diff --git a/wp-admin/js/customize-controls.js b/wp-admin/js/customize-controls.js index 0e10f2cf25..67c78ed03c 100644 --- a/wp-admin/js/customize-controls.js +++ b/wp-admin/js/customize-controls.js @@ -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 ) { diff --git a/wp-admin/js/revisions.js b/wp-admin/js/revisions.js index 1d7437c71a..5d3fe906b1 100644 --- a/wp-admin/js/revisions.js +++ b/wp-admin/js/revisions.js @@ -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 diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 8970c9f0ce..efefb44edc 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -39,7 +39,7 @@ get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), 'content' => - '

' . __('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.') . '

' . + '

' . __('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.') . '

' . '

' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '

' ) ); diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php index ba41b645aa..e03fad1d8a 100644 --- a/wp-admin/network/sites.php +++ b/wp-admin/network/sites.php @@ -35,7 +35,7 @@ get_current_screen()->add_help_tab( array( '
  • ' . __('Dashboard leads to the Dashboard for that site.') . '
  • ' . '
  • ' . __('Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later.') . '
  • ' . '
  • ' . __('Delete which is a permanent action after the confirmation screens.') . '
  • ' . - '
  • ' . __('Visit to go to the frontend site live.') . '
  • ' . + '
  • ' . __('Visit to go to the front-end site live.') . '
  • ' . '

    ' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '

    ' . '

    ' . __('Clicking on bold headings can re-sort this table.') . '

    ' ) ); diff --git a/wp-content/themes/twentyfourteen/inc/featured-content.php b/wp-content/themes/twentyfourteen/inc/featured-content.php index 5b649102ab..ffeb993db8 100644 --- a/wp-content/themes/twentyfourteen/inc/featured-content.php +++ b/wp-content/themes/twentyfourteen/inc/featured-content.php @@ -8,7 +8,7 @@ * For maximum compatibility with different methods of posting users * will designate a featured post tag to associate posts with. Since * this tag now has special meaning beyond that of a normal tags, users - * will have the ability to hide it from the front-end of their site. + * will have the ability to hide it from the front end of their site. */ class Featured_Content { @@ -95,7 +95,7 @@ class Featured_Content { } /** - * Hide "featured" tag from the front-end. + * Hide "featured" tag from the front end. * * Has to run on wp_loaded so that the preview filters of the Customizer * have a chance to alter the value. @@ -288,7 +288,7 @@ class Featured_Content { } /** - * Hide featured tag from displaying when global terms are queried from the front-end. + * Hide featured tag from displaying when global terms are queried from the front end. * * Hooks into the "get_terms" filter. * @@ -304,7 +304,7 @@ class Featured_Content { */ public static function hide_featured_term( $terms, $taxonomies, $args ) { - // This filter is only appropriate on the front-end. + // This filter is only appropriate on the front end. if ( is_admin() ) { return $terms; } @@ -336,7 +336,7 @@ class Featured_Content { /** * Hide featured tag from display when terms associated with a post object - * are queried from the front-end. + * are queried from the front end. * * Hooks into the "get_the_terms" filter. * @@ -353,7 +353,7 @@ class Featured_Content { */ public static function hide_the_featured_term( $terms, $id, $taxonomy ) { - // This filter is only appropriate on the front-end. + // This filter is only appropriate on the front end. if ( is_admin() ) { return $terms; } diff --git a/wp-content/themes/twentythirteen/inc/custom-header.php b/wp-content/themes/twentythirteen/inc/custom-header.php index 6a9a6adc5e..9e40bfe062 100644 --- a/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/wp-content/themes/twentythirteen/inc/custom-header.php @@ -13,7 +13,7 @@ * Set up the WordPress core custom header arguments and settings. * * @uses add_theme_support() to register support for 3.4 and up. - * @uses twentythirteen_header_style() to style front-end. + * @uses twentythirteen_header_style() to style front end. * @uses twentythirteen_admin_header_style() to style wp-admin form. * @uses twentythirteen_admin_header_image() to add custom markup to wp-admin form. * @uses register_default_headers() to set up the bundled header images. diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 8d5facf0f7..ef933e5136 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -124,7 +124,7 @@ function twentytwelve_get_font_url() { } /** - * Enqueue scripts and styles for front-end. + * Enqueue scripts and styles for front end. * * @since Twenty Twelve 1.0 */ diff --git a/wp-content/themes/twentytwelve/inc/custom-header.php b/wp-content/themes/twentytwelve/inc/custom-header.php index 2a886bd409..baedf18b5e 100644 --- a/wp-content/themes/twentytwelve/inc/custom-header.php +++ b/wp-content/themes/twentytwelve/inc/custom-header.php @@ -13,7 +13,7 @@ * Set up the WordPress core custom header arguments and settings. * * @uses add_theme_support() to register support for 3.4 and up. - * @uses twentytwelve_header_style() to style front-end. + * @uses twentytwelve_header_style() to style front end. * @uses twentytwelve_admin_header_style() to style wp-admin form. * @uses twentytwelve_admin_header_image() to add custom markup to wp-admin form. * diff --git a/wp-includes/cache.php b/wp-includes/cache.php index 565a6d997a..a1a6e6c705 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -247,8 +247,8 @@ function wp_cache_add_non_persistent_groups( $groups ) { /** * Reset internal cache keys and structures. * - * If the cache backend uses global blog or site IDs as part of its cache keys, - * this function instructs the backend to reset those keys and perform any cleanup + * If the cache back end uses global blog or site IDs as part of its cache keys, + * this function instructs the back end to reset those keys and perform any cleanup * since blog or site IDs have changed since cache init. * * This function is deprecated. Use wp_cache_switch_to_blog() instead of this diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 41adbee7b1..1ea9e15324 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -1084,7 +1084,7 @@ final class WP_Customize_Manager { * that have no corresponding setting created. * * This is a mechanism to "wake up" settings that have been dynamically created - * on the frontend and have been sent to WordPress in `$_POST['customized']`. When WP + * on the front end and have been sent to WordPress in `$_POST['customized']`. When WP * loads, the dynamically-created settings then will get created and previewed * even though they are not directly created statically with code. * @@ -1673,10 +1673,10 @@ final class WP_Customize_Manager { */ public function customize_pane_settings() { /* - * 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. Domain mapping plugins can allow other urls in these conditions * using the customize_allowed_urls filter. */ @@ -1752,7 +1752,7 @@ final class WP_Customize_Manager { } } - // Pass to frontend the Customizer construct being deeplinked. + // Pass to front end the Customizer construct being deeplinked. foreach ( $this->get_autofocus() as $type => $id ) { $can_autofocus = ( ( 'control' === $type && $this->get_control( $id ) && $this->get_control( $id )->check_capabilities() ) diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index 74ea29fe6f..7726121fd5 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -331,7 +331,7 @@ class WP { if ( $t->query_var && isset( $this->query_vars[$t->query_var] ) ) $this->query_vars[$t->query_var] = str_replace( ' ', '+', $this->query_vars[$t->query_var] ); - // Don't allow non-publicly queryable taxonomies to be queried from the front-end. + // Don't allow non-publicly queryable taxonomies to be queried from the front end. if ( ! is_admin() ) { foreach ( get_taxonomies( array( 'publicly_queryable' => false ), 'objects' ) as $taxonomy => $t ) { /* diff --git a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php index 5317c94c9a..0bbee67e2f 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php @@ -495,7 +495,7 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { // @todo We should probably re-apply some constraints imposed by $args. unset( $args['include'] ); - // Remove invalid items only in frontend. + // Remove invalid items only in front end. if ( ! is_admin() ) { $items = array_filter( $items, '_is_valid_nav_menu_item' ); } diff --git a/wp-includes/functions.wp-scripts.php b/wp-includes/functions.wp-scripts.php index cb459e2da1..f92c3a3719 100644 --- a/wp-includes/functions.wp-scripts.php +++ b/wp-includes/functions.wp-scripts.php @@ -220,7 +220,7 @@ function wp_deregister_script( $handle ) { ); if ( in_array( $handle, $no ) ) { - $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the frontend theme, use the %2$s hook.' ), + $message = sprintf( __( 'Do not deregister the %1$s script in the administration area. To target the front-end theme, use the %2$s hook.' ), "$handle", 'wp_enqueue_scripts' ); _doing_it_wrong( __FUNCTION__, $message, '3.6' ); return; diff --git a/wp-includes/js/customize-selective-refresh.js b/wp-includes/js/customize-selective-refresh.js index 151adf829a..5cf0799ed0 100644 --- a/wp-includes/js/customize-selective-refresh.js +++ b/wp-includes/js/customize-selective-refresh.js @@ -63,7 +63,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) { settings: [], primarySetting: null, containerInclusive: false, - fallbackRefresh: true // Note this needs to be false in a frontend editing context. + fallbackRefresh: true // Note this needs to be false in a front-end editing context. }, options.params || {} ); @@ -526,7 +526,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) { /** * Request full page refresh. * - * When selective refresh is embedded in the context of frontend editing, this request + * When selective refresh is embedded in the context of front-end editing, this request * must fail or else changes will be lost, unless transactions are implemented. * * @since 4.5.0 diff --git a/wp-includes/js/heartbeat.js b/wp-includes/js/heartbeat.js index 9f0258238e..9867ceb1d6 100644 --- a/wp-includes/js/heartbeat.js +++ b/wp-includes/js/heartbeat.js @@ -141,7 +141,7 @@ settings.mainInterval = settings.minimalInterval; } - // 'screenId' can be added from settings on the front-end where the JS global 'pagenow' is not set + // 'screenId' can be added from settings on the front end where the JS global 'pagenow' is not set if ( ! settings.screenId ) { settings.screenId = options.screenId || 'front'; } diff --git a/wp-includes/js/plupload/wp-plupload.js b/wp-includes/js/plupload/wp-plupload.js index 09a37ceff2..88f0170458 100644 --- a/wp-includes/js/plupload/wp-plupload.js +++ b/wp-includes/js/plupload/wp-plupload.js @@ -14,7 +14,7 @@ window.wp = window.wp || {}; * * The Plupload library provides cross-browser uploader UI integration. * This object bridges the Plupload API to integrate uploads into the - * WordPress back-end and the WordPress media experience. + * WordPress back end and the WordPress media experience. * * @param {object} options The options passed to the new plupload instance. * @param {object} options.container The id of uploader container. diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index d872123e61..806481497f 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -2926,7 +2926,7 @@ function get_shortcut_link() { } /** - * Retrieve the URL for the current site where the front-end is accessible. + * Retrieve the URL for the current site where the front end is accessible. * * Returns the 'home' option with the appropriate protocol, 'https' if * {@see is_ssl()} and 'http' otherwise. If `$scheme` is 'http' or 'https', @@ -2944,7 +2944,7 @@ function home_url( $path = '', $scheme = null ) { } /** - * Retrieve the URL for a given site where the front-end is accessible. + * Retrieve the URL for a given site where the front end is accessible. * * Returns the 'home' option with the appropriate protocol, 'https' if * {@see is_ssl()} and 'http' otherwise. If `$scheme` is 'http' or 'https', diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index e2f0a1a26b..0c81711768 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -675,7 +675,7 @@ function wp_get_nav_menu_items( $menu, $args = array() ) { $items = array_map( 'wp_setup_nav_menu_item', $items ); - if ( ! is_admin() ) { // Remove invalid items only in frontend + if ( ! is_admin() ) { // Remove invalid items only in front end $items = array_filter( $items, '_is_valid_nav_menu_item' ); } diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 5a3a526266..aec08866ae 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -824,7 +824,7 @@ function wp_set_auth_cookie( $user_id, $remember = false, $secure = '', $token = $secure = is_ssl(); } - // Frontend cookie is secure when the auth cookie is secure and the site's home URL is forced HTTPS. + // Front-end cookie is secure when the auth cookie is secure and the site's home URL is forced HTTPS. $secure_logged_in_cookie = $secure && 'https' === parse_url( get_option( 'home' ), PHP_URL_SCHEME ); /** diff --git a/wp-includes/post.php b/wp-includes/post.php index 17521bf31f..729e13d5f4 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -5037,7 +5037,7 @@ function wp_get_attachment_url( $post_id = 0 ) { $url = get_the_guid( $post->ID ); } - // On SSL front-end, URLs should be HTTPS. + // On SSL front end, URLs should be HTTPS. if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $GLOBALS['pagenow'] ) { $url = set_url_scheme( $url ); } diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index f55bf39e3c..29ff8a0efb 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -271,7 +271,7 @@ function is_taxonomy_hierarchical($taxonomy) { * @since 2.3.0 * @since 4.2.0 Introduced `show_in_quick_edit` argument. * @since 4.4.0 The `show_ui` argument is now enforced on the term editing screen. - * @since 4.4.0 The `public` argument now controls whether the taxonomy can be queried on the front-end. + * @since 4.4.0 The `public` argument now controls whether the taxonomy can be queried on the front end. * @since 4.5.0 Introduced `publicly_queryable` argument. * * @global array $wp_taxonomies Registered taxonomies. diff --git a/wp-includes/user.php b/wp-includes/user.php index c5c3bf2b89..758e751c25 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1357,7 +1357,7 @@ function validate_username( $username ) { * https. Default false. * @type string $user_registered Date the user registered. Format is 'Y-m-d H:i:s'. * @type string|bool $show_admin_bar_front Whether to display the Admin Bar for the user on the - * site's frontend. Default true. + * site's front end. Default true. * @type string $role User's role. * } * @return int|WP_Error The newly created user's ID or a WP_Error object if the user could not diff --git a/wp-includes/version.php b/wp-includes/version.php index 39994ea167..085bf2048a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36708'; +$wp_version = '4.5-beta1-36709'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index ace4571816..6c559c37e7 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -638,8 +638,8 @@ function dynamic_sidebar( $index = 1 ) { /** * Fires before widgets are rendered in a dynamic sidebar. * - * Note: The action also fires for empty sidebars, and on both the front-end - * and back-end, including the Inactive Widgets sidebar on the Widgets screen. + * Note: The action also fires for empty sidebars, and on both the front end + * and back end, including the Inactive Widgets sidebar on the Widgets screen. * * @since 3.9.0 * @@ -674,7 +674,7 @@ function dynamic_sidebar( $index = 1 ) { /** * Filter the parameters passed to a widget's display callback. * - * Note: The filter is evaluated on both the front-end and back-end, + * Note: The filter is evaluated on both the front end and back end, * including for the Inactive Widgets sidebar on the Widgets screen. * * @since 2.5.0 @@ -710,7 +710,7 @@ function dynamic_sidebar( $index = 1 ) { /** * Fires before a widget's display callback is called. * - * Note: The action fires on both the front-end and back-end, including + * Note: The action fires on both the front end and back end, including * for widgets in the Inactive Widgets sidebar on the Widgets screen. * * The action is not fired for empty sidebars. @@ -722,13 +722,13 @@ function dynamic_sidebar( $index = 1 ) { * * @type string $name Name of the widget. * @type string $id Widget ID. - * @type array|callable $callback When the hook is fired on the front-end, $callback is an array - * containing the widget object. Fired on the back-end, $callback + * @type array|callable $callback When the hook is fired on the front end, $callback is an array + * containing the widget object. Fired on the back end, $callback * is 'wp_widget_control', see $_callback. * @type array $params An associative array of multi-widget arguments. * @type string $classname CSS class applied to the widget container. * @type string $description The widget description. - * @type array $_callback When the hook is fired on the back-end, $_callback is populated + * @type array $_callback When the hook is fired on the back end, $_callback is populated * with an array containing the widget object, see $callback. * } */ @@ -743,8 +743,8 @@ function dynamic_sidebar( $index = 1 ) { /** * Fires after widgets are rendered in a dynamic sidebar. * - * Note: The action also fires for empty sidebars, and on both the front-end - * and back-end, including the Inactive Widgets sidebar on the Widgets screen. + * Note: The action also fires for empty sidebars, and on both the front end + * and back end, including the Inactive Widgets sidebar on the Widgets screen. * * @since 3.9.0 * @@ -757,8 +757,8 @@ function dynamic_sidebar( $index = 1 ) { /** * Filter whether a sidebar has widgets. * - * Note: The filter is also evaluated for empty sidebars, and on both the front-end - * and back-end, including the Inactive Widgets sidebar on the Widgets screen. + * Note: The filter is also evaluated for empty sidebars, and on both the front end + * and back end, including the Inactive Widgets sidebar on the Widgets screen. * * @since 3.9.0 * @@ -770,7 +770,7 @@ function dynamic_sidebar( $index = 1 ) { } /** - * Whether widget is displayed on the front-end. + * Whether widget is displayed on the front end. * * Either $callback or $id_base can be used * $id_base is the first argument when extending WP_Widget class