Plugin Directory

Changeset 981790


Ignore:
Timestamp:
09/05/2014 01:27:54 PM (12 years ago)
Author:
eroux
Message:

Verified WordPress 4.0 Compatible

Location:
badges/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • badges/trunk/DisplayBadges.php

    r897606 r981790  
    1616    //  constructor
    1717    //
    18     function DisplayBadges() {
     18    public function DisplayBadges() {
    1919        $widget_ops = array( 'classname' => 'widget_badges', 'description' => __( "Display a set of Badges (named XXFoo.inc) within the widget. The path is specified as an offset from the Blog's base URL." ));
    2020        $this->WP_Widget( 'badges', __( 'Badges', 'badges_widget' ), $widget_ops );
     
    3131    //  @see WP_Widget::widget
    3232    //
    33     function widget($args, $instance) {
     33    public function widget($args, $instance) {
    3434        extract( $args );
    3535        $title = apply_filters('widget_title', $instance['title']);
     
    8888    //  @see WP_Widget::update
    8989    //
    90     function update($new_instance, $old_instance) {
     90    public function update($new_instance, $old_instance) {
    9191        $instance = $old_instance;
    9292        $instance['title'] = strip_tags( $new_instance['title'] );
     
    101101    //  @see WP_Widget::form
    102102    //
    103     function form( $instance ) {
     103    public function form( $instance ) {
    104104        $instance = wp_parse_args( $instance, $this->widget_defaults );
    105105        extract( $instance );
  • badges/trunk/readme.txt

    r897598 r981790  
    33Tags: books, read, reading, admin, administration, jadb
    44Requires at least: 2.8
    5 Tested up to: 3.9
     5Tested up to: 4.0
    66Stable tag: trunk
    77
Note: See TracChangeset for help on using the changeset viewer.