Changeset 2902827
- Timestamp:
- 04/23/2023 12:27:32 AM (3 years ago)
- Location:
- sackson-web-data/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-sacksonweb-data-helper.php (modified) (2 diffs)
-
sacksonweb-data.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sackson-web-data/trunk/README.txt
r2804076 r2902827 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.0 7 Stable tag: 1. 1.97 Stable tag: 1.2.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 51 51 == Changelog == 52 52 53 = 1.2.1 = 54 * Adjusted for PHP 8 - defined field check was throwing an error 55 * Added a new, check for any plugin being installed, using the name. 56 57 = 1.2.0 = 58 * Added a check to be sure plugins_loaded as the hook 59 60 53 61 = 1.1.9 = 54 62 * Bugfix - was causing an issue on home page loading -
sackson-web-data/trunk/includes/class-sacksonweb-data-helper.php
r2804076 r2902827 138 138 $this->collected_data['WP_DEBUG_LOG'] = WP_DEBUG_LOG ? 'y' : 'n'; 139 139 $this->collected_data['WP_DEBUG_DISPLAY'] = WP_DEBUG_DISPLAY ? 'y' : 'n'; 140 $this->collected_data['FS_METHOD'] = (null !== FS_METHOD) ? FS_METHOD : ''; 140 $this->collected_data['FS_METHOD'] = defined(FS_METHOD) && (null !== FS_METHOD) ? FS_METHOD : ''; 141 141 142 142 143 $this->getBlogInfoArray(); // get_bloginfo, i.e. bunch of stuff. … … 430 431 { 431 432 if ( str_contains($plugin,'simple-history')) 433 { 434 return true; 435 } 436 } 437 438 return false; 439 } 440 441 442 /** 443 * Like above, but if you knew the name from the active plugins field then you can check for any plugin being active. 444 */ 445 function isThisPluginActive( $plugin_short_name ) 446 { 447 foreach ( $this->collected_data['active_plugins'] as $plugin ) 448 { 449 if ( str_contains($plugin, $plugin_short_name)) 432 450 { 433 451 return true; -
sackson-web-data/trunk/sacksonweb-data.php
r2804076 r2902827 10 10 * 11 11 * @link http://data.sacksonweb.com/author 12 * @since 1. 1.912 * @since 1.2.1 13 13 * @package Sacksonweb_Data 14 14 * … … 17 17 * Plugin URI: http://data.sacksonweb.com 18 18 * Description: A tool to monitor security issues, performance issues, and Wordpress settings that should be changed. 19 * Version: 1. 1.919 * Version: 1.2.1 20 20 * Author: Eric Thornton 21 21 * Author URI: http://data.sacksonweb.com/author … … 35 35 * 36 36 */ 37 define( 'SACKSONWEB_DATA_VERSION', '1. 1.9' );37 define( 'SACKSONWEB_DATA_VERSION', '1.2.1' ); 38 38 39 39 /**
Note: See TracChangeset
for help on using the changeset viewer.