diff --git a/wp-content/plugins/wp-footnotes/footnotes.php b/wp-content/plugins/wp-footnotes/footnotes.php index f2449a37a8515f797b51db5c838e22f7a8a76fec..48e7c17c1fdc2e48a652c27ed66d8a1aff51fe6c 100644 --- a/wp-content/plugins/wp-footnotes/footnotes.php +++ b/wp-content/plugins/wp-footnotes/footnotes.php @@ -85,7 +85,8 @@ class swas_wp_footnotes { } else { // Set any unset options - if ($this->current_options['version'] != WP_FOOTNOTES_VERSION) { + if ( !isset( $this->current_options['version'] ) || $this->current_options['version'] != WP_FOOTNOTES_VERSION ) { + foreach ($this->default_options as $key => $value) { if (!isset($this->current_options[$key])) { $this->current_options[$key] = $value; @@ -197,7 +198,7 @@ class swas_wp_footnotes { // Add footnote and record the key $identifiers[$i]['use_footnote'] = count($footnotes); $footnotes[$identifiers[$i]['use_footnote']]['text'] = $identifiers[$i]['text']; - $footnotes[$identifiers[$i]['use_footnote']]['symbol'] = $identifiers[$i]['symbol']; + $footnotes[$identifiers[$i]['use_footnote']]['symbol'] = isset( $identifiers[$i]['symbol'] ) ? $identifiers[$i]['symbol'] : ''; $footnotes[$identifiers[$i]['use_footnote']]['identifiers'][] = $i; } } @@ -270,7 +271,7 @@ class swas_wp_footnotes { */ function add_options_page() { // Add a new menu under Options: - add_options_page('Footnotes', 'Footnotes', 8, __FILE__, array($this, 'footnotes_options_page')); + add_options_page('Footnotes', 'Footnotes', 'manage_options', __FILE__, array($this, 'footnotes_options_page')); } diff --git a/wp-content/plugins/wp-footnotes/options.php b/wp-content/plugins/wp-footnotes/options.php index 273c29c533c76c6824bc4b1741a08108d474d986..16bd7277ef383b47e35f37d25a751a10ec174b3f 100644 --- a/wp-content/plugins/wp-footnotes/options.php +++ b/wp-content/plugins/wp-footnotes/options.php @@ -44,6 +44,10 @@

WP-Footnotes Options

+ +

Documentation & Support

+

You can view the documentation at sw'as, the author's website.

+

Identifier

@@ -139,25 +143,13 @@
- - - - - - - -

Bug Reports & Feature Requests

-

You should report any bugs you find and submit feature requests to the WordPress Plugins bug tracker (if you're not already you will need to be signed up and signed in at wordpress.org/extend/plugins).

-

If you have a general enquiry that isn't a bug or feature request, the best place is the WordPress.org support forums for WP-Footnotes. -

Contributing

-

The plugin is primarily maintained on GitHub with each new release synced to the WordPress Plugins repository. If you've got the skillz please contribute, it's as simple as making a pull request.

- -

Documentation & Support

-

You can view the documentation at sw'as, the author's website. Support is available via the community WordPress.org support forums for WP-Footnotes. I do monitor posts there and respond when I can.

Licensing & Copyright

Copyright © 2007- Simon Elvery

WP-Footnotes is licensed under the GNU GPL. WP-Footnotes comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the license for details.

+ +

The plugin is primarily maintained on GitHub with each new release synced to the WordPress Plugins repository. If you've got the skillz please contribute, it's as simple as making a pull request.

+ \ No newline at end of file