Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LBDesign Button Shortcode
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plugins
LBDesign Button Shortcode
Commits
ee96ff3b
Commit
ee96ff3b
authored
7 years ago
by
Lauren
Browse files
Options
Downloads
Patches
Plain Diff
Fixes loading TinyMCE filters on front end, breaking Job Manager form.
Updated to version 1.3.2.
parent
328d6b41
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
js/lbdesign-button-shortcode.js
+1
-1
1 addition, 1 deletion
js/lbdesign-button-shortcode.js
lbdesign-button-shortcode.php
+5
-3
5 additions, 3 deletions
lbdesign-button-shortcode.php
readme.txt
+1
-1
1 addition, 1 deletion
readme.txt
with
7 additions
and
5 deletions
js/lbdesign-button-shortcode.js
+
1
−
1
View file @
ee96ff3b
...
...
@@ -91,7 +91,7 @@
longname
:
'
LBDesign Button Shortcode
'
,
author
:
'
Lauren Pittenger @ LBDesign
'
,
authorurl
:
'
http://lbdesign.tv
'
,
version
:
"
1.3.
1
"
version
:
"
1.3.
2
"
};
}
});
...
...
This diff is collapsed.
Click to expand it.
lbdesign-button-shortcode.php
+
5
−
3
View file @
ee96ff3b
...
...
@@ -5,7 +5,7 @@
* Author: Lauren Pittenger @ LBDesign
* Author URI: http://laurenpittenger.com
* License: GPL
* Version: 1.3.
1
* Version: 1.3.
2
*/
/* our main shortcode function */
...
...
@@ -59,8 +59,10 @@ add_action( 'wp_enqueue_scripts', 'lbdesign_button_styles' );
function
lbdesign_tinymce_buttons
()
{
add_filter
(
'mce_external_plugins'
,
'lbdesign_add_buttons'
);
// hooks plugin to TinyMCE
add_filter
(
'mce_buttons'
,
'lbdesign_register_buttons'
);
// used to show which buttons to show on TinyMCE
if
(
is_admin
()
&&
current_user_can
(
'edit_posts'
)
&&
current_user_can
(
'edit_pages'
)
)
{
add_filter
(
'mce_external_plugins'
,
'lbdesign_add_buttons'
);
// hooks plugin to TinyMCE
add_filter
(
'mce_buttons'
,
'lbdesign_register_buttons'
);
// used to show which buttons to show on TinyMCE
}
}
add_action
(
'init'
,
'lbdesign_tinymce_buttons'
);
...
...
This diff is collapsed.
Click to expand it.
readme.txt
+
1
−
1
View file @
ee96ff3b
...
...
@@ -3,7 +3,7 @@ Contributors: lepittenger
Tags: shortcode, wordpress button plugin, wordpress buttons, button generator, button, buttons, simple buttons, button shortcode
Requires at least: 3.0.1
Tested up to: 4.8.2
Stable tag: 1.3.
1
Stable tag: 1.3.
2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment