Version 0.7 always shows the "successfully encoded" message
-
Hi!
After updating to version 0.7 I always have the “successfully encoded” message under each encoded email address in my pages and posts. This message is also visible when currently not logged-in as an admin, so every visitor of the page will see this.
As a workaround I changed the “get_html_checked” function as follows:
function get_html_checked($content) { if(current_user_can('manage_options')) { return $content . '<a href="javascript:;" class="encoded-check"' . ' title="' . __('Successfully Encoded (this is a check and only visible when logged in as admin)', $this->domain) . '">' . '<img class="encoded-check-icon" src="' . plugins_url('images/icon-email-encoder-bundle.png', __FILE__) . '" alt="' . __('Encoded', $this->domain) . '" />' . __('Succesfully Encoded', $this->domain) . '</a>'; } else { return $content; } }
Best regards
Saschahttps://www.ads-software.com/extend/plugins/email-encoder-bundle/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Version 0.7 always shows the "successfully encoded" message’ is closed to new replies.