Plugin Directory

Changeset 1187387


Ignore:
Timestamp:
06/25/2015 09:07:04 AM (11 years ago)
Author:
iammathews
Message:

Fixed first link bug. Updated to Font Awesome 4.3.0.

Location:
icon-links-widget
Files:
65 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • icon-links-widget/trunk/ilw.php

    r1162171 r1187387  
    44 * Plugin URI: https://wordpress.org/plugins/icon-links-widget/
    55 * Description: A simple icon links widget, allowing you to add FontAwesome icons to any widget area and link them anywhere.
    6  * Version: 2.1
     6 * Version: 2.5
    77 * Author: Yusri Mathews
    88 * Author URI: http://yusrimathews.co.za/
     
    5454    // Widget Display
    5555    public function widget( $args, $instance ){
    56         wp_enqueue_style( 'ilw_fa_style', plugins_url( 'vendor/font-awesome/4.2.0/css/font-awesome.min.css', __FILE__ ) );
     56        wp_enqueue_style( 'ilw_fa_style', plugins_url( 'vendor/font-awesome/css/font-awesome.min.css', __FILE__ ) );
    5757        wp_enqueue_style( 'ilw_widget_style', plugins_url( 'css/public.min.css', __FILE__ ), array( 'ilw_fa_style' ) );
    5858
     
    125125        $fieldcount = count( $fields );
    126126        $arraykey = array_pop( array_keys( $fields ) );
    127         if( !empty( $fields[ $arraykey ]['icon'] ) ){
     127        if( $fieldcount == 0 || !empty( $fields[ $arraykey ]['icon'] ) ){
    128128            $fields[ $fieldcount ]['icon'] = '';
    129129            $fields[ $fieldcount ]['link'] = '';
  • icon-links-widget/trunk/readme.txt

    r1162171 r1187387  
    6262== Changelog ==
    6363
     64= 2.5 =
     65* Fixed first link bug.
     66* Updated to Font Awesome 4.3.0.
     67
    6468= 2.1 =
    6569* Updated notices logic.
     
    8690== Upgrade Notice ==
    8791
     92= 2.5 =
     93This includes the latest Font Awesome version, as well as fixing an important bug with the first link.
     94
    8895= 1.0 =
    8996This is the official release, based on feedback I have also enhanced the usability quite a bit.
Note: See TracChangeset for help on using the changeset viewer.