Plugin Directory

Changeset 1325032


Ignore:
Timestamp:
01/10/2016 01:29:30 AM (10 years ago)
Author:
Dev49.net
Message:

Version 2.2.3:

  • Fixed possible PHP error on activation due to anonymous function used
Location:
wp-first-letter-avatar
Files:
530 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-first-letter-avatar/trunk/readme.txt

    r1315308 r1325032  
    11=== WP First Letter Avatar ===
    22Plugin Name: WP First Letter Avatar
    3 Version: 2.2.2
     3Version: 2.2.3
    44Plugin URI: http://dev49.net
    55Contributors: Dev49.net, DanielAGW
    66Tags: avatars, comments, custom avatar, discussion, change avatar, avatar, custom wordpress avatar, first letter avatar, comment change avatar, wordpress new avatar, avatar, initial avatar
    77Requires at least: 4.0
    8 Tested up to: 4.4
     8Tested up to: 4.4.1
    99Stable tag: trunk
    1010Author: Dev49.net
     
    8181
    8282== Changelog ==
     83
     84= 2.2.3 =
     85* Fixed possible PHP error on activation due to anonymous function used
    8386
    8487= 2.2.2 =
     
    161164== Upgrade Notice ==
    162165
     166= 2.2.3 =
     167Fixed possible PHP error on activation. Update not necessary.
     168
    163169= 2.2.2 =
    164170Added support for Arabic letters. Update not necessary.
  • wp-first-letter-avatar/trunk/wp-first-letter-avatar.php

    r1315308 r1325032  
    66 * Contributors: Dev49.net, DanielAGW
    77 * Description: Set custom avatars for users with no Gravatar. The avatar will be the first (or any other) letter of the user's name on a colorful background.
    8  * Version: 2.2.2
     8 * Version: 2.2.3
    99 * Author: Dev49.net
    1010 * Author URI: http://dev49.net
    1111 * Tags: avatars, comments, custom avatar, discussion, change avatar, avatar, custom wordpress avatar, first letter avatar, comment change avatar, wordpress new avatar, avatar, initial avatar
    1212 * Requires at least: 4.0
    13  * Tested up to: 4.4
     13 * Tested up to: 4.4.1
    1414 * Stable tag: trunk
    1515 * License: GPLv2 or later
     
    9494
    9595        // add stylesheets/scripts:
    96         add_action('wp_enqueue_scripts', function(){
    97             wp_enqueue_style('wpfla-style-handle', plugins_url('css/style.css', __FILE__));
    98         });
     96        add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'));
    9997
    10098        // add filter to get_avatar:
     
    113111            }
    114112        }
     113
     114    }
     115
     116
     117
     118    /*
     119     * Add scripts and stylesheets
     120     */
     121    public function enqueue_scripts(){
     122
     123        wp_enqueue_style('wpfla-style-handle', plugins_url('css/style.css', __FILE__));
    115124
    116125    }
Note: See TracChangeset for help on using the changeset viewer.