{"id":23936,"date":"2013-06-23T20:18:16","date_gmt":"2013-06-23T20:18:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/p5\/"},"modified":"2014-05-20T09:45:39","modified_gmt":"2014-05-20T09:45:39","slug":"p5","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/p5\/","author":11886098,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"1.4","tested":"3.9.40","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"P5 : Plenty of Perishable Passwords for Protected Posts","header_author":"Cyril Batillat","header_description":"","assets_banners_color":"ece8cf","last_updated":"2014-05-20 09:45:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/bazalt.fr\/","rating":5,"author_block_rating":0,"active_installs":40,"downloads":3387,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"730937","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"730937","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"730653","resolution":"1","location":"assets"}},"screenshots":{"1":"A protected post with multiple passwords"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1946,1930,47690],"plugin_category":[54],"plugin_contributors":[87505],"plugin_business_model":[],"class_list":["post-23936","plugin","type-plugin","status-publish","hentry","plugin_tags-expiration","plugin_tags-password","plugin_tags-protected-posts","plugin_category-security-and-spam-protection","plugin_contributors-cyrilbatillat","plugin_committers-cyrilbatillat"],"banners":{"banner":"https:\/\/ps.w.org\/p5\/assets\/banner-772x250.png?rev=730937","banner_2x":"https:\/\/ps.w.org\/p5\/assets\/banner-1544x500.png?rev=730937","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/p5_ece8cf.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/p5\/assets\/screenshot-1.png?rev=730653","caption":"A protected post with multiple passwords"}],"raw_content":"<!--section=description-->\n<p>By default, Wordpress can protect each post with one and only password. This plugin gives you the possibility to assign multiple passwords on each post, with an expiration date.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Specify WordPress timezone on General Settings screen (\/wp-admin\/options-general.php). If possible, choose a real timezone (eg 'Europe\/London') which may be more accurate than offsets ('+2:00') in some cases. <\/li>\n<li><p>Be sure that your template files use the WordPress function to protect your content :<\/p>\n\n<p>\n    \n        \n    \n    \nSee <a href=\"http:\/\/codex.wordpress.org\/Using_Password_Protection\">WordPress codex<\/a> for more info.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What happens when a password expire ?<\/dt>\n<dd><p>The password is deleted from the database, so it is no longer attached to your post.<\/p><\/dd>\n<dt>Expired passwords aren't deleted. Why ?<\/dt>\n<dd><p>The plugin use WordPress cron feature to periodically delete expired passwords. Please make sure this functionnality is working on your WordPress installation. <a href=\"http:\/\/wordpress.org\/plugins\/wp-cron-control\/\">WP-Cron Control<\/a> plugin is a good way to see what's happening with the cron.<\/p><\/dd>\n<dt>My post is no longer protected. Why ?<\/dt>\n<dd><p>In WordPress, a post is protected as long as it has a password attached. When all the post passwords have expired, the post is no longer protected. It's as simple as that.\nTo keep a post protected, assign it a password without an expiration date.<\/p><\/dd>\n<dt>Are my already defined passwords conserved after installation ?<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt>Are my password-protected posts still protected when I deactivate\/uninstall p5 plugin ?<\/dt>\n<dd><p>Yes. After deactivation or uninstallation, your posts are still protected with the first password that was attached to each of them.<\/p><\/dd>\n<dt>My password is supposed to be expired, but I still can see my protected content<\/dt>\n<dd><p>Be sure that the timezone is well defined in \/wp-admin\/options-general.php<\/p><\/dd>\n<dt>Does this plugin provide some hooks ?<\/dt>\n<dd><p>Yes. Actually these actions are defined :<\/p>\n\n<ol>\n<li>p5_insert_password, called after insertion of a new password<\/li>\n<li>p5_update_password, called after password update<\/li>\n<li>p5_save_password, called indifferently after p5_insert_password or p5_update_password.<\/li>\n<li>p5_delete_password, after a password has been deleted<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed bug on cookie expiration date, due to difference of timezone between WordPress and the client<\/li>\n<li>Minor improvements for WP UI<\/li>\n<li>Updated jQuery Timepicker Addon<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<p>Get ready for languages packs (WP 3.7.1 feature)<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Workaround to url_to_postid getting bugged. (see http:\/\/core.trac.wordpress.org\/ticket\/19744)\nThe post ID was not retrieved on custom post types.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Use CSS scope on jQuery UI datetime picker to avoid collisions<\/p>\n\n<h4>1.0<\/h4>\n\n<p>First release<\/p>","raw_excerpt":"Specify multiple passwords for pages \/ posts \/ custom post  types. An expiration date can be set for each password.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23936"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cyrilbatillat"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23936"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23936"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23936"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23936"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23936"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}