Plugin Directory

Changeset 1445483


Ignore:
Timestamp:
06/29/2016 06:41:42 AM (10 years ago)
Author:
wadvisor
Message:

Correction premier sauvegarde marche pas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-wadvisor/trunk/widget-wadvisor.php

    r1445052 r1445483  
    3030
    3131
    32 
    3332/**
    3433 * Adds Wadvisor_Page_Widget widget.
     
    4241     */
    4342    function __construct() {
    44 
    45 
    4643
    4744        parent::__construct(
     
    5956        // Add hook for front-end <head></head>
    6057        add_action('wp_head', 'wadvisor_js');
    61 
    62 
    6358    }
    6459
     
    117112
    118113        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'];
    120115        }
    121116
     
    198193        <p>
    199194            <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 ); ?>">
    201196        </p>
    202197        <p>
Note: See TracChangeset for help on using the changeset viewer.