Menu Icons by ThemeIsle - Version 0.11.2

Version Description

  • 2018-03-05
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Menu Icons by ThemeIsle
Version 0.11.2
Comparing to
See all releases

Code changes from version 0.11.1 to 0.11.2

CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
 
2
- ### v0.11.1 - 2018-02-26
3
  **Changes:**
4
-
 
5
  ### v0.11.1 - 2018-02-24
6
  **Changes:**
7
  * Add recommendation boxes in the menu icon popup.
1
 
2
+ ### v0.11.2 - 2018-03-05
3
  **Changes:**
4
+ * Improve popup sidebar layout.
5
+
6
  ### v0.11.1 - 2018-02-24
7
  **Changes:**
8
  * Add recommendation boxes in the menu icon popup.
css/admin.css CHANGED
@@ -170,4 +170,16 @@
170
 
171
  #failure{
172
  display: none;
 
 
 
 
 
 
 
 
 
 
 
 
173
  }
170
 
171
  #failure{
172
  display: none;
173
+ }
174
+
175
+ .attachments-browser.iconpicker-fonts-browser .media-toolbar {
176
+ width: 62%;
177
+ }
178
+
179
+ .attachments-browser.iconpicker-fonts-browser .attachments.iconpicker-items {
180
+ width: 64%;
181
+ }
182
+
183
+ .attachments-browser.iconpicker-fonts-browser .media-sidebar {
184
+ width: 32%;
185
  }
css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .menu-icons-settings ._extensions ul a,.menu-icons-wrap a,.mi-preview.menu-item a{text-decoration:none}.menu-icons-wrap{margin-top:5px;margin-bottom:5px}.menu-icons-wrap p{min-height:2.2em;margin-bottom:0}.menu-icons-wrap p a,.menu-icons-wrap p label{display:inline-block;height:100%;line-height:2.2em;vertical-align:middle}.menu-icons-wrap a{cursor:pointer}.menu-icons-wrap .submitdelete{display:inline-block;float:none;height:100%;margin:0;padding:0;line-height:2.2em}.menu-icons-wrap .hidden{display:none}.menu-icons-wrap ._icon{width:auto;height:auto;margin:-.1em .2em 0;color:#666;font-size:1.9em;vertical-align:middle}.menu-icons-wrap img._icon{max-width:24px}.menu-icons-wrap a._select:focus ._icon,.menu-icons-wrap a._select:hover ._icon{color:#101010}.mi-preview.menu-item{min-height:0;font-size:1.2em}.mi-preview.menu-item a>*{display:inline-block;height:100%;line-height:100%;vertical-align:middle}.mi-preview.menu-item ._icon{margin-right:.25em}.rtl .mi-preview.menu-item ._icon{margin-right:0}.media-sidebar .mi-settings .setting input[type=number],.menu-icons-settings input[type=number]{float:none;width:auto;max-width:5em}.media-sidebar .mi-settings .setting input,.media-sidebar .mi-settings span.description{float:none}.menu-icons-settings ._field{padding:.5em 0}.menu-icons-settings ._field ._main{display:block;margin-bottom:.25em;font-weight:700}#menu-settings-column .menu-icons-settings .inside{margin-top:0}.menu-icons-settings .taxonomydiv .tabs-panel{max-height:none;margin-bottom:.75em;padding-top:.3em;padding-bottom:.4em}.js .menu-icons-settings .taxonomydiv .tabs-panel{margin-bottom:0}.menu-icons-settings h4{margin:0}.menu-icons-settings ._menu span.description{margin-left:.5em}.menu-icons-settings ._extensions ul{margin-top:.75em;padding-left:1.5em;list-style:disc}.menu-icons-settings .spinner{float:none;margin:0 5px 0 0;vertical-align:middle}.attachment .svg-icon img{max-width:100%}.menu-icons-upgrade-hestia{width:90%;margin-top:0;padding:15px}#menu-icons-sidebar div.new-card{width:auto;min-width:initial;max-width:initial;margin:10px auto}.menu-icons-subscribe{padding:15px}.menu-icons-submit-mail{width:auto}#failure,#success{display:none}
1
+ .menu-icons-settings ._extensions ul a,.menu-icons-wrap a,.mi-preview.menu-item a{text-decoration:none}.menu-icons-wrap{margin-top:5px;margin-bottom:5px}.menu-icons-wrap p{min-height:2.2em;margin-bottom:0}.menu-icons-wrap p a,.menu-icons-wrap p label{display:inline-block;height:100%;line-height:2.2em;vertical-align:middle}.menu-icons-wrap a{cursor:pointer}.menu-icons-wrap .submitdelete{display:inline-block;float:none;height:100%;margin:0;padding:0;line-height:2.2em}.menu-icons-wrap .hidden{display:none}.menu-icons-wrap ._icon{width:auto;height:auto;margin:-.1em .2em 0;color:#666;font-size:1.9em;vertical-align:middle}.menu-icons-wrap img._icon{max-width:24px}.menu-icons-wrap a._select:focus ._icon,.menu-icons-wrap a._select:hover ._icon{color:#101010}.mi-preview.menu-item{min-height:0;font-size:1.2em}.mi-preview.menu-item a>*{display:inline-block;height:100%;line-height:100%;vertical-align:middle}.mi-preview.menu-item ._icon{margin-right:.25em}.rtl .mi-preview.menu-item ._icon{margin-right:0}.media-sidebar .mi-settings .setting input[type=number],.menu-icons-settings input[type=number]{float:none;width:auto;max-width:5em}.media-sidebar .mi-settings .setting input,.media-sidebar .mi-settings span.description{float:none}.menu-icons-settings ._field{padding:.5em 0}.menu-icons-settings ._field ._main{display:block;margin-bottom:.25em;font-weight:700}#menu-settings-column .menu-icons-settings .inside{margin-top:0}.menu-icons-settings .taxonomydiv .tabs-panel{max-height:none;margin-bottom:.75em;padding-top:.3em;padding-bottom:.4em}.js .menu-icons-settings .taxonomydiv .tabs-panel{margin-bottom:0}.menu-icons-settings h4{margin:0}.menu-icons-settings ._menu span.description{margin-left:.5em}.menu-icons-settings ._extensions ul{margin-top:.75em;padding-left:1.5em;list-style:disc}.menu-icons-settings .spinner{float:none;margin:0 5px 0 0;vertical-align:middle}.attachment .svg-icon img{max-width:100%}.menu-icons-upgrade-hestia{width:90%;margin-top:0;padding:15px}#menu-icons-sidebar div.new-card{width:auto;min-width:initial;max-width:initial;margin:10px auto}.menu-icons-subscribe{padding:15px}.menu-icons-submit-mail{width:auto}#failure,#success{display:none}.attachments-browser.iconpicker-fonts-browser .media-toolbar{width:62%}.attachments-browser.iconpicker-fonts-browser .attachments.iconpicker-items{width:64%}.attachments-browser.iconpicker-fonts-browser .media-sidebar{width:32%}
includes/settings.php CHANGED
@@ -735,34 +735,34 @@ final class Menu_Icons_Settings {
735
  update_option( 'menu_icons_subscribe', true );
736
  }
737
  }
738
- $email_output = '<div id="formdata"><p>' . esc_html__( 'Ready to learn how to reduce your website loading times by half? Come and join the 1st lesson here!', 'menu-icons' ) . ' </p><form class="menu-icons-submit-mail" method="post"><input name="menu_icons_mail" type="email" value="' . get_option( 'admin_email' ) . '" /><input id="ebutton" class="button" type="submit" value="Submit"></form></div>';
 
 
739
  $email_output .= '<p id="success">' . esc_html__( 'Thank you for subscribing! You have been added to the mailing list and will receive the next email information in the coming weeks. If you ever wish to unsubscribe, simply use the "Unsubscribe" link included in each newsletter.', 'menu-icons' ) . '</p>';
740
  $email_output .= '<p id="failiure">' . esc_html__( 'Unable to Subscribe.', 'menu-icons' ) . '</p>';
741
- $box_data .= '<div class="menu-icons-subscribe postbox new-card">';
742
- $box_data .= '<h3 class="title">' . esc_html__( 'Get Our Free Email Course', 'menu-icons' ) . '</h3>';
743
- $box_data .= $email_output;
744
- $box_data .= '</div>';
745
- $box_data .= '</div>';
746
- $box_data .= '<script>';
747
- $box_data .= '$( \'#failiure\' ).hide();';
748
- $box_data .= '$( \'#success\' ).hide();';
749
- $box_data .= '$( \'form.menu-icons-submit-mail\' ).submit(function(event) {';
750
- $box_data .= 'event.preventDefault();';
751
- $box_data .= '$.ajax({';
752
- $box_data .= 'type: \'POST\',';
753
- $box_data .= 'data: $( \'form.menu-icons-submit-mail\' ).serialize(),';
754
- $box_data .= 'success: function(result) {';
755
- $box_data .= '$( \'#formdata\' ).hide();';
756
- $box_data .= '$( \'#success\' ).show();';
757
- $box_data .= '},';
758
- $box_data .= 'error: function(result) { $( \'#failiure\' ).show(); }';
759
- $box_data .= '}); });';
760
- $box_data .= '</script>';
761
  $shown = (bool) get_option( 'menu_icons_subscribe', false );
762
 
763
  if ( $shown === true ) {
764
- $box_data = '';
765
  }
 
766
  $js_data = apply_filters(
767
  'menu_icons_settings_js_data',
768
  array(
@@ -774,14 +774,14 @@ final class Menu_Icons_Settings {
774
  'all' => __( 'All', 'menu-icons' ),
775
  'preview' => __( 'Preview', 'menu-icons' ),
776
  'settingsInfo' => sprintf(
777
- '<p>' . esc_html__( 'Please note that the actual look of the icons on the front-end will also be affected by the style of your active theme. You can add your own CSS using %1$s or a plugin such as %2$s if you need to override it. %3$s', 'menu-icons' ) . '</p>',
 
778
  sprintf(
779
  '<a href="%s">%s</a>',
780
  esc_url( $customizer_url ),
781
  esc_html__( 'the customizer', 'menu-icons' )
782
  ),
783
- '<a target="_blank" href="https://wordpress.org/plugins/advanced-css-editor/">Advanced CSS Editor</a>',
784
- $box_data
785
  ),
786
  ),
787
  'settingsFields' => self::get_settings_fields(),
735
  update_option( 'menu_icons_subscribe', true );
736
  }
737
  }
738
+ $email_output = '<div class="menu-icons-subscribe postbox new-card">';
739
+ $email_output .= '<h3 class="title">' . esc_html__( 'Get Our Free Email Course', 'menu-icons' ) . '</h3>';
740
+ $email_output .= '<div id="formdata"><p>' . esc_html__( 'Ready to learn how to reduce your website loading times by half? Come and join the 1st lesson here!', 'menu-icons' ) . ' </p><form class="menu-icons-submit-mail" method="post"><input name="menu_icons_mail" type="email" value="' . get_option( 'admin_email' ) . '" /><input id="ebutton" class="button" type="submit" value="Submit"></form></div>';
741
  $email_output .= '<p id="success">' . esc_html__( 'Thank you for subscribing! You have been added to the mailing list and will receive the next email information in the coming weeks. If you ever wish to unsubscribe, simply use the "Unsubscribe" link included in each newsletter.', 'menu-icons' ) . '</p>';
742
  $email_output .= '<p id="failiure">' . esc_html__( 'Unable to Subscribe.', 'menu-icons' ) . '</p>';
743
+ $email_output .= '</div>';
744
+ $email_output .= '</div>';
745
+ $email_output .= '<script>';
746
+ $email_output .= '$( \'#failiure\' ).hide();';
747
+ $email_output .= '$( \'#success\' ).hide();';
748
+ $email_output .= '$( \'form.menu-icons-submit-mail\' ).submit(function(event) {';
749
+ $email_output .= 'event.preventDefault();';
750
+ $email_output .= '$.ajax({';
751
+ $email_output .= 'type: \'POST\',';
752
+ $email_output .= 'data: $( \'form.menu-icons-submit-mail\' ).serialize(),';
753
+ $email_output .= 'success: function(result) {';
754
+ $email_output .= '$( \'#formdata\' ).hide();';
755
+ $email_output .= '$( \'#success\' ).show();';
756
+ $email_output .= '},';
757
+ $email_output .= 'error: function(result) { $( \'#failiure\' ).show(); }';
758
+ $email_output .= '}); });';
759
+ $email_output .= '</script>';
 
 
 
760
  $shown = (bool) get_option( 'menu_icons_subscribe', false );
761
 
762
  if ( $shown === true ) {
763
+ $email_output = '';
764
  }
765
+ $box_data .= $email_output;
766
  $js_data = apply_filters(
767
  'menu_icons_settings_js_data',
768
  array(
774
  'all' => __( 'All', 'menu-icons' ),
775
  'preview' => __( 'Preview', 'menu-icons' ),
776
  'settingsInfo' => sprintf(
777
+ '<div> %1$s <p>' . esc_html__( 'Please note that the actual look of the icons on the front-end will also be affected by the style of your active theme. You can add your own CSS using %2$s or a plugin such as %3$s if you need to override it.', 'menu-icons' ) . '</p></div>',
778
+ $box_data,
779
  sprintf(
780
  '<a href="%s">%s</a>',
781
  esc_url( $customizer_url ),
782
  esc_html__( 'the customizer', 'menu-icons' )
783
  ),
784
+ '<a target="_blank" href="https://wordpress.org/plugins/advanced-css-editor/">Advanced CSS Editor</a>'
 
785
  ),
786
  ),
787
  'settingsFields' => self::get_settings_fields(),
menu-icons.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin name: Menu Icons
12
  * Plugin URI: https://github.com/Codeinwp/wp-menu-icons
13
  * Description: Spice up your navigation menus with pretty icons, easily.
14
- * Version: 0.11.1
15
  * Author: ThemeIsle
16
  * Author URI: https://themeisle.com
17
  * License: GPLv2
@@ -27,7 +27,7 @@
27
  */
28
  final class Menu_Icons {
29
 
30
- const VERSION = '0.11.1';
31
 
32
  /**
33
  * Holds plugin data
11
  * Plugin name: Menu Icons
12
  * Plugin URI: https://github.com/Codeinwp/wp-menu-icons
13
  * Description: Spice up your navigation menus with pretty icons, easily.
14
+ * Version: 0.11.2
15
  * Author: ThemeIsle
16
  * Author URI: https://themeisle.com
17
  * License: GPLv2
27
  */
28
  final class Menu_Icons {
29
 
30
+ const VERSION = '0.11.2';
31
 
32
  /**
33
  * Holds plugin data
readme.md CHANGED
@@ -224,6 +224,11 @@ Add this block of code to your [mu-plugin file](http://codex.wordpress.org/Must_
224
  Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
225
 
226
  ## Changelog ##
 
 
 
 
 
227
  ### 0.11.1 - 2018-02-24 ###
228
 
229
  * Add recommendation boxes in the menu icon popup.
224
  Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
225
 
226
  ## Changelog ##
227
+ ### 0.11.2 - 2018-03-05 ###
228
+
229
+ * Improve popup sidebar layout.
230
+
231
+
232
  ### 0.11.1 - 2018-02-24 ###
233
 
234
  * Add recommendation boxes in the menu icon popup.
readme.txt CHANGED
@@ -224,6 +224,11 @@ add_filter( 'menu_icons_menu_settings', 'my_menu_icons_menu_settings', 10, 2 );
224
  Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
225
 
226
  == Changelog ==
 
 
 
 
 
227
  = 0.11.1 - 2018-02-24 =
228
 
229
  * Add recommendation boxes in the menu icon popup.
224
  Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
225
 
226
  == Changelog ==
227
+ = 0.11.2 - 2018-03-05 =
228
+
229
+ * Improve popup sidebar layout.
230
+
231
+
232
  = 0.11.1 - 2018-02-24 =
233
 
234
  * Add recommendation boxes in the menu icon popup.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit731a06ad9776e6501aaa4bfd3fb542bf::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitbaffda83ee24a5c0baf5adf89e1821f0
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequirebaffda83ee24a5c0baf5adf89e1821f0($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequirebaffda83ee24a5c0baf5adf89e1821f0($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit731a06ad9776e6501aaa4bfd3fb542bf
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit731a06ad9776e6501aaa4bfd3fb542bf', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit731a06ad9776e6501aaa4bfd3fb542bf', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire731a06ad9776e6501aaa4bfd3fb542bf($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire731a06ad9776e6501aaa4bfd3fb542bf($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;