Changeset 959971
- Timestamp:
- 08/04/2014 01:09:04 PM (12 years ago)
- Location:
- suggest-review
- Files:
-
- 2 edited
- 3 copied
-
tags/1.2.5 (copied) (copied from suggest-review/trunk)
-
tags/1.2.5/readme.txt (copied) (copied from suggest-review/trunk/readme.txt) (3 diffs)
-
tags/1.2.5/suggest-review.php (copied) (copied from suggest-review/trunk/suggest-review.php) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/suggest-review.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
suggest-review/tags/1.2.5/readme.txt
r925700 r959971 5 5 Requires at least: 3.5.2 6 6 Tested up to: 3.9.1 7 Stable tag: 1.2. 47 Stable tag: 1.2.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 = 1.2.5 = 51 * Fixed bug that caused the button to now appear when using http instead of https. Thanks to WPHaider for finding it. 52 50 53 = 1.2.4 = 51 54 * Added option for text alignment of footer. … … 78 81 == Upgrade Notice == 79 82 83 = 1.2.5 = 84 Bug fix. Upgrade recommended. 85 80 86 = 1.2.4 = 81 87 New option. Upgrade optional. -
suggest-review/tags/1.2.5/suggest-review.php
r878914 r959971 2 2 /** 3 3 * @package Suggest_Review 4 * @version 1.2. 44 * @version 1.2.5 5 5 */ 6 6 /* … … 9 9 Description: Lets users suggest that content may need to be reviewed or re-examined. 10 10 Author: Michael George 11 Version: 1.2. 411 Version: 1.2.5 12 12 13 13 This program is free software; you can redistribute it and/or modify … … 106 106 //Check to see if the URL is a permalink, if not, we aren't doing anything 107 107 //This prevents the suggest review button from appear on search results and post lists 108 if ( "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] == get_permalink() ) { 109 108 // Bug fix in 1.2.5: The check below was hard coded to using https and is now dynamic 109 if ( "http" . ( $_SERVER['HTTPS'] == "on" ? "s" : "" ) . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] == get_permalink() ) { 110 echo "<!-- sr content_insertion found uri is permalink -->\r"; 110 111 if ( isset( $_POST['suggestreview'] ) && $_POST['suggestreview'] == '1' && isset( $_POST['suggestreviewid'] ) && $_POST['suggestreviewid'] == $my_post_id ) { 111 112 $this->markForReview( $_POST['suggestreviewid'], $my_user->user_login, date( 'Y-m-d H:i:s', current_time( 'timestamp', 0 ) ), $_POST['suggestreviewcomment'], $my_author ); -
suggest-review/trunk/readme.txt
r925700 r959971 5 5 Requires at least: 3.5.2 6 6 Tested up to: 3.9.1 7 Stable tag: 1.2. 47 Stable tag: 1.2.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 = 1.2.5 = 51 * Fixed bug that caused the button to now appear when using http instead of https. Thanks to WPHaider for finding it. 52 50 53 = 1.2.4 = 51 54 * Added option for text alignment of footer. … … 78 81 == Upgrade Notice == 79 82 83 = 1.2.5 = 84 Bug fix. Upgrade recommended. 85 80 86 = 1.2.4 = 81 87 New option. Upgrade optional. -
suggest-review/trunk/suggest-review.php
r878914 r959971 2 2 /** 3 3 * @package Suggest_Review 4 * @version 1.2. 44 * @version 1.2.5 5 5 */ 6 6 /* … … 9 9 Description: Lets users suggest that content may need to be reviewed or re-examined. 10 10 Author: Michael George 11 Version: 1.2. 411 Version: 1.2.5 12 12 13 13 This program is free software; you can redistribute it and/or modify … … 106 106 //Check to see if the URL is a permalink, if not, we aren't doing anything 107 107 //This prevents the suggest review button from appear on search results and post lists 108 if ( "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] == get_permalink() ) { 109 108 // Bug fix in 1.2.5: The check below was hard coded to using https and is now dynamic 109 if ( "http" . ( $_SERVER['HTTPS'] == "on" ? "s" : "" ) . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] == get_permalink() ) { 110 echo "<!-- sr content_insertion found uri is permalink -->\r"; 110 111 if ( isset( $_POST['suggestreview'] ) && $_POST['suggestreview'] == '1' && isset( $_POST['suggestreviewid'] ) && $_POST['suggestreviewid'] == $my_post_id ) { 111 112 $this->markForReview( $_POST['suggestreviewid'], $my_user->user_login, date( 'Y-m-d H:i:s', current_time( 'timestamp', 0 ) ), $_POST['suggestreviewcomment'], $my_author );
Note: See TracChangeset
for help on using the changeset viewer.