Version Description
Download this release
Release Info
Developer | davdebcom |
Plugin | Post Snippets |
Version | 2.5.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.2 to 2.5.3
- lang/post-snippets-ro_RO.po +4 -4
- lang/post-snippets-sk_SK.po +4 -4
- lang/post-snippets-sr_RS.po +4 -4
- post-snippets.php +23 -27
- readme.txt +48 -76
- src/PostSnippets/Admin.php +1 -1
- src/PostSnippets/Help.php +1 -1
- src/PostSnippets/ImportExport.php +3 -3
- src/PostSnippets/Shortcode.php +1 -1
- src/PostSnippets/View.php +1 -1
- src/PostSnippets/WPEditor.php +1 -1
- tinymce/editor_plugin.js +2 -2
- views/help/sidebar.php +1 -1
lang/post-snippets-ro_RO.po
CHANGED
@@ -255,8 +255,8 @@ msgid "Post Snippets"
|
|
255 |
msgstr "Fragmente post"
|
256 |
|
257 |
#. Plugin URI of the plugin/theme
|
258 |
-
msgid "https://
|
259 |
-
msgstr "https://
|
260 |
|
261 |
#. Description of the plugin/theme
|
262 |
msgid "Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes."
|
@@ -267,6 +267,6 @@ msgid "Johan Steen"
|
|
267 |
msgstr "Johan Steen"
|
268 |
|
269 |
#. Author URI of the plugin/theme
|
270 |
-
msgid "https://
|
271 |
-
msgstr "https://
|
272 |
|
255 |
msgstr "Fragmente post"
|
256 |
|
257 |
#. Plugin URI of the plugin/theme
|
258 |
+
msgid "https://code.bitbebop.com/wordpress/post-snippets/"
|
259 |
+
msgstr "https://code.bitbebop.com/wordpress/post-snippets/"
|
260 |
|
261 |
#. Description of the plugin/theme
|
262 |
msgid "Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes."
|
267 |
msgstr "Johan Steen"
|
268 |
|
269 |
#. Author URI of the plugin/theme
|
270 |
+
msgid "https://code.bitbebop.com/"
|
271 |
+
msgstr "https://code.bitbebop.com/"
|
272 |
|
lang/post-snippets-sk_SK.po
CHANGED
@@ -327,8 +327,8 @@ msgid "Post Snippets"
|
|
327 |
msgstr "Príspevok úryvky"
|
328 |
|
329 |
#. Plugin URI of the plugin/theme
|
330 |
-
msgid "https://
|
331 |
-
msgstr "https://
|
332 |
|
333 |
#. Description of the plugin/theme
|
334 |
msgid ""
|
@@ -345,5 +345,5 @@ msgid "Johan Steen"
|
|
345 |
msgstr "Johan Steen"
|
346 |
|
347 |
#. Author URI of the plugin/theme
|
348 |
-
msgid "https://
|
349 |
-
msgstr "https://
|
327 |
msgstr "Príspevok úryvky"
|
328 |
|
329 |
#. Plugin URI of the plugin/theme
|
330 |
+
msgid "https://code.bitbebop.com/wordpress/post-snippets/"
|
331 |
+
msgstr "https://code.bitbebop.com/wordpress/post-snippets/"
|
332 |
|
333 |
#. Description of the plugin/theme
|
334 |
msgid ""
|
345 |
msgstr "Johan Steen"
|
346 |
|
347 |
#. Author URI of the plugin/theme
|
348 |
+
msgid "https://code.bitbebop.com/"
|
349 |
+
msgstr "https://code.bitbebop.com/"
|
lang/post-snippets-sr_RS.po
CHANGED
@@ -328,8 +328,8 @@ msgid "Post Snippets"
|
|
328 |
msgstr "Post Snippets"
|
329 |
|
330 |
#. Plugin URI of the plugin/theme
|
331 |
-
msgid "https://
|
332 |
-
msgstr "https://
|
333 |
|
334 |
#. Description of the plugin/theme
|
335 |
msgid ""
|
@@ -347,5 +347,5 @@ msgid "Johan Steen"
|
|
347 |
msgstr "Johan Steen"
|
348 |
|
349 |
#. Author URI of the plugin/theme
|
350 |
-
msgid "https://
|
351 |
-
msgstr "https://
|
328 |
msgstr "Post Snippets"
|
329 |
|
330 |
#. Plugin URI of the plugin/theme
|
331 |
+
msgid "https://code.bitbebop.com/wordpress/post-snippets/"
|
332 |
+
msgstr "https://code.bitbebop.com/wordpress/post-snippets/"
|
333 |
|
334 |
#. Description of the plugin/theme
|
335 |
msgid ""
|
347 |
msgstr "Johan Steen"
|
348 |
|
349 |
#. Author URI of the plugin/theme
|
350 |
+
msgid "https://code.bitbebop.com/"
|
351 |
+
msgstr "https://code.bitbebop.com/"
|
post-snippets.php
CHANGED
@@ -1,31 +1,27 @@
|
|
1 |
<?php
|
2 |
-
/*
|
3 |
-
Plugin Name: Post Snippets
|
4 |
-
Plugin URI: https://johansteen.se/code/post-snippets/
|
5 |
-
Description: Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes.
|
6 |
-
Author: Johan Steen
|
7 |
-
Author URI: https://johansteen.se/
|
8 |
-
Version: 2.5.2
|
9 |
-
License: GPLv2 or later
|
10 |
-
Text Domain: post-snippets
|
11 |
-
Domain Path: /lang
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
/** Load all of the necessary class files for the plugin */
|
31 |
spl_autoload_register('PostSnippets::autoload');
|
@@ -34,7 +30,7 @@ spl_autoload_register('PostSnippets::autoload');
|
|
34 |
* Init Singleton Class.
|
35 |
*
|
36 |
* @author Johan Steen <artstorm at gmail dot com>
|
37 |
-
* @link https://
|
38 |
*/
|
39 |
class PostSnippets
|
40 |
{
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
/**
|
4 |
+
* Post Snippets
|
5 |
+
*
|
6 |
+
* @package PS
|
7 |
+
* @author David de Boer <david@davdeb.com>
|
8 |
+
* @license GPL-2.0+
|
9 |
+
* @link https://www.postsnippets.com
|
10 |
+
* @copyright 2017 David de Boer
|
11 |
+
* @copyright 2009-2017 Johan Steen
|
12 |
+
*
|
13 |
+
* @wordpress-plugin
|
14 |
+
* Plugin Name: Post Snippets
|
15 |
+
* Plugin URI: https://www.postsnippets.com
|
16 |
+
* Description: Create custom shortcodes and reusable content and insert them in into your posts and pages.
|
17 |
+
* Version: 2.5.3
|
18 |
+
* Author: David de Boer
|
19 |
+
* Author URI: https://www.postsnippets.com
|
20 |
+
* License: GPL-2.0+
|
21 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
22 |
+
* Text Domain: post-snippets
|
23 |
+
* Domain Path: /lang
|
24 |
+
*/
|
25 |
|
26 |
/** Load all of the necessary class files for the plugin */
|
27 |
spl_autoload_register('PostSnippets::autoload');
|
30 |
* Init Singleton Class.
|
31 |
*
|
32 |
* @author Johan Steen <artstorm at gmail dot com>
|
33 |
+
* @link https://www.postsnippets.com
|
34 |
*/
|
35 |
class PostSnippets
|
36 |
{
|
readme.txt
CHANGED
@@ -1,52 +1,37 @@
|
|
1 |
=== Post Snippets ===
|
2 |
-
Contributors:
|
3 |
-
|
4 |
-
Tags: post, admin, snippet, shortcode, html, custom, page, dynamic, editor, php, code
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to: 4.
|
7 |
-
|
|
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
-
can be set for more flexibility. Inserts directly or as shortcodes.
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
predefined variables to replace parts of the snippet on insert. All snippets are
|
19 |
-
available in the post editor via a button in the Visual and HTML modes. The
|
20 |
-
snippet can be inserted as defined, or as a shortcode to keep flexibility for
|
21 |
-
updating the snippet. PHP code is supported for snippets inserted as shortcodes.
|
22 |
|
23 |
= Features =
|
24 |
|
25 |
-
* **Insert** All defined snippets is inserted from a button directly in the post
|
26 |
-
|
27 |
-
* **
|
28 |
-
* **
|
29 |
-
* **
|
30 |
-
|
31 |
-
* **Admin** Easy to use administration panel where you can add, edit and remove
|
32 |
-
snippets.
|
33 |
-
* **Variables** Each snippet can have as many custom variables as you like,
|
34 |
-
which can be used on insert.
|
35 |
* **Import/Export** Snippets can be imported and exported between sites.
|
36 |
-
* **Documentation** Full documentation is available directly from the help panel
|
37 |
-
|
38 |
-
* **Uninstall** If you delete the plugin from your plugins panel it cleans up
|
39 |
-
all data it has created in the Wordpress database.
|
40 |
|
41 |
= Related Links =
|
42 |
|
43 |
-
* [
|
44 |
-
|
45 |
-
* [Support Forum](http://wordpress.org/support/plugin/post-snippets
|
46 |
-
"Use this for support and feature requests")
|
47 |
-
* [GitHub](https://github.com/artstorm/post-snippets
|
48 |
-
"Develop and contribute your code or report bugs")
|
49 |
-
|
50 |
|
51 |
== Installation ==
|
52 |
|
@@ -55,15 +40,22 @@ updating the snippet. PHP code is supported for snippets inserted as shortcodes.
|
|
55 |
* PHP version 5.3.0 or greater.
|
56 |
* WordPress version 3.3 or greater.
|
57 |
|
58 |
-
=
|
|
|
|
|
|
|
|
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
63 |
|
64 |
= Uninstall =
|
65 |
|
66 |
-
1. Deactivate Post Snippets in the 'Plugins' menu in
|
67 |
2. Select Post Snippets in the 'Recently Active Plugins' section and select
|
68 |
'Delete' from the 'Bulk Actions' drop down menu.
|
69 |
3. This will delete all the plugin files from the server as well as erasing all
|
@@ -71,63 +63,43 @@ updating the snippet. PHP code is supported for snippets inserted as shortcodes.
|
|
71 |
|
72 |
== Frequently Asked Questions ==
|
73 |
|
74 |
-
= Where can I
|
75 |
|
76 |
-
Documentation for the plugin is available directly from the
|
77 |
-
plugin administration screen.
|
78 |
|
79 |
-
= Why
|
80 |
|
81 |
-
|
82 |
-
Settings -> Upload Settings -> Upload file types.
|
83 |
|
84 |
= How can I use the content in an enclosed shortcode? =
|
85 |
|
86 |
-
If the shortcode is enclosed and contains content between the tags in a post.
|
87 |
-
Example: `[shortcode]Some text[/shortcode]` the text within will be availble in
|
88 |
-
a variable called content. So in your snippet use {content} to display it. Don't
|
89 |
-
enter 'content' in the variable field, it's automatically assigned.
|
90 |
-
|
91 |
-
= Where can I send bug reports? =
|
92 |
-
|
93 |
-
Please visit the GitHub repository for
|
94 |
-
[Post Snippet](https://github.com/artstorm/post-snippets)
|
95 |
-
and open an [issue](https://github.com/artstorm/post-snippets/issues).
|
96 |
-
Please create an issue that conforms with
|
97 |
-
[necolas's guidelines](https://github.com/necolas/issue-guidelines).
|
98 |
|
99 |
= Where can I get support? =
|
100 |
|
101 |
-
Please visit the [Support Forum](
|
102 |
-
for questions, answers, support and feature requests.
|
103 |
|
104 |
-
=
|
105 |
|
106 |
-
|
107 |
-
code your theme's functions.php or to wp-config.php:
|
108 |
-
`define('POST_SNIPPETS_DISABLE_PHP', true);`
|
109 |
|
110 |
This is useful if you are using this plugin for client sites, and don't want
|
111 |
your clients to be able to use PHP code in a post snippet.
|
112 |
|
113 |
-
= How can I contribute to the plugin? =
|
114 |
-
|
115 |
-
If you want to contribute improved code or new features for the plugin. Please
|
116 |
-
open a pull request at the [Post Snippets GitHub repository](https://github.com/artstorm/post-snippets).
|
117 |
-
Please open a pull request that conforms with [necolas's guidelines](https://github.com/necolas/issue-guidelines).
|
118 |
-
Contributions are appreciated and encouraged.
|
119 |
-
|
120 |
-
|
121 |
== Screenshots ==
|
122 |
|
123 |
-
1.
|
124 |
-
2. The
|
125 |
-
3. The Post Snippet insert dialog.
|
126 |
-
4.
|
127 |
-
|
128 |
|
129 |
== Changelog ==
|
130 |
|
|
|
|
|
|
|
131 |
= Version 2.5.2 - 7 Feb 2016 =
|
132 |
* Fixes an issue than can occur when other plugins bootstrap WordPress Admin
|
133 |
and then includes `admin_head` but not `admin_footer`, like download monitor.
|
1 |
=== Post Snippets ===
|
2 |
+
Contributors: davdebcom
|
3 |
+
Tags: custom snippet, custom shortcode, snippet, snippets, shortcode, shortcodes, block, blocks, html
|
|
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.9
|
6 |
+
Requires PHP: 5.3
|
7 |
+
Stable tag: 2.5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Create custom shortcodes and reusable content and insert them in into your posts and pages.
|
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
> Create custom shortcodes and reusable content and insert them in into your posts and pages.
|
16 |
+
|
17 |
+
This plugin lets you build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts and pages. You can use predefined variables to replace parts of the snippet on insert. All snippets are available in the post editor via a button in the Visual mode. The snippet can be inserted as defined, or as a shortcode to keep flexibility for updating the snippet. PHP code is supported for snippets inserted as shortcodes.
|
|
|
|
|
|
|
18 |
|
19 |
= Features =
|
20 |
|
21 |
+
* **Insert** All defined snippets is inserted from a button directly in the post editor.
|
22 |
+
* **Shortcodes** You can use this plugin to create your own custom shortcodes.
|
23 |
+
* **PHP** A shortcode snippet can optionally be processed as PHP code.
|
24 |
+
* **Buttons** The snippets can be found in the (visual) WordPress editor with a button and in the HTML editor with a quicktag.
|
25 |
+
* **User-friendly** Easy to use 'Manage Snippets' page where you can add, edit and remove snippets.
|
26 |
+
* **Variables** Each snippet can have as many custom variables as you like, which can be used on insert.
|
|
|
|
|
|
|
|
|
27 |
* **Import/Export** Snippets can be imported and exported between sites.
|
28 |
+
* **Documentation** Full documentation is available directly from the help panel in the plugin (top right in WordPress).
|
29 |
+
* **Uninstall** If you delete the plugin from your plugins panel it cleans up all data it has created in the WordPress database.
|
|
|
|
|
30 |
|
31 |
= Related Links =
|
32 |
|
33 |
+
* [Website](https://www.postsnippets.com/)
|
34 |
+
* [Support](http://wordpress.org/support/plugin/post-snippets)
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
== Installation ==
|
37 |
|
40 |
* PHP version 5.3.0 or greater.
|
41 |
* WordPress version 3.3 or greater.
|
42 |
|
43 |
+
= Automatic installation =
|
44 |
+
|
45 |
+
1. Install the plugin via Plugins > New plugin. Search for 'Post Snippets'.
|
46 |
+
2. Activate the 'Post Snippets' plugin through the 'Plugins' menu in WordPress.
|
47 |
+
3. Go to Settings > Post Snippets and start entering your snippets.
|
48 |
|
49 |
+
= Manual installation =
|
50 |
+
|
51 |
+
1. Unpack the downloaded package
|
52 |
+
2. Unzip and upload the directory 'post-snippets' to the `/wp-content/plugins/` directory
|
53 |
+
3. Activate the 'Post Snippets' plugin through the 'Plugins' menu in WordPress
|
54 |
+
4. Go to Settings > Post Snippets and start entering your snippets.
|
55 |
|
56 |
= Uninstall =
|
57 |
|
58 |
+
1. Deactivate Post Snippets in the 'Plugins' menu in WordPress.
|
59 |
2. Select Post Snippets in the 'Recently Active Plugins' section and select
|
60 |
'Delete' from the 'Bulk Actions' drop down menu.
|
61 |
3. This will delete all the plugin files from the server as well as erasing all
|
63 |
|
64 |
== Frequently Asked Questions ==
|
65 |
|
66 |
+
= Where can I the documentation? =
|
67 |
|
68 |
+
Documentation for the plugin is available directly from the Help panel in the
|
69 |
+
plugin administration screen (top right corner of WordPress).
|
70 |
|
71 |
+
= Why does importing Snippets on a Multisite installation fail? =
|
72 |
|
73 |
+
Uploading of zip files must be allowed, enable this in Sites Network Admin > Settings > Upload Settings > Upload file types.
|
|
|
74 |
|
75 |
= How can I use the content in an enclosed shortcode? =
|
76 |
|
77 |
+
If the shortcode is enclosed and contains content between the tags in a post. Example: `[shortcode]Some text[/shortcode]` the text within will be available in a variable called content. So in your snippet use {content} to display it. Don't enter 'content' in the variable field, it's automatically assigned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
= Where can I get support? =
|
80 |
|
81 |
+
Please visit the [Support Forum](https://wordpress.org/support/plugin/post-snippets) for questions, answers, support and feature requests.
|
|
|
82 |
|
83 |
+
= Can I disable the PHP Code Execution feature? =
|
84 |
|
85 |
+
To disable the "PHP Code" execution feature in this plugin, add the following code your theme's functions.php or to wp-config.php: `define('POST_SNIPPETS_DISABLE_PHP', true);`
|
|
|
|
|
86 |
|
87 |
This is useful if you are using this plugin for client sites, and don't want
|
88 |
your clients to be able to use PHP code in a post snippet.
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
== Screenshots ==
|
91 |
|
92 |
+
1. Settings > Post Snippets: the admin page where you create and manage snippets.
|
93 |
+
2. The convenient button for Post Snippets in the WordPress editor.
|
94 |
+
3. The Post Snippet insert dialog that shows all snippets.
|
95 |
+
4. Example of an inserted snippet, with optional variables.
|
96 |
+
5. Easy to access inline documentation (top right 'Help' button in WordPress).
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= Version 2.5.3 - 14 Feb 2016 =
|
101 |
+
* Fixes an issue with the compression library for import and export.
|
102 |
+
|
103 |
= Version 2.5.2 - 7 Feb 2016 =
|
104 |
* Fixes an issue than can occur when other plugins bootstrap WordPress Admin
|
105 |
and then includes `admin_head` but not `admin_footer`, like download monitor.
|
src/PostSnippets/Admin.php
CHANGED
@@ -8,7 +8,7 @@ namespace PostSnippets;
|
|
8 |
* methods to simply the maintainance of the admin screen.
|
9 |
*
|
10 |
* @author Johan Steen <artstorm at gmail dot com>
|
11 |
-
* @link https://
|
12 |
*/
|
13 |
class Admin
|
14 |
{
|
8 |
* methods to simply the maintainance of the admin screen.
|
9 |
*
|
10 |
* @author Johan Steen <artstorm at gmail dot com>
|
11 |
+
* @link https://code.bitbebop.com/
|
12 |
*/
|
13 |
class Admin
|
14 |
{
|
src/PostSnippets/Help.php
CHANGED
@@ -5,7 +5,7 @@ namespace PostSnippets;
|
|
5 |
* Handles the plugin help screen.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
-
* @link https://
|
9 |
*/
|
10 |
class Help
|
11 |
{
|
5 |
* Handles the plugin help screen.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
+
* @link https://code.bitbebop.com/
|
9 |
*/
|
10 |
class Help
|
11 |
{
|
src/PostSnippets/ImportExport.php
CHANGED
@@ -7,7 +7,7 @@ namespace PostSnippets;
|
|
7 |
* Class to handle import and export of Snippets.
|
8 |
*
|
9 |
* @author Johan Steen <artstorm at gmail dot com>
|
10 |
-
* @link https://
|
11 |
*/
|
12 |
class ImportExport
|
13 |
{
|
@@ -80,7 +80,7 @@ class ImportExport
|
|
80 |
|
81 |
if (isset($file['file']) && !is_wp_error($file)) {
|
82 |
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
|
83 |
-
$zip = new PclZip($file['file']);
|
84 |
$dir = wp_upload_dir();
|
85 |
$upload_dir = $dir['basedir'] . '/';
|
86 |
chdir($upload_dir);
|
@@ -167,7 +167,7 @@ class ImportExport
|
|
167 |
// Create a zip archive
|
168 |
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
|
169 |
chdir($upload_dir);
|
170 |
-
$zip = new PclZip('./'.self::FILE_ZIP);
|
171 |
$zipped = $zip->create('./'.self::FILE_CFG);
|
172 |
|
173 |
// Delete the snippet file
|
7 |
* Class to handle import and export of Snippets.
|
8 |
*
|
9 |
* @author Johan Steen <artstorm at gmail dot com>
|
10 |
+
* @link https://code.bitbebop.com/
|
11 |
*/
|
12 |
class ImportExport
|
13 |
{
|
80 |
|
81 |
if (isset($file['file']) && !is_wp_error($file)) {
|
82 |
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
|
83 |
+
$zip = new \PclZip($file['file']);
|
84 |
$dir = wp_upload_dir();
|
85 |
$upload_dir = $dir['basedir'] . '/';
|
86 |
chdir($upload_dir);
|
167 |
// Create a zip archive
|
168 |
require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');
|
169 |
chdir($upload_dir);
|
170 |
+
$zip = new \PclZip('./'.self::FILE_ZIP);
|
171 |
$zipped = $zip->create('./'.self::FILE_CFG);
|
172 |
|
173 |
// Delete the snippet file
|
src/PostSnippets/Shortcode.php
CHANGED
@@ -5,7 +5,7 @@ namespace PostSnippets;
|
|
5 |
* Shortcode Handling.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
-
* @link https://
|
9 |
*/
|
10 |
class Shortcode
|
11 |
{
|
5 |
* Shortcode Handling.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
+
* @link https://code.bitbebop.com/
|
9 |
*/
|
10 |
class Shortcode
|
11 |
{
|
src/PostSnippets/View.php
CHANGED
@@ -5,7 +5,7 @@ namespace PostSnippets;
|
|
5 |
* View Handling.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
-
* @link https://
|
9 |
*/
|
10 |
class View
|
11 |
{
|
5 |
* View Handling.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
+
* @link https://code.bitbebop.com/
|
9 |
*/
|
10 |
class View
|
11 |
{
|
src/PostSnippets/WPEditor.php
CHANGED
@@ -5,7 +5,7 @@ namespace PostSnippets;
|
|
5 |
* Post Snippets WP Editor.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
-
* @link https://
|
9 |
*/
|
10 |
class WPEditor
|
11 |
{
|
5 |
* Post Snippets WP Editor.
|
6 |
*
|
7 |
* @author Johan Steen <artstorm at gmail dot com>
|
8 |
+
* @link https://code.bitbebop.com/
|
9 |
*/
|
10 |
class WPEditor
|
11 |
{
|
tinymce/editor_plugin.js
CHANGED
@@ -40,8 +40,8 @@
|
|
40 |
return {
|
41 |
longname : 'Post Snippets',
|
42 |
author : 'Johan Steen',
|
43 |
-
authorurl : 'https://
|
44 |
-
infourl : 'https://
|
45 |
version : '1.9'
|
46 |
};
|
47 |
}
|
40 |
return {
|
41 |
longname : 'Post Snippets',
|
42 |
author : 'Johan Steen',
|
43 |
+
authorurl : 'https://code.bitbebop.com/',
|
44 |
+
infourl : 'https://code.bitbebop.com/wordpress/post-snippets/',
|
45 |
version : '1.9'
|
46 |
};
|
47 |
}
|
views/help/sidebar.php
CHANGED
@@ -10,6 +10,6 @@ _e('Support Forums', 'post-snippets');
|
|
10 |
_e('GitHub Repository', 'post-snippets');
|
11 |
?></a></p>
|
12 |
|
13 |
-
<p><a href="https://
|
14 |
_e('Donate', 'post-snippets');
|
15 |
?></a></p>
|
10 |
_e('GitHub Repository', 'post-snippets');
|
11 |
?></a></p>
|
12 |
|
13 |
+
<p><a href="https://code.bitbebop.com/donate/" target="_blank"><?php
|
14 |
_e('Donate', 'post-snippets');
|
15 |
?></a></p>
|