Plugin Directory

Changeset 3104781 for disable-gutenberg


Ignore:
Timestamp:
06/19/2024 09:35:58 PM (17 months ago)
Author:
specialk
Message:

Updates plugin to version 3.1.2

Location:
disable-gutenberg
Files:
2 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • disable-gutenberg/tags/3.1.2/css/settings.css

    r2981888 r3104781  
    1616.wp-admin .disable-gutenberg-dismiss-notice { float: right; }
    1717
     18.wp-admin .notice-custom { background-image: url(../img/sun-icon.png); background-repeat: no-repeat; background-position: left 5px center; background-size: 60px 40px; }
     19.wp-admin .notice-custom p { margin: 15px 0; padding-left: 60px; line-height: 1.6; }
     20.wp-admin .notice-link { display: inline-block; margin-right: 5px; }
     21@media (max-width: 782px) {
     22    .wp-admin .notice-custom p { margin: 10px 0; }
     23}
     24
    1825@media (max-width: 1100px) {
    1926    .wp-admin .disable-gutenberg-dismiss-notice { float: none; }
  • disable-gutenberg/tags/3.1.2/disable-gutenberg.php

    r3042254 r3104781  
    1010    Contributors: specialk
    1111    Requires at least: 4.9
    12     Tested up to: 6.5
    13     Stable tag: 3.1.1
    14     Version:    3.1.1
     12    Tested up to: 6.6
     13    Stable tag: 3.1.2
     14    Version:    3.1.2
    1515    Requires PHP: 5.6.20
    1616    Text Domain: disable-gutenberg
     
    7575        function constants() {
    7676           
    77             if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '3.1.1');
     77            if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '3.1.2');
    7878            if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
    7979            if (!defined('DISABLE_GUTENBERG_AUTHOR'))  define('DISABLE_GUTENBERG_AUTHOR',  'Jeff Starr');
  • disable-gutenberg/tags/3.1.2/inc/settings-reset.php

    r3042246 r3104781  
    3131            ?>
    3232           
    33             <div class="notice notice-success">
     33            <div class="notice notice-success notice-custom">
    3434                <p>
    35                     <strong><?php esc_html_e('Go Pro!', 'disable-gutenberg'); ?></strong>
    36                     <?php esc_html_e('Take 30% OFF any of our', 'disable-gutenberg'); ?>
    37                     <a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/"><?php esc_html_e('Pro WordPress plugins', 'disable-gutenberg'); ?></a>
    38                     <?php esc_html_e('and', 'disable-gutenberg'); ?>
    39                     <a target="_blank" rel="noopener noreferrer" href="https://books.perishablepress.com/"><?php esc_html_e('books', 'disable-gutenberg'); ?></a>.
    40                     <?php esc_html_e('Apply code', 'disable-gutenberg'); ?> <code>PLANET24</code> <?php esc_html_e('at checkout. Sale ends 5/25/24.', 'disable-gutenberg'); ?>
     35                    <strong><?php esc_html_e('Super Plugin Sale!', 'disable-gutenberg'); ?></strong>
     36                    <?php esc_html_e('Buy one get one FREE with code', 'disable-gutenberg'); ?> <code>BOGO24</code>,
     37                    <?php esc_html_e('or take 30% off with code', 'disable-gutenberg'); ?> <code>SUPER24</code>
     38                    ⭐ <a class="notice-link" target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/super-summer-sale/"><?php esc_html_e('Get&nbsp;plugins&nbsp;&raquo;', 'disable-gutenberg'); ?></a>
    4139                    <?php echo disable_gutenberg_dismiss_notice_link(); ?>
    4240                </p>
     
    111109    $label = esc_html__('Dismiss', 'disable-gutenberg');
    112110   
    113     echo '<a class="disable-gutenberg-dismiss-notice" href="'. esc_url($href) .'">'. esc_html($label) .'</a>';
     111    return '<a class="disable-gutenberg-dismiss-notice" href="'. esc_url($href) .'">'. esc_html($label) .'</a>';
    114112   
    115113}
     
    117115function disable_gutenberg_check_date_expired() {
    118116   
    119     $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-05-25');
     117    $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-09-22');
    120118   
    121119    return (new DateTime() > new DateTime($expires)) ? true : false;
  • disable-gutenberg/tags/3.1.2/languages/disable-gutenberg.pot

    r3042246 r3104781  
    44"Project-Id-Version: Disable Gutenberg\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-02-28 00:10+0000\n"
     6"POT-Creation-Date: 2024-06-19 21:32+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    2727msgstr ""
    2828
    29 #: inc/settings-reset.php:38
    30 msgid "and"
    31 msgstr ""
    32 
    33 #: inc/settings-reset.php:40
    34 msgid "Apply code"
    35 msgstr ""
    36 
    37 #: inc/settings-reset.php:40
    38 msgid "at checkout. Sale ends 5/25/24."
    39 msgstr ""
    40 
    4129#: inc/plugin-features.php:86
    4230msgid "Block Edit"
    4331msgstr ""
    4432
    45 #: inc/settings-reset.php:39
    46 msgid "books"
     33#: inc/settings-reset.php:36
     34msgid "Buy one get one FREE with code"
    4735msgstr ""
    4836
     
    115103msgstr ""
    116104
    117 #: inc/settings-reset.php:111
     105#: inc/settings-reset.php:109
    118106msgid "Dismiss"
    119107msgstr ""
     
    163151msgstr ""
    164152
    165 #: inc/settings-reset.php:35
    166 msgid "Go Pro!"
     153#: inc/settings-reset.php:38
     154msgid "Get&nbsp;plugins&nbsp;&raquo;"
    167155msgstr ""
    168156
     
    211199msgstr ""
    212200
     201#: inc/settings-reset.php:37
     202msgid "or take 30% off with code"
     203msgstr ""
     204
    213205#: inc/settings-register.php:233
    214206msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
     
    243235msgstr ""
    244236
    245 #: inc/settings-reset.php:37
    246 msgid "Pro WordPress plugins"
    247 msgstr ""
    248 
    249237#: inc/settings-register.php:54
    250238msgid "Rate Plugin"
     
    323311msgstr ""
    324312
    325 #: inc/settings-reset.php:36
    326 msgid "Take 30% OFF any of our"
     313#: inc/settings-reset.php:35
     314msgid "Super Plugin Sale!"
    327315msgstr ""
    328316
  • disable-gutenberg/tags/3.1.2/readme.txt

    r3042254 r3104781  
    1010Contributors: specialk
    1111Requires at least: 4.9
    12 Tested up to: 6.5
    13 Stable tag: 3.1.1
    14 Version:    3.1.1
     12Tested up to: 6.6
     13Stable tag: 3.1.2
     14Version:    3.1.2
    1515Requires PHP: 5.6.20
    1616Text Domain: disable-gutenberg
     
    306306
    307307
    308 **3.1.1 (2024/02/27)**
    309 
     308**3.1.2 (2024/06/19)**
     309
     310* Fixes bug with `dismiss_notice_link`
    310311* Updates plugin settings page
    311312* Updates default translation template
    312 * Improves plugin docs/readme.txt
    313 * Tests on WordPress 6.5 (beta)
     313* Tests on WordPress 6.6 (beta)
     314
    314315
    315316Full changelog @ [https://plugin-planet.com/wp/changelog/disable-gutenberg.txt](https://plugin-planet.com/wp/changelog/disable-gutenberg.txt)
  • disable-gutenberg/trunk/css/settings.css

    r2981888 r3104781  
    1616.wp-admin .disable-gutenberg-dismiss-notice { float: right; }
    1717
     18.wp-admin .notice-custom { background-image: url(../img/sun-icon.png); background-repeat: no-repeat; background-position: left 5px center; background-size: 60px 40px; }
     19.wp-admin .notice-custom p { margin: 15px 0; padding-left: 60px; line-height: 1.6; }
     20.wp-admin .notice-link { display: inline-block; margin-right: 5px; }
     21@media (max-width: 782px) {
     22    .wp-admin .notice-custom p { margin: 10px 0; }
     23}
     24
    1825@media (max-width: 1100px) {
    1926    .wp-admin .disable-gutenberg-dismiss-notice { float: none; }
  • disable-gutenberg/trunk/disable-gutenberg.php

    r3042254 r3104781  
    1010    Contributors: specialk
    1111    Requires at least: 4.9
    12     Tested up to: 6.5
    13     Stable tag: 3.1.1
    14     Version:    3.1.1
     12    Tested up to: 6.6
     13    Stable tag: 3.1.2
     14    Version:    3.1.2
    1515    Requires PHP: 5.6.20
    1616    Text Domain: disable-gutenberg
     
    7575        function constants() {
    7676           
    77             if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '3.1.1');
     77            if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '3.1.2');
    7878            if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
    7979            if (!defined('DISABLE_GUTENBERG_AUTHOR'))  define('DISABLE_GUTENBERG_AUTHOR',  'Jeff Starr');
  • disable-gutenberg/trunk/inc/settings-reset.php

    r3042246 r3104781  
    3131            ?>
    3232           
    33             <div class="notice notice-success">
     33            <div class="notice notice-success notice-custom">
    3434                <p>
    35                     <strong><?php esc_html_e('Go Pro!', 'disable-gutenberg'); ?></strong>
    36                     <?php esc_html_e('Take 30% OFF any of our', 'disable-gutenberg'); ?>
    37                     <a target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/"><?php esc_html_e('Pro WordPress plugins', 'disable-gutenberg'); ?></a>
    38                     <?php esc_html_e('and', 'disable-gutenberg'); ?>
    39                     <a target="_blank" rel="noopener noreferrer" href="https://books.perishablepress.com/"><?php esc_html_e('books', 'disable-gutenberg'); ?></a>.
    40                     <?php esc_html_e('Apply code', 'disable-gutenberg'); ?> <code>PLANET24</code> <?php esc_html_e('at checkout. Sale ends 5/25/24.', 'disable-gutenberg'); ?>
     35                    <strong><?php esc_html_e('Super Plugin Sale!', 'disable-gutenberg'); ?></strong>
     36                    <?php esc_html_e('Buy one get one FREE with code', 'disable-gutenberg'); ?> <code>BOGO24</code>,
     37                    <?php esc_html_e('or take 30% off with code', 'disable-gutenberg'); ?> <code>SUPER24</code>
     38                    ⭐ <a class="notice-link" target="_blank" rel="noopener noreferrer" href="https://plugin-planet.com/super-summer-sale/"><?php esc_html_e('Get&nbsp;plugins&nbsp;&raquo;', 'disable-gutenberg'); ?></a>
    4139                    <?php echo disable_gutenberg_dismiss_notice_link(); ?>
    4240                </p>
     
    111109    $label = esc_html__('Dismiss', 'disable-gutenberg');
    112110   
    113     echo '<a class="disable-gutenberg-dismiss-notice" href="'. esc_url($href) .'">'. esc_html($label) .'</a>';
     111    return '<a class="disable-gutenberg-dismiss-notice" href="'. esc_url($href) .'">'. esc_html($label) .'</a>';
    114112   
    115113}
     
    117115function disable_gutenberg_check_date_expired() {
    118116   
    119     $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-05-25');
     117    $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-09-22');
    120118   
    121119    return (new DateTime() > new DateTime($expires)) ? true : false;
  • disable-gutenberg/trunk/languages/disable-gutenberg.pot

    r3042246 r3104781  
    44"Project-Id-Version: Disable Gutenberg\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-02-28 00:10+0000\n"
     6"POT-Creation-Date: 2024-06-19 21:32+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    2727msgstr ""
    2828
    29 #: inc/settings-reset.php:38
    30 msgid "and"
    31 msgstr ""
    32 
    33 #: inc/settings-reset.php:40
    34 msgid "Apply code"
    35 msgstr ""
    36 
    37 #: inc/settings-reset.php:40
    38 msgid "at checkout. Sale ends 5/25/24."
    39 msgstr ""
    40 
    4129#: inc/plugin-features.php:86
    4230msgid "Block Edit"
    4331msgstr ""
    4432
    45 #: inc/settings-reset.php:39
    46 msgid "books"
     33#: inc/settings-reset.php:36
     34msgid "Buy one get one FREE with code"
    4735msgstr ""
    4836
     
    115103msgstr ""
    116104
    117 #: inc/settings-reset.php:111
     105#: inc/settings-reset.php:109
    118106msgid "Dismiss"
    119107msgstr ""
     
    163151msgstr ""
    164152
    165 #: inc/settings-reset.php:35
    166 msgid "Go Pro!"
     153#: inc/settings-reset.php:38
     154msgid "Get&nbsp;plugins&nbsp;&raquo;"
    167155msgstr ""
    168156
     
    211199msgstr ""
    212200
     201#: inc/settings-reset.php:37
     202msgid "or take 30% off with code"
     203msgstr ""
     204
    213205#: inc/settings-register.php:233
    214206msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
     
    243235msgstr ""
    244236
    245 #: inc/settings-reset.php:37
    246 msgid "Pro WordPress plugins"
    247 msgstr ""
    248 
    249237#: inc/settings-register.php:54
    250238msgid "Rate Plugin"
     
    323311msgstr ""
    324312
    325 #: inc/settings-reset.php:36
    326 msgid "Take 30% OFF any of our"
     313#: inc/settings-reset.php:35
     314msgid "Super Plugin Sale!"
    327315msgstr ""
    328316
  • disable-gutenberg/trunk/readme.txt

    r3042254 r3104781  
    1010Contributors: specialk
    1111Requires at least: 4.9
    12 Tested up to: 6.5
    13 Stable tag: 3.1.1
    14 Version:    3.1.1
     12Tested up to: 6.6
     13Stable tag: 3.1.2
     14Version:    3.1.2
    1515Requires PHP: 5.6.20
    1616Text Domain: disable-gutenberg
     
    306306
    307307
    308 **3.1.1 (2024/02/27)**
    309 
     308**3.1.2 (2024/06/19)**
     309
     310* Fixes bug with `dismiss_notice_link`
    310311* Updates plugin settings page
    311312* Updates default translation template
    312 * Improves plugin docs/readme.txt
    313 * Tests on WordPress 6.5 (beta)
     313* Tests on WordPress 6.6 (beta)
     314
    314315
    315316Full changelog @ [https://plugin-planet.com/wp/changelog/disable-gutenberg.txt](https://plugin-planet.com/wp/changelog/disable-gutenberg.txt)
Note: See TracChangeset for help on using the changeset viewer.