Changeset 37648 for trunk/src/wp-includes/class-wp-widget.php
- Timestamp:
- 06/06/2016 09:50:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-widget.php
r37492 r37648 17 17 * @since 2.8.0 18 18 * @since 4.4.0 Moved to its own file from wp-includes/widgets.php 19 * @abstract20 19 */ 21 abstractclass WP_Widget {20 class WP_Widget { 22 21 23 22 /** … … 98 97 * @since 2.8.0 99 98 * @access public 100 * @abstract101 99 * 102 100 * @param array $args Display arguments including 'before_title', 'after_title', … … 104 102 * @param array $instance The settings for the particular instance of the widget. 105 103 */ 106 abstract public function widget( $args, $instance ); 104 public function widget( $args, $instance ) { 105 die('function WP_Widget::widget() must be over-ridden in a sub-class.'); 106 } 107 107 108 108 /**
Note: See TracChangeset
for help on using the changeset viewer.