[Minibug fix] undefined variable notice
-
Hiya,
Love the plugin! Here’s just a small headsup for the next version:
Find line 261:
if ( $this->options[ 'icon' ] > 0 AND ( empty( $this->options[ 'no_icon_class' ] ) OR strpos( $attrs[ 'class' ], $this->options[ 'no_icon_class' ] ) === FALSE ) AND strpos( $attrs[ 'class' ], 'mail-icon-' ) === FALSE ) {
Replace with:
if ( $this->options[ 'icon' ] > 0 AND ( empty( $this->options[ 'no_icon_class' ] ) OR ( isset( $attrs[ 'class' ] ) && strpos( $attrs[ 'class' ], $this->options[ 'no_icon_class' ] ) === FALSE ) ) AND ( isset( $attrs[ 'class' ] ) && strpos( $attrs[ 'class' ], 'mail-icon-' ) === FALSE ) ) {
Hope this help! Keep up the good work.
Smile,
Juliette
- The topic ‘[Minibug fix] undefined variable notice’ is closed to new replies.