Plugin Directory

Changeset 2047166


Ignore:
Timestamp:
03/09/2019 12:48:57 PM (7 years ago)
Author:
warriorrocker
Message:

Add fix for svg image loading in admin options

Location:
xo-for-angular/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • xo-for-angular/trunk/Includes/Options/Options.class.php

    r2042983 r2047166  
    144144     */
    145145    public function GetImageAsSvgBase64($file) {
     146        $svgFile = $this->Xo->GetFile($file);
     147        if (!$svgFile)
     148            return false;
     149
    146150        ob_start();
    147         $this->Xo->RequireOnce($file, false);
     151        echo file_get_contents($svgFile);
    148152        $data = ob_get_clean();
    149153
  • xo-for-angular/trunk/readme.txt

    r2044909 r2047166  
    33Tags: angular, angular cli, angular cms, single page application, routes, dynamic routing, controllers, resolvers, annotations
    44Requires at least: 4.9
    5 Tested up to: 5.0.3
    6 Stable tag: 1.0.1
     5Tested up to: 5.1
     6Stable tag: 1.0.2
    77Requires PHP: 7.0.0
    88License: GPLv2 or later
     
    3434== Changelog ==
    3535
     36= 1.0.2 =
     37* Fix issue with SVG icon loading in admin options
     38
    3639= 1.0.1 =
    3740* Added link target to menu item output
  • xo-for-angular/trunk/xo-angular.php

    r2044909 r2047166  
    44Plugin URI: https://angularxo.io
    55Description: Angular theme development in WordPress with templates and a powerful API.
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Travis Brown
    88Author URI: http://www.xodustech.com
Note: See TracChangeset for help on using the changeset viewer.