Plugin Directory

Changeset 2339657


Ignore:
Timestamp:
07/13/2020 11:51:44 AM (5 years ago)
Author:
codeinwp
Message:

Release v0.12.3

Location:
menu-icons
Files:
216 added
19 edited

Legend:

Unmodified
Added
Removed
  • menu-icons/trunk/CHANGELOG.md

    r2293046 r2339657  
    11
    2  ### v0.12.2 - 2020-04-27
     2 ### v0.12.3 - 2020-07-13
    33 **Changes:**
    4  * Add Menu Icons extension
     4 * Fixed Menu Icons in Block Editor not working
     5* Fixed CWP links.
    56 
    67 ### v0.12.2 - 2019-11-15
  • menu-icons/trunk/includes/settings.php

    r2293046 r2339657  
    5656     */
    5757    public static function init() {
     58        // Include Menu Icons for Block Editor
     59        if ( class_exists( '\ThemeIsle\GutenbergMenuIcons' ) ) {
     60            \ThemeIsle\GutenbergMenuIcons::instance();
     61        }
     62
    5863        /**
    5964         * Allow themes/plugins to override the default settings
     
    105110            Menu_Icons_Picker::init();
    106111            self::$script_deps[] = 'icon-picker';
    107         }
    108 
    109         // Include Menu Icons for Block Editor
    110         if ( class_exists( '\ThemeIsle\GutenbergMenuIcons' ) ) {
    111             \ThemeIsle\GutenbergMenuIcons::instance();
    112112        }
    113113
     
    656656    public static function _enqueue_font_awesome() {
    657657        $url = Menu_Icons::get( 'url' );
    658    
     658
    659659        wp_register_style(
    660660            'font-awesome-5',
  • menu-icons/trunk/languages/menu-icons.pot

    r2293046 r2339657  
    55"Project-Id-Version: Menu Icons 0.12.2\n"
    66"Report-Msgid-Bugs-To: https://github.com/Codeinwp/wp-menu-icons/issues\n"
    7 "POT-Creation-Date: 2020-04-20 19:21:42+00:00\n"
     7"POT-Creation-Date: 2020-07-13 11:24:24+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    6565msgstr ""
    6666
    67 #: includes/picker.php:117 includes/settings.php:719
     67#: includes/picker.php:117 includes/settings.php:740
    6868msgid "Select"
    6969msgstr ""
    7070
    71 #: includes/picker.php:118 includes/settings.php:720
     71#: includes/picker.php:118 includes/settings.php:741
    7272#: vendor/codeinwp/icon-picker/includes/fields/base.php:68
    7373#: vendor/codeinwp/icon-picker/includes/types/elusive.php:465
     
    7575msgstr ""
    7676
    77 #: includes/settings.php:295
     77#: includes/settings.php:301
    7878msgid "Menu Icons Settings"
    7979msgstr ""
    8080
    81 #: includes/settings.php:329
     81#: includes/settings.php:335
    8282msgid "<strong>Menu Icons Settings</strong> have been successfully updated."
    8383msgstr ""
    8484
    85 #: includes/settings.php:330
     85#: includes/settings.php:336
    8686msgid "<strong>Menu Icons Settings</strong> have been successfully reset."
    8787msgstr ""
    8888
    89 #: includes/settings.php:367 includes/settings.php:390
     89#: includes/settings.php:373 includes/settings.php:396
    9090msgid "Extensions"
    9191msgstr ""
    9292
    93 #: includes/settings.php:409
     93#: includes/settings.php:415
    9494msgid "Discard all changes and reset to default state"
    9595msgstr ""
    9696
    97 #: includes/settings.php:410
     97#: includes/settings.php:416
    9898msgid "Reset"
    9999msgstr ""
    100100
    101 #: includes/settings.php:419
     101#: includes/settings.php:425
    102102msgid "Save Settings"
    103103msgstr ""
    104104
    105 #: includes/settings.php:446
     105#: includes/settings.php:452
    106106msgid "Global"
    107107msgstr ""
    108108
    109 #: includes/settings.php:447
     109#: includes/settings.php:453
    110110msgid "Global settings"
    111111msgstr ""
    112112
    113 #: includes/settings.php:452
     113#: includes/settings.php:458
    114114msgid "Icon Types"
    115115msgstr ""
    116116
    117 #: includes/settings.php:468
     117#: includes/settings.php:474
    118118msgid "Current Menu"
    119119msgstr ""
    120120
    121 #: includes/settings.php:470
     121#: includes/settings.php:476
    122122msgid "\"%s\" menu settings"
    123123msgstr ""
    124124
    125 #: includes/settings.php:496
     125#: includes/settings.php:502
    126126msgid "Hide Label"
    127127msgstr ""
    128128
    129 #: includes/settings.php:501
     129#: includes/settings.php:507
    130130#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:800
    131131#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:805
     
    133133msgstr ""
    134134
    135 #: includes/settings.php:505
     135#: includes/settings.php:511
    136136#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:795
    137137msgid "Yes"
    138138msgstr ""
    139139
    140 #: includes/settings.php:512
     140#: includes/settings.php:518
    141141msgid "Position"
    142142msgstr ""
    143143
    144 #: includes/settings.php:517
     144#: includes/settings.php:523
    145145msgid "Before"
    146146msgstr ""
    147147
    148 #: includes/settings.php:521
     148#: includes/settings.php:527
    149149msgid "After"
    150150msgstr ""
    151151
    152 #: includes/settings.php:528
     152#: includes/settings.php:534
    153153msgid "Vertical Align"
    154154msgstr ""
    155155
    156 #: includes/settings.php:533
     156#: includes/settings.php:539
    157157msgid "Super"
    158158msgstr ""
    159159
    160 #: includes/settings.php:537
     160#: includes/settings.php:543
    161161#: vendor/codeinwp/icon-picker/includes/types/genericon.php:292
    162162msgid "Top"
    163163msgstr ""
    164164
    165 #: includes/settings.php:541
     165#: includes/settings.php:547
    166166msgid "Text Top"
    167167msgstr ""
    168168
    169 #: includes/settings.php:545
     169#: includes/settings.php:551
    170170msgid "Middle"
    171171msgstr ""
    172172
    173 #: includes/settings.php:549
     173#: includes/settings.php:555
    174174msgid "Baseline"
    175175msgstr ""
    176176
    177 #: includes/settings.php:553
     177#: includes/settings.php:559
    178178msgid "Text Bottom"
    179179msgstr ""
    180180
    181 #: includes/settings.php:557
     181#: includes/settings.php:563
    182182msgid "Bottom"
    183183msgstr ""
    184184
    185 #: includes/settings.php:561
     185#: includes/settings.php:567
    186186msgid "Sub"
    187187msgstr ""
    188188
    189 #: includes/settings.php:568
     189#: includes/settings.php:574
    190190#: vendor/codeinwp/icon-picker/includes/types/elusive.php:910
    191191msgid "Font Size"
    192192msgstr ""
    193193
    194 #: includes/settings.php:579
     194#: includes/settings.php:585
    195195msgid "SVG Width"
    196196msgstr ""
    197197
    198 #: includes/settings.php:590
     198#: includes/settings.php:596
    199199msgid "Image Size"
    200200msgstr ""
    201201
    202 #: includes/settings.php:718
     202#: includes/settings.php:739
    203203#: vendor/codeinwp/icon-picker/includes/fields/base.php:67
    204204#: vendor/codeinwp/icon-picker/includes/loader.php:237
     
    206206msgstr ""
    207207
    208 #: includes/settings.php:721
     208#: includes/settings.php:742
    209209msgid "Change"
    210210msgstr ""
    211211
    212 #: includes/settings.php:722
     212#: includes/settings.php:743
    213213#: vendor/codeinwp/icon-picker/includes/loader.php:236
    214214msgid "All"
    215215msgstr ""
    216216
    217 #: includes/settings.php:723
     217#: includes/settings.php:744
    218218msgid "Preview"
    219219msgstr ""
    220220
    221 #: includes/settings.php:725
     221#: includes/settings.php:746
    222222msgid ""
    223223"Please note that the actual look of the icons on the front-end will also be "
     
    226226msgstr ""
    227227
    228 #: includes/settings.php:730
     228#: includes/settings.php:751
    229229msgid "the customizer"
    230230msgstr ""
    231231
    232 #: menu-icons.php:128
     232#: menu-icons.php:123
    233233msgid "Menu Icons: No registered icon types found."
    234234msgstr ""
    235235
    236 #: menu-icons.php:157
     236#: menu-icons.php:152
    237237msgid ""
    238238"Looks like Menu Icons was installed via Composer. Please activate Icon "
    239239"Picker first."
     240msgstr ""
     241
     242#: vendor/codeinwp/gutenberg-menu-icons/class-gutenberg-menu-icons.php:163
     243#: vendor/codeinwp/gutenberg-menu-icons/class-gutenberg-menu-icons.php:175
     244msgid "Cheatin&#8217; huh?"
    240245msgstr ""
    241246
     
    40334038msgstr ""
    40344039
    4035 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/basic-theme/exclude/file.php:3
    4036 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/plugin-include/plugin-include.php:6
    4037 msgid "Exclude"
    4038 msgstr ""
    4039 
    4040 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/plugin-include/include/file.php:2
    4041 msgid "Include"
    4042 msgstr ""
    4043 
    4044 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/add-domain.php:2
    4045 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:2
    4046 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:3
    4047 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:4
    4048 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:2
    4049 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:3
    4050 msgid "String"
    4051 msgstr ""
    4052 
    4053 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:9
    4054 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:10
    4055 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:11
    4056 msgid "1 Star"
    4057 msgid_plural "%s Stars"
    4058 msgstr[0] ""
    4059 msgstr[1] ""
    4060 
    4061 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:7
    4062 #. translators: A single line translators comment.
    4063 msgid "A"
    4064 msgstr ""
    4065 
    4066 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:15
    4067 #. translators: A multiline translators comment.
    4068 msgid "B"
    4069 msgstr ""
    4070 
    40714040#: vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php:51
    40724041msgid "Custom Field #1"
     
    40964065msgid "https://themeisle.com"
    40974066msgstr ""
    4098 
    4099 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:6
    4100 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:7
    4101 #: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:8
    4102 msgctxt "a string"
    4103 msgid "String"
    4104 msgstr ""
  • menu-icons/trunk/menu-icons.php

    r2293046 r2339657  
    1212 * Plugin URI:  https://github.com/Codeinwp/wp-menu-icons
    1313 * Description: Spice up your navigation menus with pretty icons, easily.
    14  * Version:     0.12.2
     14 * Version:     0.12.3
    1515 * Author:      ThemeIsle
    1616 * Author URI:  https://themeisle.com
     
    2828final class Menu_Icons {
    2929
    30     const VERSION = '0.12.2';
     30    const VERSION = '0.12.3';
    3131
    3232    /**
  • menu-icons/trunk/readme.md

    r2293046 r2339657  
    4848## If you like this plugin, then consider checking out our other projects: ##
    4949
    50 [CodeinWP Blog](https://codeinwp.com/blog/) – Designer's Guide To WordPress
     50[CodeinWP Blog](https://www.codeinwp.com/blog/) – Designer's Guide To WordPress
    5151[Revive.Social](https://revive.social) – Social Media Tools
    5252[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
     
    225225
    226226## Changelog ##
     227### 0.12.3 - 2020-07-13  ###
     228
     229* Fixed Menu Icons in Block Editor not working
     230* Fixed CWP links.
     231
     232
    227233### 0.12.2 - 2019-11-15  ###
    228234
  • menu-icons/trunk/readme.txt

    r2293046 r2339657  
    4848== If you like this plugin, then consider checking out our other projects: ==
    4949
    50 [CodeinWP Blog](https://codeinwp.com/blog/) – Designer's Guide To WordPress
     50[CodeinWP Blog](https://www.codeinwp.com/blog/) – Designer's Guide To WordPress
    5151[Revive.Social](https://revive.social) – Social Media Tools
    5252[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
     
    225225
    226226== Changelog ==
     227= 0.12.3 - 2020-07-13  =
     228
     229* Fixed Menu Icons in Block Editor not working
     230* Fixed CWP links.
     231
     232
    227233= 0.12.2 - 2019-11-15  =
    228234
  • menu-icons/trunk/vendor/autoload.php

    r2293046 r2339657  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c::getLoader();
     7return ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa::getLoader();
  • menu-icons/trunk/vendor/codeinwp/gutenberg-menu-icons/CHANGELOG.md

    r2293046 r2339657  
     1##### [Version 1.0.4](https://github.com/Codeinwp/gutenberg-menu-icons/compare/v1.0.3...v1.0.4) (2020-05-17)
     2
     3- Make it compatible with the latest version of Gutenberg
     4
    15##### [Version 1.0.3](https://github.com/Codeinwp/gutenberg-menu-icons/compare/v1.0.2...v1.0.3) (2020-04-21)
    26
  • menu-icons/trunk/vendor/codeinwp/gutenberg-menu-icons/build/editor.css

    r2293046 r2339657  
    1 .wp-block-themeisle-blocks-menu-icon-picker-popover:not(.is-mobile).is-bottom{z-index:9999999}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content{overflow-y:hidden}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-menu-group{padding:7px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items{max-height:300px;overflow-y:auto;display:grid;grid-template-columns:auto auto auto auto;grid-column-gap:10px;grid-row-gap:10px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button{display:flex;justify-content:center}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button:hover{box-shadow:inset 0 0 0 1px #007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected{background:#f8f9f9}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected i{color:#007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button i.remove-icon{color:#d92222}.fas.wp-block-navigation-link,.fab.wp-block-navigation-link,.far.wp-block-navigation-link{display:flex;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit;line-height:inherit}.fas.wp-block-navigation-link:before,.fab.wp-block-navigation-link:before,.far.wp-block-navigation-link:before{margin-right:5px}.fas.wp-block-navigation-link .wp-block-navigation-link__content,.fab.wp-block-navigation-link .wp-block-navigation-link__content,.far.wp-block-navigation-link .wp-block-navigation-link__content{font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit}.fas.wp-block-navigation-link .wp-block-navigation-link__content:before,.fab.wp-block-navigation-link .wp-block-navigation-link__content:before,.far.wp-block-navigation-link .wp-block-navigation-link__content:before{margin-right:5px}
     1.wp-block-themeisle-blocks-menu-icon-picker-popover:not(.is-mobile).is-bottom{z-index:9999999}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content{overflow-y:hidden}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-menu-group{padding:7px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items{max-height:300px;overflow-y:auto;display:grid;grid-template-columns:auto auto auto auto;grid-column-gap:10px;grid-row-gap:10px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button{display:flex;justify-content:center}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button:hover{box-shadow:inset 0 0 0 1px #007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected{background:#f8f9f9}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected i{color:#007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button i.remove-icon{color:#d92222}.fas.wp-block-navigation-link,.fab.wp-block-navigation-link,.far.wp-block-navigation-link{display:flex;align-items:center;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit;line-height:inherit}.fas.wp-block-navigation-link:before,.fab.wp-block-navigation-link:before,.far.wp-block-navigation-link:before{margin-right:5px}.fas.wp-block-navigation-link .wp-block-navigation-link__content,.fab.wp-block-navigation-link .wp-block-navigation-link__content,.far.wp-block-navigation-link .wp-block-navigation-link__content{display:flex;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit}.fas.wp-block-navigation-link .wp-block-navigation-link__content:before,.fab.wp-block-navigation-link .wp-block-navigation-link__content:before,.far.wp-block-navigation-link .wp-block-navigation-link__content:before{margin-right:5px}
    22
  • menu-icons/trunk/vendor/codeinwp/gutenberg-menu-icons/load.php

    r2293046 r2339657  
    99 */
    1010
    11 define( 'THEMEISLE_GUTENBERG_MENU_ICONS_VERSION', '1.0.3' );
     11define( 'THEMEISLE_GUTENBERG_MENU_ICONS_VERSION', '1.0.4' );
    1212define( 'THEMEISLE_GUTENBERG_MENU_ICONS_DEV', false );
    1313
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/CHANGELOG.md

    r2293046 r2339657  
     1##### [Version 3.2.14](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.13...v3.2.14) (2020-06-10)
     2
     3> Things are getting better every day. 🚀
     4
     5##### [Version 3.2.13](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.12...v3.2.13) (2020-06-10)
     6
     7Adds plan logic and expiration
     8
     9##### [Version 3.2.12](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.11...v3.2.12) (2020-06-10)
     10
     11Adds key filter
     12
     13##### [Version 3.2.11](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.10...v3.2.11) (2020-06-04)
     14
     15* remove non-printable chars
     16
     17##### [Version 3.2.10](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.9...v3.2.10) (2020-05-28)
     18
     19* Remove extra files on export
     20
     21##### [Version 3.2.9](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.8...v3.2.9) (2020-05-18)
     22
     23adds new endpoints
     24
    125##### [Version 3.2.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.7...v3.2.8) (2020-03-24)
    226
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/load.php

    r2293046 r2339657  
    1515}
    1616// Current SDK version and path.
    17 $themeisle_sdk_version = '3.2.8';
     17$themeisle_sdk_version = '3.2.14';
    1818$themeisle_sdk_path    = dirname( __FILE__ );
    1919
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php

    r2293046 r2339657  
    191191     * Return the license status.
    192192     *
     193     * @param bool $check_expiration Should check if license is valid, but expired.
     194     *
    193195     * @return string The License status.
    194196     */
    195     public function get_license_status() {
     197    public function get_license_status( $check_expiration = false ) {
    196198
    197199        $license_data = get_option( $this->product->get_key() . '_license_data', '' );
     
    200202            return get_option( $this->product->get_key() . '_license_status', 'not_active' );
    201203        }
    202 
    203         return isset( $license_data->license ) ? $license_data->license : get_option( $this->product->get_key() . '_license_status', 'not_active' );
    204 
     204        $status = isset( $license_data->license ) ? $license_data->license : get_option( $this->product->get_key() . '_license_status', 'not_active' );
     205        if ( false === $check_expiration ) {
     206            return $status;
     207        }
     208
     209        return ( 'valid' === $status && isset( $license_data->is_expired ) && 'yes' === $license_data->is_expired ) ? 'active_expired' : $status;
     210    }
     211
     212    /**
     213     * License price id.
     214     *
     215     * @return int License plan.
     216     */
     217    public function get_plan() {
     218        $license_data = get_option( $this->product->get_key() . '_license_data', '' );
     219        if ( ! isset( $license_data->price_id ) ) {
     220            return -1;
     221        }
     222
     223        return (int) $license_data->price_id;
    205224    }
    206225
     
    245264        }
    246265
    247         $status                = $this->get_license_status();
    248         $no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No more activations left for %s. You need to upgrade your plan in order to use %s on more websites. If you need assistance, please get in touch with %s staff.' );
    249         $no_valid_string       = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your  <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
    250 
     266        $status                 = $this->get_license_status( true );
     267        $no_activations_string  = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No more activations left for %s. You need to upgrade your plan in order to use %s on more websites. If you need assistance, please get in touch with %s staff.' );
     268        $no_valid_string        = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your  <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
     269        $expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', 'Your %s License Key has expired. In order to continue receiving support and software updates you must  <a href="%s" target="_blank">renew</a> your license key.' );
    251270        // No activations left for this license.
    252271        if ( 'valid' != $status && $this->check_activation() ) {
     
    266285            </div>
    267286            <?php
     287            return false;
     288        }
     289
     290        // Invalid license key.
     291        if ( 'active_expired' === $status ) {
     292            ?>
     293            <div class="error">
     294                <p>
     295                    <strong><?php echo sprintf( $expired_license_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url() . '?license=' . $this->license_key ); ?> </strong>
     296                </p>
     297            </div>
     298            <?php
     299
    268300            return false;
    269301        }
     
    668700            $update_data->banners = (array) $update_data->banners;
    669701        }
     702
    670703        return $update_data;
    671704    }
     
    697730            }
    698731        }
     732
    699733        return $_transient_data;
    700734    }
     
    797831        if ( false !== $namespace ) {
    798832            add_filter( 'themeisle_sdk_license_process_' . $namespace, [ $this, 'do_license_process' ], 10, 2 );
     833            add_filter( 'product_' . $namespace . '_license_status', [ $this, 'get_license_status' ], PHP_INT_MAX );
     834            add_filter( 'product_' . $namespace . '_license_key', [ $this->product, 'get_license' ] );
     835            add_filter( 'product_' . $namespace . '_license_plan', [ $this, 'get_plan' ], PHP_INT_MAX );
    799836            if ( defined( 'WP_CLI' ) && WP_CLI ) {
    800837                \WP_CLI::add_command( $namespace . ' activate', [ $this, 'cli_activate' ] );
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Logger.php

    r2093955 r2339657  
    2828     * Endpoint where to collect logs.
    2929     */
    30     const TRACKING_ENDPOINT = 'http://log.themeisle.com/wp-json/v1/logs/';
     30    const TRACKING_ENDPOINT = 'https://api.themeisle.com/tracking/log';
    3131
    3232
     
    9191     */
    9292    private function is_logger_active() {
     93        $default = 'no';
     94
    9395        if ( ! $this->product->is_wordpress_available() ) {
    94             return true;
    95         }
    96         $pro_slug = $this->product->get_pro_slug();
     96            $default = 'yes';
     97        } else {
     98            $pro_slug = $this->product->get_pro_slug();
    9799
    98         if ( ! empty( $pro_slug ) ) {
    99             $all_products = Loader::get_products();
    100             if ( isset( $all_products[ $pro_slug ] ) ) {
    101                 return true;
     100            if ( ! empty( $pro_slug ) ) {
     101                $all_products = Loader::get_products();
     102                if ( isset( $all_products[ $pro_slug ] ) ) {
     103                    $default = 'yes';
     104                }
    102105            }
    103106        }
    104107
    105         return ( get_option( $this->product->get_key() . '_logger_flag', 'no' ) === 'yes' );
     108        return ( get_option( $this->product->get_key() . '_logger_flag', $default ) === 'yes' );
    106109    }
    107110
     
    152155        $environment['theme']['name']   = $theme->get( 'Name' );
    153156        $environment['theme']['author'] = $theme->get( 'Author' );
     157        $environment['theme']['parent'] = $theme->parent() !== false ? $theme->parent()->get( 'Name' ) : $theme->get( 'Name' );
    154158        $environment['plugins']         = get_option( 'active_plugins' );
    155159        global $wp_version;
     
    160164                'timeout'     => 3,
    161165                'redirection' => 5,
    162                 'headers'     => array(
    163                     'X-ThemeIsle-Event' => 'log_site',
    164                 ),
    165166                'body'        => array(
    166167                    'site'        => get_site_url(),
     
    168169                    'version'     => $this->product->get_version(),
    169170                    'wp_version'  => $wp_version,
     171                    'locale'      => get_locale(),
    170172                    'data'        => apply_filters( $this->product->get_key() . '_logger_data', array() ),
    171173                    'environment' => $environment,
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Review.php

    r2293046 r2339657  
    6868        $link = 'https://wordpress.org/support/' . $this->product->get_type() . '/' . $this->product->get_slug() . '/reviews/#wporg-footer';
    6969
    70         $message = apply_filters( $this->product->get_key() . '_feedback_review_message', '<p>Hey, its great to see you have <b>{product}</b> active for a few days now. How is everything going? If you can spare a few moments to rate it on WordPress.org it would help us a lot (and boost my motivation). Cheers! <br/> <br/>~ {developer}, developer of {product}</p>' );
     70        $message = apply_filters( $this->product->get_key() . '_feedback_review_message', '<p>Hey, it\'s great to see you have <b>{product}</b> active for a few days now. How is everything going? If you can spare a few moments to rate it on WordPress.org it would help us a lot (and boost my motivation). Cheers! <br/> <br/>~ {developer}, developer of {product}</p>' );
    7171
    7272        $button_submit = apply_filters( $this->product->get_key() . '_feedback_review_button_do', 'Ok, I will gladly help.' );
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Translate.php

    r2093955 r2339657  
    296296        'gn'             => array(
    297297            'slug' => 'gn',
    298             'name' => 'Guaraní',
     298            'name' => 'Guarani',
    299299        ),
    300300        'gsw'            => array(
     
    472472        'nb_NO'          => array(
    473473            'slug' => 'nb',
    474             'name' => 'Norwegian (Bokmål)',
     474            'name' => 'Norwegian (Bokmal)',
    475475        ),
    476476        'nl_NL'          => array(
  • menu-icons/trunk/vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php

    r2193861 r2339657  
    4141     * @var string Endpoint url.
    4242     */
    43     const FEEDBACK_ENDPOINT = 'http://feedback.themeisle.com/wordpress/wp-json/__pirate_feedback_/v1/feedback';
     43    const FEEDBACK_ENDPOINT = 'https://api.themeisle.com/tracking/uninstall';
    4444
    4545    /**
     
    110110     * @var string $heading_plugin The heading of the modal
    111111     */
    112     private $heading_plugin = 'Whats wrong?';
     112    private $heading_plugin = 'What\'s wrong?';
    113113    /**
    114114     * Default heading for theme.
     
    699699                'items' => [
    700700                    sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
     701                    sprintf( '%sCurrent website:%s %s %s %s', '<strong>', '</strong>', '<code>', get_site_url(), '</code>' ),
    701702                    sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
    702703                ],
     
    783784        $attributes['slug']    = $slug;
    784785        $attributes['version'] = $version;
     786        $attributes['url']     = get_site_url();
    785787
    786788        $response = wp_remote_post(
  • menu-icons/trunk/vendor/composer/autoload_real.php

    r2293046 r2339657  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c
     5class ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa', 'loadClassLoader'));
    2525
    2626        $map = require __DIR__ . '/autoload_namespaces.php';
     
    4343        $includeFiles = require __DIR__ . '/autoload_files.php';
    4444        foreach ($includeFiles as $fileIdentifier => $file) {
    45             composerRequireddf22b4b88bf26baf7ee4e0ae7c8e69c($fileIdentifier, $file);
     45            composerRequirebdf1557f612cebf282fe0321f09d7caa($fileIdentifier, $file);
    4646        }
    4747
     
    5050}
    5151
    52 function composerRequireddf22b4b88bf26baf7ee4e0ae7c8e69c($fileIdentifier, $file)
     52function composerRequirebdf1557f612cebf282fe0321f09d7caa($fileIdentifier, $file)
    5353{
    5454    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • menu-icons/trunk/vendor/composer/installed.json

    r2293046 r2339657  
    8080    {
    8181        "name": "codeinwp/themeisle-sdk",
    82         "version": "3.2.8",
    83         "version_normalized": "3.2.8.0",
     82        "version": "3.2.14",
     83        "version_normalized": "3.2.14.0",
    8484        "source": {
    8585            "type": "git",
    8686            "url": "https://github.com/Codeinwp/themeisle-sdk.git",
    87             "reference": "ce152edef1634d7c3ce75ed292efcc7a5f73806e"
     87            "reference": "992f5e8347836e325ffc50760da1d550b79831c4"
    8888        },
    8989        "dist": {
    9090            "type": "zip",
    91             "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ce152edef1634d7c3ce75ed292efcc7a5f73806e",
    92             "reference": "ce152edef1634d7c3ce75ed292efcc7a5f73806e",
     91            "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/992f5e8347836e325ffc50760da1d550b79831c4",
     92            "reference": "992f5e8347836e325ffc50760da1d550b79831c4",
    9393            "shasum": ""
    9494        },
     
    9898            "wp-coding-standards/wpcs": "^1.0.0"
    9999        },
    100         "time": "2020-03-24 16:54:54",
     100        "time": "2020-06-10 16:25:09",
    101101        "type": "library",
    102102        "installation-source": "dist",
     
    120120    {
    121121        "name": "codeinwp/gutenberg-menu-icons",
    122         "version": "1.0.3",
    123         "version_normalized": "1.0.3.0",
     122        "version": "1.0.4",
     123        "version_normalized": "1.0.4.0",
    124124        "source": {
    125125            "type": "git",
    126126            "url": "https://github.com/Codeinwp/gutenberg-menu-icons.git",
    127             "reference": "145937bdef676f1605d94ac7e8e4ee5f33af8a59"
     127            "reference": "121ef82c57a556301265cbd1032d28619235e488"
    128128        },
    129129        "dist": {
    130130            "type": "zip",
    131             "url": "https://api.github.com/repos/Codeinwp/gutenberg-menu-icons/zipball/145937bdef676f1605d94ac7e8e4ee5f33af8a59",
    132             "reference": "145937bdef676f1605d94ac7e8e4ee5f33af8a59",
     131            "url": "https://api.github.com/repos/Codeinwp/gutenberg-menu-icons/zipball/121ef82c57a556301265cbd1032d28619235e488",
     132            "reference": "121ef82c57a556301265cbd1032d28619235e488",
    133133            "shasum": ""
    134134        },
     
    140140            "wp-coding-standards/wpcs": "^1"
    141141        },
    142         "time": "2020-04-21 18:06:08",
     142        "time": "2020-05-17 21:08:46",
    143143        "type": "library",
    144144        "installation-source": "dist",
Note: See TracChangeset for help on using the changeset viewer.