=== Pleasant Viewer === Contributors: gserafini jscs Tags: bible, lesson, viewer, citations, christian-science Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Easily share Wednesday Readings, inspiring texts, lessons, benedictions and more on your WordPress site. Official site: PleasantViewer.org == Description == Provides the ability to enter Bible and Science and Health citations and publish and share the referenced text. Uses [cskit-rb](https://github.com/camertron/cskit-rb) written by Cameron. We built this plugin as part of the "Hack Your Church" hackathon at the U.C. Berkeley CSO. Participants / contributors include Gabriel, Julian, Cameron and James. Demonstration site here: [PleasantViewer.org](http://pleasantviewer.org) Allows zero-signup (anonymous) posting of citations. = Shortcodes: = Insert `[pleasantviewer]` on a page to display a form to add citations. Note that this will enable anonymous publishing of citations to your site. Citations are published as WordPress posts. == Installation == = Install via Plugins > Install New = 1. Search for "Pleasant Viewer" 2. Click the "Install Now" link 3. Click "Activate Plugin" = Via ZIP / FTP = 1. Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. = Use as a shortcode = Insert `[pleasantviewer]` on a page to display a form to add citations. Note that this will enable anonymous publishing of citations to your site. == Frequently Asked Questions == = Is Support Available? = Yes, use the contact form on the ShareThePractice.org [website](http://sharethepractice.org/contact/). == Screenshots == 1. Add citations form 2. Displayed citations == Changelog == = 1.3 = * Security: Add nonce verification to form submission * Security: Sanitize all user input (sanitize_text_field, sanitize_textarea_field, absint) * Security: Escape all output (esc_html, esc_attr, esc_url, wp_kses, wp_kses_post) * Security: Add capability checks for post creation * Fix: Resolve JavaScript error on pages without the Pleasant Viewer form * Improvement: Modernize jQuery to use .on() event binding and .done()/.fail() AJAX callbacks * Improvement: Add null guards for DOM element access * Improvement: Rename template file from underscore to hyphen convention * Improvement: Prefix all global functions with pleasantviewer_ * Coding standards: Full PHPCS WordPress-Extra compliance = 1.2 = * Release date: October 31, 2018 * Changed order of enqueued javascript to fix dependency = 1.1 = * Update API endpoints to use https, now should work on SSL served sites = 1.0 = * Initial release of plugin == Upgrade Notice == = 1.0 = Initial Release