mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 01:00:04 +00:00
Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages.
Props garrett-eclipse. Fixes #48676. git-svn-id: https://develop.svn.wordpress.org/trunk@46739 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -101,7 +101,7 @@ class WP_Widget {
|
||||
/**
|
||||
* Echoes the widget content.
|
||||
*
|
||||
* Sub-classes should over-ride this function to generate their widget code.
|
||||
* Subclasses should override this function to generate their widget code.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
@@ -110,7 +110,7 @@ class WP_Widget {
|
||||
* @param array $instance The settings for the particular instance of the widget.
|
||||
*/
|
||||
public function widget( $args, $instance ) {
|
||||
die( 'function WP_Widget::widget() must be over-ridden in a sub-class.' );
|
||||
die( 'function WP_Widget::widget() must be overridden in a subclass.' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user