=== ROT13 Encoder/Decoder ===
Contributors: kjvtough
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5F58ELJ9R3PVL&lc=CA&item_name=ROT13%20Encoder%20Wordpress%20Plugin%20Donation¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
Tags: rot13, ROT13, cipher, hide, hidden, obfuscate, spoiler, warning, trigger, punchline, solution, answer, encrypt, decrypt, encode, decode, post, page, content, comment, spam, troll, trolling
Requires at least: 2.0.2
Tested up to: 4.1.1
Stable tag: 1.8
License: GPL2
Plugin to encode/decode and display content using the ROT13 cipher.
== Description ==
The ROT13 Encoder/Decoder plugin allows bloggers and commenters to "encrypt" parts of their writing output with the [ROT13 cipher](http://en.wikipedia.org/wiki/ROT13) in order to conceal content from other readers who don't wish to read them.
Some cases where you or your site users may want to ROT13 content:
* Spoilers on a fan website when some visitors may not have caught up to the book/movie/TV episode being discussed.
* Discussing sensitive topics where a trigger warning may be required.
ROT13 Encoder/Decoder Features:
* Allow readers to decode by single- or double-clicking the ROT13'd text.
* Decoded content can be displayed inline or a tooltip-style popup.
* Visitors can also use ROT13 in their comments: e.g. `[rot13]Spoilerific content example[/rot13]`
* Site admins can ROT13 entire comments in one click (Useful for comments that may violate community rules, but you don't necessarily want to delete).
A TinyMCE menu button is added to the editor to help bloggers select text in their posts to ROT13.
== Installation ==
**Note:** `XXX` refers to the current version release.
= Automatic method =
1. Click 'Add New' on the 'Plugins' page.
2. Upload `rot13-encoderdecoder-XXX.zip` using the file uploader on the page
= Manual method =
1. Unzip `rot13-encoderdecoder-XXX.zip` and upload the `rot13-encoderdecoder` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
Hopefully everything here is straightforward, but if not, post in the support forum and I'll see what I can do.
== Screenshots ==
1. Settings screen for the plugin. Here, the settings show that ROT13'd content will be decoded in place when the user single-clicks on it, and visitors can use the `[rot13]` shortcode in their comments.
2. Blog post with some ROT13'd content decrypted in a pop-up.
3. Editor screen. Use [rot13] and [/rot13] to enclose the content to be ROT13'd, or select your text and click the ROT13 Encoder button.
4. If activated, visitors to your blog can also ROT13 their comments.
5. A comment with some ROT13'd content.
6. Comments screen when the ROT13 Encoder/Decoder plugin is enabled.
== Changelog ==
= 1.8 =
* Settings admin page now limited to users with `manage_options` permission (i.e., admin users only).
* Administrative ability to ROT13 comments limited to those with `manage_comments` permission.
* Fixed Javascript bug on Comments page.
= 1.7.1 =
* Fixed a now-nonexistent reference to a JavaScript object (fixes JS error w/ the Wordpress editor)
= 1.7 =
* Removed `rot13-encoderdecoder-admin-tinymce.js` (No need anymore; required JS variables now hooked directly into editor). Fixes incompatibility with OptimizePress.
= 1.6 =
* Site admins can ROT13 entire comments from the Comments screen.
* Dashicons support for WP 3.8 + added. Support for old-style icons in Admin/TinyMCE is deprecated.
* Quicktags support added.
= 1.5 =
* Added some error checking on the color options.
* New Decoding Trigger: "Hover" will decode the ROT13'd text when the mouse is over the encoded content.
* New Popup Box Shadow Settings for the ROT13 popup window.
= 1.4 =
* Palettes on Settings color controls are now loaded from colors read from the active Theme's stylesheet. This
should help in choosing colors that fit in with the active Theme.
* Text in pop-ups now take on the same font family as the original encoded text.
= 1.3 =
* Fixed JQuery bugs evident when shortcode is used multiple times on a single post.
* `"click"`/`"dblclick"` events now bound using `.on()` instead of `bind()` (allows other plugins to AJAX-load
content using the `[rot13]` shortcode without losing the decoding functionality).
* New popup options "Border Width" and "Border Radius".
* No more shilling on the Settings screen. Enjoy!
= 1.2 =
* Color picker on settings screen now uses the built-in Iris jQuery plugin.
* Use of `wp_localize_script` means no more passing values to Javascript files via query strings (DOING IT RIGHT!).
* Allowing commenters the use of ROT13 is now an option instead of automatic.
= 1.1 =
* Fixed some default settings.
* Improved documentation.
= 1.0 =
* Initial release.
== Upgrade Notice ==
= 1.7 =
New version fixes incompatibility with OptimizePress. Upgrade now
= 1.3 =
Fixed JQuery bugs. Please upgrade.
= 1.2 =
Farbtastic jQuery color picker previously used is deprecated by Wordpress. Please upgrade.
= 1.0 =
Initial release. No upgrade required.