- Update replaced version 1.1.2 with 1.2.0 for release
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@920417 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
0f6e468165
commit
e7e9367027
3 changed files with 8 additions and 8 deletions
|
@ -4,15 +4,15 @@
|
|||
* User: Stefan
|
||||
* Date: 24.05.14
|
||||
* Time: 14:47
|
||||
* Version: 1.1.2
|
||||
* Since: 1.1.2
|
||||
* Version: 1.2.0
|
||||
* Since: 1.2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* adds a new button to the WYSIWYG editor for pages and posts
|
||||
* @param array $buttons
|
||||
* @return array
|
||||
* @since 1.1.2
|
||||
* @since 1.2.0
|
||||
*/
|
||||
function footnotes_wysiwyg_editor_functions($buttons) {
|
||||
array_push($buttons, FOOTNOTES_PLUGIN_NAME);
|
||||
|
@ -23,7 +23,7 @@ function footnotes_wysiwyg_editor_functions($buttons) {
|
|||
* includes a javascript file to have a on-click function for the new button in the WYSIWYG editor
|
||||
* @param array $plugin_array
|
||||
* @return array
|
||||
* @since 1.1.2
|
||||
* @since 1.2.0
|
||||
*/
|
||||
function footnotes_wysiwyg_editor_buttons($plugin_array) {
|
||||
$plugin_array[FOOTNOTES_PLUGIN_NAME] = plugins_url('/../js/wysiwyg-editor.js', __FILE__);
|
||||
|
@ -32,7 +32,7 @@ function footnotes_wysiwyg_editor_buttons($plugin_array) {
|
|||
|
||||
/**
|
||||
* adds a new button to the plain text editor for pages and posts
|
||||
* @since 1.1.2
|
||||
* @since 1.2.0
|
||||
*/
|
||||
function footnotes_text_editor_buttons() {
|
||||
?>
|
||||
|
@ -55,7 +55,7 @@ function footnotes_text_editor_buttons() {
|
|||
/**
|
||||
* adds a new button to the plain text editor
|
||||
*/
|
||||
QTags.addButton( 'footnotes_quicktag_button', 'Footnotes', footnotes_text_editor_callback );
|
||||
QTags.addButton( 'footnotes_quicktag_button', 'footnotes', footnotes_text_editor_callback );
|
||||
/**
|
||||
* callback function when the button is clicked
|
||||
* executes a ajax call to get the start and end tag for the footnotes and
|
||||
|
|
Reference in a new issue