Skip to content

Commit a69c763

Browse files
committed
wp-skltn update; prepared release
1 parent f705999 commit a69c763

17 files changed

+33
-28
lines changed

.wp-skeleton.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"slug": "enlighter",
33
"name": "Enlighter",
44
"namespace": "Enlighter",
5-
"version": "4.0-BETA3",
5+
"version": "4.0",
66
"license": "GPL-2.0",
77
"licenseFile": "LICENSE.txt",
88
"constants": {},
99
"phpVersion": "5.6",
1010
"plugin": {
1111
"name": "Enlighter - Customizable Syntax Highlighter",
12-
"description": "Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor",
12+
"description": "all-in-one syntax highlighting solution",
1313
"url": "https://enlighterjs.org",
1414
"author": "Andi Dittrich",
15-
"authorUrl": "https://andidittrich.de"
15+
"authorUrl": "https://andidittrich.com"
1616
},
1717
"skltnVersion": "0.22.0",
1818
"modules": {

Enlighter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
/**
33
Plugin Name: Enlighter - Customizable Syntax Highlighter
44
Plugin URI: https://enlighterjs.org
5-
Description: Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor
6-
Version: 4.0-BETA3
5+
Description: all-in-one syntax highlighting solution
6+
Version: 4.0
77
Author: Andi Dittrich
8-
Author URI: https://andidittrich.de
8+
Author URI: https://andidittrich.com
99
License: GPL-2.0
1010
Text Domain: enlighter
1111
Domain Path: /lang
@@ -16,11 +16,11 @@
1616
// Plugin Bootstrap Operation
1717
// AUTO GENERATED CODE - DO NOT EDIT !!!
1818
define('ENLIGHTER_INIT', true);
19-
define('ENLIGHTER_VERSION', '4.0-BETA3');
19+
define('ENLIGHTER_VERSION', '4.0');
2020
define('ENLIGHTER_WPSKLTN_VERSION', '0.23.0');
2121
define('ENLIGHTER_PHP_VERSION', '5.6');
2222
define('ENLIGHTER_PLUGIN_TITLE', 'Enlighter - Customizable Syntax Highlighter');
23-
define('ENLIGHTER_PLUGIN_HEADLINE', 'Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor');
23+
define('ENLIGHTER_PLUGIN_HEADLINE', 'all-in-one syntax highlighting solution');
2424
define('ENLIGHTER_PLUGIN_PATH', dirname(__FILE__));
2525
define('ENLIGHTER_PLUGIN_URL', plugins_url('/enlighter/'));
2626

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Using it can be as simple as adding a new Enlighter Sourcecode block (Gutenberg)
1919
An easy to use Theme-Customizer is included to modify the build-in themes **without any css knowlegde!**
2020
It also supports the automatic creation of tab-panes to display code-groups together (useful for multi-language examples - e.g. html+css+js)
2121

22+
* [Upgrade Guide](https://github.com/EnlighterJS/documentation/blob/master/wordpress/upgrade/v4.md) for Enlighter v4
23+
* [Theme Compatibility](https://github.com/EnlighterJS/documentation/blob/master/wordpress/WPThemeCompatibility.md)
24+
* [Enlighter WordPress Plugin Docs](https://github.com/EnlighterJS/documentation/tree/master/wordpress)
25+
2226
### Plugin Features ###
2327

2428
* **Full Gutenberg Editor Integration**
@@ -78,9 +82,10 @@ Shortcodes are deprecated and should be used in **text editor mode only** - neve
7882
In case your language is not available try the **Generic Mode** which covers a lot of programming languages - or request a new language on [GitHub](https://github.com/EnlighterJS/EnlighterJS/issues)
7983

8084
### Related Links ###
81-
* [Enlighter Plugin Docs + Tutorials](https://github.com/EnlighterJS/Plugin.WordPress/docs)
85+
86+
* [Enlighter Plugin Docs + Tutorials](https://github.com/EnlighterJS/documentation/tree/master/wordpress)
8287
* [Enlighter Plugin on GitHub](https://github.com/EnlighterJS/Plugin.WordPress)
83-
* [EnlighterJS Documentation](http://enlighterjs.org)
88+
* [EnlighterJS Documentation](https://github.com/EnlighterJS/documentation)
8489

8590
## Compatibility ##
8691

modules/skltn/CacheManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/CssBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/EnvironmentCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/Hash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/HtmlUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/Plugin.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------
@@ -271,7 +271,7 @@ public function showUpgradeAvailabilityNotification($currentPluginMetadata, $new
271271
public function showUpgradeMessage(){
272272
// styling
273273
echo '<div class="notice notice-success is-dismissible"><p>';
274-
echo '<strong>Enlighter Plugin Upgrade:</strong> The Plugin has been upgraded to <strong>4.0-BETA3</strong>';
274+
echo '<strong>Enlighter Plugin Upgrade:</strong> The Plugin has been upgraded to <strong>4.0</strong>';
275275
echo '</p></div>';
276276
}
277277

@@ -300,14 +300,14 @@ public static function run($pluginName){
300300
// plugin installed ?
301301
if ($version == '0.0.0'){
302302
// store new version
303-
update_option('enlighter-version', '4.0-BETA3');
303+
update_option('enlighter-version', '4.0');
304304

305305
// plugin upgraded ?
306-
}else if (version_compare('4.0-BETA3', $version, '>')){
306+
}else if (version_compare('4.0', $version, '>')){
307307
// run upgrade hook
308308
if ($i->_wp_plugin_upgrade($version)){
309309
// store new version
310-
update_option('enlighter-version', '4.0-BETA3');
310+
update_option('enlighter-version', '4.0');
311311

312312
// set flag (string!)
313313
update_option('enlighter-upgrade', 'true');

modules/skltn/PluginConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/ResourceManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/RewriteRuleHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/SettingsManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/SettingsViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

modules/skltn/VirtualPageManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

resources/admin/skltn.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ---------------------------------------------------------------------------------------------------------------
33
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
44
// --
5-
// -- Copyright (c) 2016-2019 Andi Dittrich
5+
// -- Copyright (c) 2016-2020 Andi Dittrich
66
// -- https://github.com/AndiDittrich/WP-Skeleton
77
// --
88
// ---------------------------------------------------------------------------------------------------------------

resources/admin/skltn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ---------------------------------------------------------------------------------------------------------------
22
// -- WP-SKELETON AUTO GENERATED FILE - DO NOT EDIT !!!
33
// --
4-
// -- Copyright (c) 2016-2019 Andi Dittrich
4+
// -- Copyright (c) 2016-2020 Andi Dittrich
55
// -- https://github.com/AndiDittrich/WP-Skeleton
66
// --
77
// ---------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)