Changeset 1445483
- Timestamp:
- 06/29/2016 06:41:42 AM (10 years ago)
- File:
-
- 1 edited
-
wp-wadvisor/trunk/widget-wadvisor.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-wadvisor/trunk/widget-wadvisor.php
r1445052 r1445483 30 30 31 31 32 33 32 /** 34 33 * Adds Wadvisor_Page_Widget widget. … … 42 41 */ 43 42 function __construct() { 44 45 46 43 47 44 parent::__construct( … … 59 56 // Add hook for front-end <head></head> 60 57 add_action('wp_head', 'wadvisor_js'); 61 62 63 58 } 64 59 … … 117 112 118 113 if ( !empty($title) ) { 119 echo $args['before_title'] . apply_filters( 'widget_title', $title). $args['after_title'];114 echo $args['before_title'] . $title . $args['after_title']; 120 115 } 121 116 … … 198 193 <p> 199 194 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'wp-wadvisor'); ?></label> 200 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" 195 <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>"> 201 196 </p> 202 197 <p>
Note: See TracChangeset
for help on using the changeset viewer.