Changeset 3375260
- Timestamp:
- 10/08/2025 05:42:23 PM (5 months ago)
- Location:
- checkview
- Files:
-
- 10 edited
- 1 copied
-
tags/2.0.21 (copied) (copied from checkview/trunk)
-
tags/2.0.21/README.txt (modified) (3 diffs)
-
tags/2.0.21/admin/class-checkview-admin-logs.php (modified) (2 diffs)
-
tags/2.0.21/checkview.php (modified) (2 diffs)
-
tags/2.0.21/includes/checkview-functions.php (modified) (1 diff)
-
tags/2.0.21/includes/class-checkview.php (modified) (1 diff)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/admin/class-checkview-admin-logs.php (modified) (2 diffs)
-
trunk/checkview.php (modified) (2 diffs)
-
trunk/includes/checkview-functions.php (modified) (1 diff)
-
trunk/includes/class-checkview.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
checkview/tags/2.0.21/README.txt
r3335533 r3375260 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Stable tag: 2.0.2 010 Stable tag: 2.0.21 11 11 12 12 [CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. … … 86 86 87 87 == Changelog == 88 = 2.0.21 = 89 * Handle errors when setting up logs folder. 90 * New filter that allows modification of the site URL used in JWT authentication. 91 88 92 = 2.0.20 = 89 93 * Only run testing code for requests with newly required cookie. … … 378 382 379 383 == Upgrade Notice == 384 = 2.0.21 = 385 * Handle errors when setting up logs folder. 386 * New filter that allows modification of the site URL used in JWT authentication. 387 380 388 = 2.0.20 = 381 389 * Only run testing code for requests with newly required cookie. -
checkview/tags/2.0.21/admin/class-checkview-admin-logs.php
r3216431 r3375260 122 122 $fp = @fopen( $htaccess, 'w' ); 123 123 124 @fputs( $fp, 'deny from all' ); 125 126 @fclose( $fp ); 124 if ( ! $fp ) { 125 error_log( 'CheckView: Could not create logs htaccess file: ' . $htaccess ); 126 } else { 127 @fputs( $fp, 'deny from all' ); 128 129 @fclose( $fp ); 130 } 127 131 128 132 } … … 135 139 $fp = @fopen( $index, 'w' ); 136 140 137 @fputs( $fp, '' ); 138 139 @fclose( $fp ); 141 if ( ! $fp ) { 142 error_log( 'CheckView: Could not create logs index.html file: ' . $index ); 143 } else { 144 @fputs( $fp, '' ); 145 146 @fclose( $fp ); 147 } 140 148 141 149 } -
checkview/tags/2.0.21/checkview.php
r3335533 r3375260 12 12 * Plugin URI: https://checkview.io 13 13 * Description: CheckView is the #1 fully automated solution to test your WordPress forms and detect form problems fast. Automatically test your WordPress forms to ensure you never miss a lead again. 14 * Version: 2.0.2 014 * Version: 2.0.21 15 15 * Author: CheckView 16 16 * Author URI: https://checkview.io/ … … 36 36 * @link https://semver.org 37 37 */ 38 define( 'CHECKVIEW_VERSION', '2.0.2 0' );38 define( 'CHECKVIEW_VERSION', '2.0.21' ); 39 39 40 40 if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) { -
checkview/tags/2.0.21/includes/checkview-functions.php
r3335533 r3375260 86 86 } 87 87 $jwt = (array) $decoded; 88 $default_site_url = checkview_ensure_trailing_slash( get_bloginfo( 'url' ) ); 89 90 /** 91 * Filter: Allows sites with custom URL structures to modify the URL the JWT is checked against. 92 * 93 * @since 2.0.21 94 * 95 * @param string $default_site_url Default site URL. 96 */ 97 $site_url = apply_filters( 'checkview_site_url', $default_site_url ); 88 98 89 99 // If a URL mismatch, return false. 90 if ( false === strpos( checkview_ensure_trailing_slash( get_bloginfo( 'url' ) ), checkview_ensure_trailing_slash( $jwt['websiteUrl'] ) ) ) {100 if ( false === strpos( $site_url, checkview_ensure_trailing_slash( $jwt['websiteUrl'] ) ) ) { 91 101 Checkview_Admin_Logs::add( 'api-logs', 'Invalid site url.' ); 92 102 return false; -
checkview/tags/2.0.21/includes/class-checkview.php
r3335533 r3375260 81 81 $this->version = CHECKVIEW_VERSION; 82 82 } else { 83 $this->version = '2.0.2 0';83 $this->version = '2.0.21'; 84 84 } 85 85 $this->plugin_name = 'checkview'; -
checkview/trunk/README.txt
r3335533 r3375260 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Stable tag: 2.0.2 010 Stable tag: 2.0.21 11 11 12 12 [CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. … … 86 86 87 87 == Changelog == 88 = 2.0.21 = 89 * Handle errors when setting up logs folder. 90 * New filter that allows modification of the site URL used in JWT authentication. 91 88 92 = 2.0.20 = 89 93 * Only run testing code for requests with newly required cookie. … … 378 382 379 383 == Upgrade Notice == 384 = 2.0.21 = 385 * Handle errors when setting up logs folder. 386 * New filter that allows modification of the site URL used in JWT authentication. 387 380 388 = 2.0.20 = 381 389 * Only run testing code for requests with newly required cookie. -
checkview/trunk/admin/class-checkview-admin-logs.php
r3216431 r3375260 122 122 $fp = @fopen( $htaccess, 'w' ); 123 123 124 @fputs( $fp, 'deny from all' ); 125 126 @fclose( $fp ); 124 if ( ! $fp ) { 125 error_log( 'CheckView: Could not create logs htaccess file: ' . $htaccess ); 126 } else { 127 @fputs( $fp, 'deny from all' ); 128 129 @fclose( $fp ); 130 } 127 131 128 132 } … … 135 139 $fp = @fopen( $index, 'w' ); 136 140 137 @fputs( $fp, '' ); 138 139 @fclose( $fp ); 141 if ( ! $fp ) { 142 error_log( 'CheckView: Could not create logs index.html file: ' . $index ); 143 } else { 144 @fputs( $fp, '' ); 145 146 @fclose( $fp ); 147 } 140 148 141 149 } -
checkview/trunk/checkview.php
r3335533 r3375260 12 12 * Plugin URI: https://checkview.io 13 13 * Description: CheckView is the #1 fully automated solution to test your WordPress forms and detect form problems fast. Automatically test your WordPress forms to ensure you never miss a lead again. 14 * Version: 2.0.2 014 * Version: 2.0.21 15 15 * Author: CheckView 16 16 * Author URI: https://checkview.io/ … … 36 36 * @link https://semver.org 37 37 */ 38 define( 'CHECKVIEW_VERSION', '2.0.2 0' );38 define( 'CHECKVIEW_VERSION', '2.0.21' ); 39 39 40 40 if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) { -
checkview/trunk/includes/checkview-functions.php
r3335533 r3375260 86 86 } 87 87 $jwt = (array) $decoded; 88 $default_site_url = checkview_ensure_trailing_slash( get_bloginfo( 'url' ) ); 89 90 /** 91 * Filter: Allows sites with custom URL structures to modify the URL the JWT is checked against. 92 * 93 * @since 2.0.21 94 * 95 * @param string $default_site_url Default site URL. 96 */ 97 $site_url = apply_filters( 'checkview_site_url', $default_site_url ); 88 98 89 99 // If a URL mismatch, return false. 90 if ( false === strpos( checkview_ensure_trailing_slash( get_bloginfo( 'url' ) ), checkview_ensure_trailing_slash( $jwt['websiteUrl'] ) ) ) {100 if ( false === strpos( $site_url, checkview_ensure_trailing_slash( $jwt['websiteUrl'] ) ) ) { 91 101 Checkview_Admin_Logs::add( 'api-logs', 'Invalid site url.' ); 92 102 return false; -
checkview/trunk/includes/class-checkview.php
r3335533 r3375260 81 81 $this->version = CHECKVIEW_VERSION; 82 82 } else { 83 $this->version = '2.0.2 0';83 $this->version = '2.0.21'; 84 84 } 85 85 $this->plugin_name = 'checkview';
Note: See TracChangeset
for help on using the changeset viewer.