Make WordPress Core


Ignore:
Timestamp:
11/17/2019 07:41:49 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages.

Props garrett-eclipse.
Fixes #48676.

File:
1 edited

Legend:

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

    r46627 r46739  
    102102         * Echoes the widget content.
    103103         *
    104          * Sub-classes should over-ride this function to generate their widget code.
     104         * Subclasses should override this function to generate their widget code.
    105105         *
    106106         * @since 2.8.0
     
    111111         */
    112112        public function widget( $args, $instance ) {
    113                 die( 'function WP_Widget::widget() must be over-ridden in a sub-class.' );
     113                die( 'function WP_Widget::widget() must be overridden in a subclass.' );
    114114        }
    115115
Note: See TracChangeset for help on using the changeset viewer.