Make WordPress Core


Ignore:
Timestamp:
02/25/2016 12:52:33 PM (8 years ago)
Author:
ocean90
Message:

Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective).

Props obrienlabs, thewanderingbrit.
Fixes #34887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r36667 r36709  
    639639     * Fires before widgets are rendered in a dynamic sidebar.
    640640     *
    641      * Note: The action also fires for empty sidebars, and on both the front-end
    642      * and back-end, including the Inactive Widgets sidebar on the Widgets screen.
     641     * Note: The action also fires for empty sidebars, and on both the front end
     642     * and back end, including the Inactive Widgets sidebar on the Widgets screen.
    643643     *
    644644     * @since 3.9.0
     
    675675         * Filter the parameters passed to a widget's display callback.
    676676         *
    677          * Note: The filter is evaluated on both the front-end and back-end,
     677         * Note: The filter is evaluated on both the front end and back end,
    678678         * including for the Inactive Widgets sidebar on the Widgets screen.
    679679         *
     
    711711         * Fires before a widget's display callback is called.
    712712         *
    713          * Note: The action fires on both the front-end and back-end, including
     713         * Note: The action fires on both the front end and back end, including
    714714         * for widgets in the Inactive Widgets sidebar on the Widgets screen.
    715715         *
     
    723723         *     @type string $name                Name of the widget.
    724724         *     @type string $id                  Widget ID.
    725          *     @type array|callable $callback    When the hook is fired on the front-end, $callback is an array
    726          *                                       containing the widget object. Fired on the back-end, $callback
     725         *     @type array|callable $callback    When the hook is fired on the front end, $callback is an array
     726         *                                       containing the widget object. Fired on the back end, $callback
    727727         *                                       is 'wp_widget_control', see $_callback.
    728728         *     @type array          $params      An associative array of multi-widget arguments.
    729729         *     @type string         $classname   CSS class applied to the widget container.
    730730         *     @type string         $description The widget description.
    731          *     @type array          $_callback   When the hook is fired on the back-end, $_callback is populated
     731         *     @type array          $_callback   When the hook is fired on the back end, $_callback is populated
    732732         *                                       with an array containing the widget object, see $callback.
    733733         * }
     
    744744     * Fires after widgets are rendered in a dynamic sidebar.
    745745     *
    746      * Note: The action also fires for empty sidebars, and on both the front-end
    747      * and back-end, including the Inactive Widgets sidebar on the Widgets screen.
     746     * Note: The action also fires for empty sidebars, and on both the front end
     747     * and back end, including the Inactive Widgets sidebar on the Widgets screen.
    748748     *
    749749     * @since 3.9.0
     
    758758     * Filter whether a sidebar has widgets.
    759759     *
    760      * Note: The filter is also evaluated for empty sidebars, and on both the front-end
    761      * and back-end, including the Inactive Widgets sidebar on the Widgets screen.
     760     * Note: The filter is also evaluated for empty sidebars, and on both the front end
     761     * and back end, including the Inactive Widgets sidebar on the Widgets screen.
    762762     *
    763763     * @since 3.9.0
     
    771771
    772772/**
    773  * Whether widget is displayed on the front-end.
     773 * Whether widget is displayed on the front end.
    774774 *
    775775 * Either $callback or $id_base can be used
Note: See TracChangeset for help on using the changeset viewer.