Changeset 1307603
- Timestamp:
- 12/14/2015 12:47:52 AM (9 years ago)
- Location:
- wp-jv-post-reading-groups/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-jv-post-reading-groups/trunk/Readme.txt
r1307471 r1307603 5 5 Requires at least: 3.9.2 6 6 Tested up to: 4.4 7 Stable tag: 1. 67 Stable tag: 1.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 == Changelog == 61 61 62 = 1.7 = 63 Release date: December 14, 2015 64 65 * Fix a compatibility issue with WP 4.4 when it was not possible to add / rename or delete a Reading Group 66 62 67 = 1.6 = 63 68 Release date: December 13, 2015 … … 71 76 72 77 = 1.5 = 73 Release date: August 1, 201574 75 78 * Comments for private posts are now visible in Recent Comments widget (or any other similar) if the user is eligible 76 79 * Performance improvement by using minified js code … … 78 81 79 82 = 1.4 = 80 Release date: February 2, 201581 82 83 * Fix issue: post preview resulted in HTTP 404 83 84 * Fix issue: list of post reading groups was missing on add new user screen … … 85 86 86 87 = 1.3 = 87 Release date: January 29, 201588 89 88 * Fix issue: when user clicked on a URL of a private post multiple posts were shown 90 89 * Fix issue: private posts can't be distinguished on all posts admin screens … … 94 93 95 94 = 1.2 = 96 Release date: September 8, 201497 98 95 * Fix issue: WP DB prefix to run on any instance 99 96 100 97 = 1.1 = 101 Release date: September 7, 2014102 103 98 * Fix issue: click on a private post resulted in HTTP 404 104 99 * Fix issue: private posts where not included in recent posts widget … … 106 101 107 102 = 1.0 = 108 Release date: August 16, 2014109 110 103 * Initial release. 111 104 … … 147 140 = 1.5 = 148 141 Release date: August 1, 2015 149 150 142 * Comments for private posts are now visible in Recent Comments widget (or any other similar) if the user is eligible 151 143 * Performance improvement by using minified js code … … 161 153 * Private pages can be associated with Reading Groups 162 154 * Users who have access to Reading Group are able to see the associated private pages as well 155 156 = 1.7 = 157 Release date: December 14, 2015 158 159 * Fix a compatibility issue with WP 4.4 when it was not possible to add / rename or delete a Reading Group -
wp-jv-post-reading-groups/trunk/uninstall.php
r1307463 r1307603 4 4 * 5 5 * WP JV Post Reading Groups Settings Uninstaller 6 * @version 1. 66 * @version 1.7 7 7 */ 8 8 -
wp-jv-post-reading-groups/trunk/wp-jv-post-reading-groups.css
r1307463 r1307603 1 1 /* 2 2 // CSS for WP JV Post Reading Groups 3 // @version: 1. 63 // @version: 1.7 4 4 */ 5 5 -
wp-jv-post-reading-groups/trunk/wp-jv-post-reading-groups.js
r1307463 r1307603 1 1 /* 2 2 // Scripts for WP JV Post Reading Groups 3 // @version: 1. 63 // @version: 1.7 4 4 */ 5 5 -
wp-jv-post-reading-groups/trunk/wp-jv-post-reading-groups.min.js
r1307463 r1307603 1 1 /* 2 2 // Scripts for WP JV Post Reading Groups 3 // @version: 1. 63 // @version: 1.7 4 4 */ 5 5 jQuery(document).ready(function(t){function e(){data={action:"wp_jv_prg_refresh_rg_list",url:ajaxurl,type:"POST"},t.post(ajaxurl,data,function(e){var e=t.parseJSON(e);e.rows.length&&t("#the-list").html(e.rows)})}t("#btnAddNewRG").click(function(){t("#btnAddNewRG").attr("disabled",!0),t("#spnAddRG").show();var a=document.getElementById("jv-new-reading-group-text").value;data={action:"wp_jv_prg_add_new_rg_to_db",url:ajaxurl,type:"POST",dataType:"text",newrg:a,wp_jv_rg_nonce:wp_jv_prg_obj.wp_jv_rg_nonce},t.post(ajaxurl,data,function(t){t.error?alert(t.error_msg+"\n\n[Error: "+t.error_code+"]"):e()}),t("#spnAddRG").hide(),t("#btnAddNewRG").attr("disabled",!1),document.getElementById("jv-new-reading-group-text").value=""}),t(".lnkEdit").live("click",function(a){a.preventDefault(),t.ajaxSetup({async:!1}),e(),t.ajaxSetup({async:!0});var r=t(this).attr("data-RG");t(".RenameDiv-"+r).html('<input type="text" id="renamed-reading-group-text" style="width:100%" value="'+t("div.ItemDiv-"+r).text()+'"><br><button class="btnCancel button-secondary">Cancel</button><button style="float:right" class="btnSave button-primary" data-rename-RG="'+r+'">Save</button>')}),t(".btnCancel").live("click",function(t){t.preventDefault(),e()}),t(".btnSave").live("click",function(a){a.preventDefault(),t(".btnSave").attr("disabled",!0);var r=document.getElementById("renamed-reading-group-text").value,n=t(this).attr("data-rename-RG");data={action:"wp_jv_prg_save_renamed_rg_to_db",url:ajaxurl,type:"POST",dataType:"text",RGToRename:n,NewRGName:r},t.post(ajaxurl,data,function(t){t.error?alert(t.error_msg+"\n\n[Error: "+t.error_code+"]"):e()}),t(".btnSave").attr("disabled",!1)}),t(".lnkDelete").live("click",function(a){a.preventDefault();var r=jQuery(this).attr("href");data={action:"wp_jv_prg_delete_rg",url:ajaxurl,type:"POST",delurl:r},t.post(ajaxurl,data,function(t){t.error?alert(t.error_msg+"\n\n[Error: "+t.error_code+"]"):e()})})}); -
wp-jv-post-reading-groups/trunk/wp-jv-post-reading-groups.php
r1307463 r1307603 4 4 * Plugin URI: http://janosver.com/projects/wordpress/wp-jv-post-reading-groups 5 5 * Description: Grant read-only permission for selected users (with no administrator role) on selected private posts 6 * Version: 1. 66 * Version: 1.7 7 7 * Author: Janos Ver 8 8 * Author URI: http://janosver.com … … 100 100 if( ! class_exists( 'WP_List_Table' ) ) { 101 101 require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); 102 require_once( ABSPATH . 'wp-admin/includes/class-wp-screen.php' ); 103 require_once( ABSPATH . 'wp-admin/includes/screen.php' ); 102 104 } 103 105 … … 109 111 'singular' => __( 'Reading Group','wp-jv-post-reading-groups'), //singular name of the listed records 110 112 'plural' => __( 'Reading Groups','wp-jv-post-reading-groups' ), //plural name of the listed records 111 'ajax' => false 113 'ajax' => false, 114 'screen' => null 112 115 )); 113 116 } … … 420 423 echo '<div class="jv-right">'; 421 424 $wp_jv_prg_reading_groups_table = new WP_JV_PRG_List_Table(); 422 $wp_jv_prg_reading_groups_table->prepare_items(); 425 $wp_jv_prg_reading_groups_table->screen=convert_to_screen( null ); 426 $wp_jv_prg_reading_groups_table->prepare_items(); 423 427 $wp_jv_prg_reading_groups_table->display(); 424 428 echo '</div>'; //jv-right end
Note: See TracChangeset
for help on using the changeset viewer.