- 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
|
* User: Stefan
|
||||||
* Date: 24.05.14
|
* Date: 24.05.14
|
||||||
* Time: 14:47
|
* Time: 14:47
|
||||||
* Version: 1.1.2
|
* Version: 1.2.0
|
||||||
* Since: 1.1.2
|
* Since: 1.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* adds a new button to the WYSIWYG editor for pages and posts
|
* adds a new button to the WYSIWYG editor for pages and posts
|
||||||
* @param array $buttons
|
* @param array $buttons
|
||||||
* @return array
|
* @return array
|
||||||
* @since 1.1.2
|
* @since 1.2.0
|
||||||
*/
|
*/
|
||||||
function footnotes_wysiwyg_editor_functions($buttons) {
|
function footnotes_wysiwyg_editor_functions($buttons) {
|
||||||
array_push($buttons, FOOTNOTES_PLUGIN_NAME);
|
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
|
* includes a javascript file to have a on-click function for the new button in the WYSIWYG editor
|
||||||
* @param array $plugin_array
|
* @param array $plugin_array
|
||||||
* @return array
|
* @return array
|
||||||
* @since 1.1.2
|
* @since 1.2.0
|
||||||
*/
|
*/
|
||||||
function footnotes_wysiwyg_editor_buttons($plugin_array) {
|
function footnotes_wysiwyg_editor_buttons($plugin_array) {
|
||||||
$plugin_array[FOOTNOTES_PLUGIN_NAME] = plugins_url('/../js/wysiwyg-editor.js', __FILE__);
|
$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
|
* 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() {
|
function footnotes_text_editor_buttons() {
|
||||||
?>
|
?>
|
||||||
|
@ -55,7 +55,7 @@ function footnotes_text_editor_buttons() {
|
||||||
/**
|
/**
|
||||||
* adds a new button to the plain text editor
|
* 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
|
* callback function when the button is clicked
|
||||||
* executes a ajax call to get the start and end tag for the footnotes and
|
* executes a ajax call to get the start and end tag for the footnotes and
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Plugin URI: http://wordpress.org/plugins/footnotes/
|
Plugin URI: http://wordpress.org/plugins/footnotes/
|
||||||
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
||||||
Author: media competence institute
|
Author: media competence institute
|
||||||
Version: 1.1.2
|
Version: 1.2.0
|
||||||
Author URI: http://cheret.co.uk/mci
|
Author URI: http://cheret.co.uk/mci
|
||||||
Text Domain: footnotes
|
Text Domain: footnotes
|
||||||
Domain Path: /languages
|
Domain Path: /languages
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
author : 'media competence institute',
|
author : 'media competence institute',
|
||||||
authorurl : 'http://cheret.co.uk/mci',
|
authorurl : 'http://cheret.co.uk/mci',
|
||||||
infourl : 'http://wordpress.org/plugins/footnotes/',
|
infourl : 'http://wordpress.org/plugins/footnotes/',
|
||||||
version : "1.1.2"
|
version : "1.2.0"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue