Plugin Directory

Opened 8 years ago

#2688 new defect

php notice after settings are saved

Reported by: commeuneimage's profile commeuneimage's profile Commeuneimage Owned by:
Priority: normal Severity: minor
Plugin: not-listed Keywords: php notice
Cc:

Description

The following issue appears (once) in front-end or back-end after saving new settings (this is only visible on DEBUG mode)

Notice: Undefined index: version in D:\Profiles\jdelagausie\Documents\Docs perso\sites\_gandi\vhosts\cui.burp.fr\htdocs\wp-content\plugins\wp-footnotes\footnotes.php on line 88

Line 88 content:

if ($this->current_options['version'] != WP_FOOTNOTES_VERSION) {

Fix suggestion (not tested):

if (!isset($this->current_options['version']) || $this->current_options['version'] != WP_FOOTNOTES_VERSION) {

Change History (0)

Note: See TracTickets for help on using tickets.