Changeset 3104781 for disable-gutenberg
- Timestamp:
- 06/19/2024 09:35:58 PM (17 months ago)
- Location:
- disable-gutenberg
- Files:
-
- 2 added
- 10 edited
- 1 copied
-
tags/3.1.2 (copied) (copied from disable-gutenberg/trunk)
-
tags/3.1.2/css/settings.css (modified) (1 diff)
-
tags/3.1.2/disable-gutenberg.php (modified) (2 diffs)
-
tags/3.1.2/img/sun-icon.png (added)
-
tags/3.1.2/inc/settings-reset.php (modified) (3 diffs)
-
tags/3.1.2/languages/disable-gutenberg.pot (modified) (7 diffs)
-
tags/3.1.2/readme.txt (modified) (2 diffs)
-
trunk/css/settings.css (modified) (1 diff)
-
trunk/disable-gutenberg.php (modified) (2 diffs)
-
trunk/img/sun-icon.png (added)
-
trunk/inc/settings-reset.php (modified) (3 diffs)
-
trunk/languages/disable-gutenberg.pot (modified) (7 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-gutenberg/tags/3.1.2/css/settings.css
r2981888 r3104781 16 16 .wp-admin .disable-gutenberg-dismiss-notice { float: right; } 17 17 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 18 25 @media (max-width: 1100px) { 19 26 .wp-admin .disable-gutenberg-dismiss-notice { float: none; } -
disable-gutenberg/tags/3.1.2/disable-gutenberg.php
r3042254 r3104781 10 10 Contributors: specialk 11 11 Requires at least: 4.9 12 Tested up to: 6. 513 Stable tag: 3.1. 114 Version: 3.1. 112 Tested up to: 6.6 13 Stable tag: 3.1.2 14 Version: 3.1.2 15 15 Requires PHP: 5.6.20 16 16 Text Domain: disable-gutenberg … … 75 75 function constants() { 76 76 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'); 78 78 if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9'); 79 79 if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr'); -
disable-gutenberg/tags/3.1.2/inc/settings-reset.php
r3042246 r3104781 31 31 ?> 32 32 33 <div class="notice notice-success ">33 <div class="notice notice-success notice-custom"> 34 34 <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 plugins »', 'disable-gutenberg'); ?></a> 41 39 <?php echo disable_gutenberg_dismiss_notice_link(); ?> 42 40 </p> … … 111 109 $label = esc_html__('Dismiss', 'disable-gutenberg'); 112 110 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>'; 114 112 115 113 } … … 117 115 function disable_gutenberg_check_date_expired() { 118 116 119 $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-0 5-25');117 $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-09-22'); 120 118 121 119 return (new DateTime() > new DateTime($expires)) ? true : false; -
disable-gutenberg/tags/3.1.2/languages/disable-gutenberg.pot
r3042246 r3104781 4 4 "Project-Id-Version: Disable Gutenberg\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-0 2-28 00:10+0000\n"6 "POT-Creation-Date: 2024-06-19 21:32+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 27 27 msgstr "" 28 28 29 #: inc/settings-reset.php:3830 msgid "and"31 msgstr ""32 33 #: inc/settings-reset.php:4034 msgid "Apply code"35 msgstr ""36 37 #: inc/settings-reset.php:4038 msgid "at checkout. Sale ends 5/25/24."39 msgstr ""40 41 29 #: inc/plugin-features.php:86 42 30 msgid "Block Edit" 43 31 msgstr "" 44 32 45 #: inc/settings-reset.php:3 946 msgid " books"33 #: inc/settings-reset.php:36 34 msgid "Buy one get one FREE with code" 47 35 msgstr "" 48 36 … … 115 103 msgstr "" 116 104 117 #: inc/settings-reset.php:1 11105 #: inc/settings-reset.php:109 118 106 msgid "Dismiss" 119 107 msgstr "" … … 163 151 msgstr "" 164 152 165 #: inc/settings-reset.php:3 5166 msgid "G o Pro!"153 #: inc/settings-reset.php:38 154 msgid "Get plugins »" 167 155 msgstr "" 168 156 … … 211 199 msgstr "" 212 200 201 #: inc/settings-reset.php:37 202 msgid "or take 30% off with code" 203 msgstr "" 204 213 205 #: inc/settings-register.php:233 214 206 msgid "Please give a 5-star rating! A huge THANK YOU for your support!" … … 243 235 msgstr "" 244 236 245 #: inc/settings-reset.php:37246 msgid "Pro WordPress plugins"247 msgstr ""248 249 237 #: inc/settings-register.php:54 250 238 msgid "Rate Plugin" … … 323 311 msgstr "" 324 312 325 #: inc/settings-reset.php:3 6326 msgid " Take 30% OFF any of our"313 #: inc/settings-reset.php:35 314 msgid "Super Plugin Sale!" 327 315 msgstr "" 328 316 -
disable-gutenberg/tags/3.1.2/readme.txt
r3042254 r3104781 10 10 Contributors: specialk 11 11 Requires at least: 4.9 12 Tested up to: 6. 513 Stable tag: 3.1. 114 Version: 3.1. 112 Tested up to: 6.6 13 Stable tag: 3.1.2 14 Version: 3.1.2 15 15 Requires PHP: 5.6.20 16 16 Text Domain: disable-gutenberg … … 306 306 307 307 308 **3.1.1 (2024/02/27)** 309 308 **3.1.2 (2024/06/19)** 309 310 * Fixes bug with `dismiss_notice_link` 310 311 * Updates plugin settings page 311 312 * Updates default translation template 312 * Improves plugin docs/readme.txt313 * Tests on WordPress 6.5 (beta) 313 * Tests on WordPress 6.6 (beta) 314 314 315 315 316 Full 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 16 16 .wp-admin .disable-gutenberg-dismiss-notice { float: right; } 17 17 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 18 25 @media (max-width: 1100px) { 19 26 .wp-admin .disable-gutenberg-dismiss-notice { float: none; } -
disable-gutenberg/trunk/disable-gutenberg.php
r3042254 r3104781 10 10 Contributors: specialk 11 11 Requires at least: 4.9 12 Tested up to: 6. 513 Stable tag: 3.1. 114 Version: 3.1. 112 Tested up to: 6.6 13 Stable tag: 3.1.2 14 Version: 3.1.2 15 15 Requires PHP: 5.6.20 16 16 Text Domain: disable-gutenberg … … 75 75 function constants() { 76 76 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'); 78 78 if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9'); 79 79 if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr'); -
disable-gutenberg/trunk/inc/settings-reset.php
r3042246 r3104781 31 31 ?> 32 32 33 <div class="notice notice-success ">33 <div class="notice notice-success notice-custom"> 34 34 <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 plugins »', 'disable-gutenberg'); ?></a> 41 39 <?php echo disable_gutenberg_dismiss_notice_link(); ?> 42 40 </p> … … 111 109 $label = esc_html__('Dismiss', 'disable-gutenberg'); 112 110 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>'; 114 112 115 113 } … … 117 115 function disable_gutenberg_check_date_expired() { 118 116 119 $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-0 5-25');117 $expires = apply_filters('disable_gutenberg_check_date_expired', '2024-09-22'); 120 118 121 119 return (new DateTime() > new DateTime($expires)) ? true : false; -
disable-gutenberg/trunk/languages/disable-gutenberg.pot
r3042246 r3104781 4 4 "Project-Id-Version: Disable Gutenberg\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-0 2-28 00:10+0000\n"6 "POT-Creation-Date: 2024-06-19 21:32+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 27 27 msgstr "" 28 28 29 #: inc/settings-reset.php:3830 msgid "and"31 msgstr ""32 33 #: inc/settings-reset.php:4034 msgid "Apply code"35 msgstr ""36 37 #: inc/settings-reset.php:4038 msgid "at checkout. Sale ends 5/25/24."39 msgstr ""40 41 29 #: inc/plugin-features.php:86 42 30 msgid "Block Edit" 43 31 msgstr "" 44 32 45 #: inc/settings-reset.php:3 946 msgid " books"33 #: inc/settings-reset.php:36 34 msgid "Buy one get one FREE with code" 47 35 msgstr "" 48 36 … … 115 103 msgstr "" 116 104 117 #: inc/settings-reset.php:1 11105 #: inc/settings-reset.php:109 118 106 msgid "Dismiss" 119 107 msgstr "" … … 163 151 msgstr "" 164 152 165 #: inc/settings-reset.php:3 5166 msgid "G o Pro!"153 #: inc/settings-reset.php:38 154 msgid "Get plugins »" 167 155 msgstr "" 168 156 … … 211 199 msgstr "" 212 200 201 #: inc/settings-reset.php:37 202 msgid "or take 30% off with code" 203 msgstr "" 204 213 205 #: inc/settings-register.php:233 214 206 msgid "Please give a 5-star rating! A huge THANK YOU for your support!" … … 243 235 msgstr "" 244 236 245 #: inc/settings-reset.php:37246 msgid "Pro WordPress plugins"247 msgstr ""248 249 237 #: inc/settings-register.php:54 250 238 msgid "Rate Plugin" … … 323 311 msgstr "" 324 312 325 #: inc/settings-reset.php:3 6326 msgid " Take 30% OFF any of our"313 #: inc/settings-reset.php:35 314 msgid "Super Plugin Sale!" 327 315 msgstr "" 328 316 -
disable-gutenberg/trunk/readme.txt
r3042254 r3104781 10 10 Contributors: specialk 11 11 Requires at least: 4.9 12 Tested up to: 6. 513 Stable tag: 3.1. 114 Version: 3.1. 112 Tested up to: 6.6 13 Stable tag: 3.1.2 14 Version: 3.1.2 15 15 Requires PHP: 5.6.20 16 16 Text Domain: disable-gutenberg … … 306 306 307 307 308 **3.1.1 (2024/02/27)** 309 308 **3.1.2 (2024/06/19)** 309 310 * Fixes bug with `dismiss_notice_link` 310 311 * Updates plugin settings page 311 312 * Updates default translation template 312 * Improves plugin docs/readme.txt313 * Tests on WordPress 6.5 (beta) 313 * Tests on WordPress 6.6 (beta) 314 314 315 315 316 Full 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.