Plugin Directory

Changeset 1834185


Ignore:
Timestamp:
03/06/2018 06:07:51 AM (8 years ago)
Author:
maxfoundry
Message:

Version 1.1 - fixed

Location:
share-button
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • share-button/tags/1.1/classes/class-collection.php

    r1834179 r1834185  
    608608            return;
    609609
    610         MB()->load_library('fontawesome');  // always load lib since change is about 100% this includes FA.
    611 
     610
     611        if (method_exists(MB(), 'load_library'))
     612        {
     613            MB()->load_library('fontawesome');  // always load lib since change is about 100% this includes FA.
     614        }
     615       
    612616        maxUtils::startTime('collection-display-' . self::$count);
    613617
  • share-button/tags/1.1/readme.txt

    r1834184 r1834185  
    55Tested up to: 4.9.4
    66Requires PHP: 5.3
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPL V2
    99
  • share-button/trunk/classes/class-collection.php

    r1834179 r1834185  
    608608            return;
    609609
    610         MB()->load_library('fontawesome');  // always load lib since change is about 100% this includes FA.
    611 
     610
     611        if (method_exists(MB(), 'load_library'))
     612        {
     613            MB()->load_library('fontawesome');  // always load lib since change is about 100% this includes FA.
     614        }
     615       
    612616        maxUtils::startTime('collection-display-' . self::$count);
    613617
Note: See TracChangeset for help on using the changeset viewer.