Version Description
- Regen error fix
Download this release
Release Info
Developer | michaelbourne |
Plugin | Custom Icons for Elementor |
Version | 0.2.2 |
Comparing to | |
See all releases |
Code changes from version 0.2.1 to 0.2.2
- README.txt +5 -2
- elementor-custom-icons.php +3 -3
- includes/save.font.php +1 -1
- lang/ec-icons-en_US.mo +0 -0
- lang/ec-icons-en_US.po +0 -77
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: michaelbourne
|
|
3 |
Donate link: https://www.paypal.me/yycpro
|
4 |
Tags: elementor, icons, fontello, icon fonts
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 5.0.
|
7 |
-
Stable tag: 0.2.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -57,6 +57,9 @@ None yet
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
60 |
= 0.2.1 =
|
61 |
* Improve CSS Regen to fix changed URLs
|
62 |
* Tweak CSS display of icons to match native icons
|
3 |
Donate link: https://www.paypal.me/yycpro
|
4 |
Tags: elementor, icons, fontello, icon fonts
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 5.0.3
|
7 |
+
Stable tag: 0.2.2
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 0.2.2 =
|
61 |
+
* Regen error fix
|
62 |
+
|
63 |
= 0.2.1 =
|
64 |
* Improve CSS Regen to fix changed URLs
|
65 |
* Tweak CSS display of icons to match native icons
|
elementor-custom-icons.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Custom Icons for Elementor
|
4 |
Description: Add custom icon fonts to the built in Elementor controls
|
5 |
-
Version: 0.2.
|
6 |
Author: Michael Bourne
|
7 |
Author URI: https://michaelbourne.ca
|
8 |
License: GPL3
|
@@ -29,7 +29,7 @@ if( ! defined( 'ABSPATH' ) ) {
|
|
29 |
|
30 |
defined( 'ECIcons_ROOT' ) or define( 'ECIcons_ROOT', dirname( __FILE__ ) );
|
31 |
defined( 'ECIcons_URI' ) or define( 'ECIcons_URI', plugin_dir_url( __FILE__ ) );
|
32 |
-
defined( 'ECIcons_VERSION' ) or define( 'ECIcons_VERSION', '0.2.
|
33 |
defined( 'ECIcons_UPLOAD' ) or define( 'ECIcons_UPLOAD', 'elementor_icons_files' );
|
34 |
|
35 |
class ECIcons {
|
@@ -118,7 +118,7 @@ class ECIcons {
|
|
118 |
//$this->upload_dir_single = str_replace( get_option('siteurl'), '', $this->upload_url );
|
119 |
|
120 |
// set plugin version
|
121 |
-
$this->version = '0.2.
|
122 |
|
123 |
// SSL fix because WordPress core function wp_upload_dir() doesn't check protocol.
|
124 |
if ( is_ssl() ) $this->upload_url = str_replace( 'http://', 'https://', $this->upload_url );
|
2 |
/*
|
3 |
Plugin Name: Custom Icons for Elementor
|
4 |
Description: Add custom icon fonts to the built in Elementor controls
|
5 |
+
Version: 0.2.2
|
6 |
Author: Michael Bourne
|
7 |
Author URI: https://michaelbourne.ca
|
8 |
License: GPL3
|
29 |
|
30 |
defined( 'ECIcons_ROOT' ) or define( 'ECIcons_ROOT', dirname( __FILE__ ) );
|
31 |
defined( 'ECIcons_URI' ) or define( 'ECIcons_URI', plugin_dir_url( __FILE__ ) );
|
32 |
+
defined( 'ECIcons_VERSION' ) or define( 'ECIcons_VERSION', '0.2.2' );
|
33 |
defined( 'ECIcons_UPLOAD' ) or define( 'ECIcons_UPLOAD', 'elementor_icons_files' );
|
34 |
|
35 |
class ECIcons {
|
118 |
//$this->upload_dir_single = str_replace( get_option('siteurl'), '', $this->upload_url );
|
119 |
|
120 |
// set plugin version
|
121 |
+
$this->version = '0.2.2';
|
122 |
|
123 |
// SSL fix because WordPress core function wp_upload_dir() doesn't check protocol.
|
124 |
if ( is_ssl() ) $this->upload_url = str_replace( 'http://', 'https://', $this->upload_url );
|
includes/save.font.php
CHANGED
@@ -175,7 +175,7 @@ class SaveFont_ECIcons extends ECIcons {
|
|
175 |
/**
|
176 |
* Regenerate CSS file
|
177 |
*/
|
178 |
-
|
179 |
|
180 |
$options = get_option( 'ec_icons_fonts' );
|
181 |
|
175 |
/**
|
176 |
* Regenerate CSS file
|
177 |
*/
|
178 |
+
public function ec_icons_regenerate() {
|
179 |
|
180 |
$options = get_option( 'ec_icons_fonts' );
|
181 |
|
lang/ec-icons-en_US.mo
DELETED
Binary file
|
lang/ec-icons-en_US.po
DELETED
@@ -1,77 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Elementor Custom Icons\n"
|
4 |
-
"POT-Creation-Date: 2018-08-02 12:32-0600\n"
|
5 |
-
"PO-Revision-Date: 2018-08-02 12:33-0600\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: \n"
|
8 |
-
"Language: en_US\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.0.9\n"
|
13 |
-
"X-Poedit-Basepath: ..\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
-
"X-Poedit-KeywordsList: esc_html_e\n"
|
16 |
-
"X-Poedit-SearchPath-0: .\n"
|
17 |
-
"X-Poedit-SearchPath-1: includes\n"
|
18 |
-
|
19 |
-
#: includes/template.options.page.php:23
|
20 |
-
msgid "Elementor Custom Icons"
|
21 |
-
msgstr ""
|
22 |
-
|
23 |
-
#: includes/template.options.page.php:34
|
24 |
-
msgid "Create a new Icon Font"
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
#: includes/template.options.page.php:63
|
28 |
-
msgid "Upload your ZIP file here"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: includes/template.options.page.php:67
|
32 |
-
msgid ""
|
33 |
-
"After selecting your icons, give your font a unique name and hit download. "
|
34 |
-
"Then, upload that ZIP file here."
|
35 |
-
msgstr ""
|
36 |
-
|
37 |
-
#: includes/template.options.page.php:77
|
38 |
-
msgid "Use Your Icons"
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: includes/template.options.page.php:111
|
42 |
-
msgid "Upload Fontello Zip"
|
43 |
-
msgstr ""
|
44 |
-
|
45 |
-
#: includes/template.options.page.php:120
|
46 |
-
msgid "Drag & Drop"
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#: includes/template.options.page.php:123
|
50 |
-
msgid "your Fontello .zip download here, or"
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#: includes/template.options.page.php:126
|
54 |
-
msgid "click here to browse"
|
55 |
-
msgstr ""
|
56 |
-
|
57 |
-
#: includes/template.options.page.php:153
|
58 |
-
msgid "Uploaded Fonts"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: includes/template.options.page.php:227
|
62 |
-
msgid "Regenerate CSS"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: includes/template.options.page.php:231
|
66 |
-
msgid ""
|
67 |
-
"Sometimes you may need to regenerate the CSS file for your custom icons, "
|
68 |
-
"such as when you change your WordPress domain or update this plugin."
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: includes/template.options.page.php:233
|
72 |
-
msgid "Regenerate"
|
73 |
-
msgstr ""
|
74 |
-
|
75 |
-
#: includes/template.options.page.php:277
|
76 |
-
msgid "Delete"
|
77 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|