Changeset 3442269
- Timestamp:
- 01/19/2026 07:37:54 AM (7 weeks ago)
- Location:
- 0-day-analytics
- Files:
-
- 8 edited
- 1 copied
-
tags/4.5.1 (copied) (copied from 0-day-analytics/trunk)
-
tags/4.5.1/advanced-analytics.php (modified) (2 diffs)
-
tags/4.5.1/classes/vendor/helpers/class-settings.php (modified) (2 diffs)
-
tags/4.5.1/classes/vendor/settings/settings-options/hooks-capture.php (modified) (1 diff)
-
tags/4.5.1/readme.txt (modified) (2 diffs)
-
trunk/advanced-analytics.php (modified) (2 diffs)
-
trunk/classes/vendor/helpers/class-settings.php (modified) (2 diffs)
-
trunk/classes/vendor/settings/settings-options/hooks-capture.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
0-day-analytics/tags/4.5.1/advanced-analytics.php
r3442115 r3442269 11 11 * Plugin Name: 0 Day Analytics 12 12 * Description: Take full control of error log, crons, transients, plugins, requests, mails and DB tables. 13 * Version: 4.5. 013 * Version: 4.5.1 14 14 * Author: Stoil Dobrev 15 15 * Author URI: https://github.com/sdobreff/ … … 39 39 // Constants. 40 40 if ( ! defined( 'ADVAN_VERSION' ) ) { 41 define( 'ADVAN_VERSION', '4.5. 0' );41 define( 'ADVAN_VERSION', '4.5.1' ); 42 42 define( 'ADVAN_TEXTDOMAIN', '0-day-analytics' ); 43 43 define( 'ADVAN_NAME', '0 Day Analytics' ); -
0-day-analytics/tags/4.5.1/classes/vendor/helpers/class-settings.php
r3442115 r3442269 1905 1905 $wp_debug_log_enable = ( array_key_exists( 'wp_debug_log_enable', $post_array ) ) ? filter_var( $post_array['wp_debug_log_enable'], FILTER_VALIDATE_BOOLEAN ) : false; 1906 1906 1907 try {1908 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args );1909 } catch ( \Throwable $e ) {1910 $config_errors[] = array(1911 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ),1912 'message' => $e->getMessage(),1913 );1914 }1915 1916 1907 if ( $wp_debug_log_enable ) { 1908 1909 @clearstatcache( false, File_Helper::get_wp_config_file_path() ); 1910 1917 1911 $wp_debug_log_generate = ( array_key_exists( 'wp_debug_log_file_generate', $post_array ) ) ? filter_var( $post_array['wp_debug_log_file_generate'], FILTER_VALIDATE_BOOLEAN ) : false; 1918 1912 … … 1948 1942 } 1949 1943 1944 // If at this point file is still not set, set to default. 1945 if ( false === $wp_debug_log_generate && '' === trim( $wp_debug_log_filename ) ) { 1946 try { 1947 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args ); 1948 } catch ( \Throwable $e ) { 1949 $config_errors[] = array( 1950 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ), 1951 'message' => $e->getMessage(), 1952 ); 1953 } 1954 } 1955 1950 1956 // Clear the flag for keep reading the error log if WP settings are disabled (because at this point they are enabled). 1951 1957 $advanced_options['keep_reading_error_log'] = false; 1952 1958 $advanced_options['plugin_debug_enable'] = false; 1959 } else { 1960 1961 try { 1962 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args ); 1963 } catch ( \Throwable $e ) { 1964 $config_errors[] = array( 1965 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ), 1966 'message' => $e->getMessage(), 1967 ); 1968 } 1953 1969 } 1954 1970 -
0-day-analytics/tags/4.5.1/classes/vendor/settings/settings-options/hooks-capture.php
r3442115 r3442269 156 156 'id' => 'group-description', 157 157 'type' => 'textarea', 158 'default' => '', 158 159 ) 159 160 ); -
0-day-analytics/tags/4.5.1/readme.txt
r3442115 r3442269 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 4.5. 07 Stable tag: 4.5.1 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 93 93 == Changelog == 94 94 95 = 4.5.1 = 96 * Fixes problems with settings save and debug log file name. 97 95 98 = 4.5.0 = 96 99 * Bug fixes and code improvements. Hooks module introduced. -
0-day-analytics/trunk/advanced-analytics.php
r3442115 r3442269 11 11 * Plugin Name: 0 Day Analytics 12 12 * Description: Take full control of error log, crons, transients, plugins, requests, mails and DB tables. 13 * Version: 4.5. 013 * Version: 4.5.1 14 14 * Author: Stoil Dobrev 15 15 * Author URI: https://github.com/sdobreff/ … … 39 39 // Constants. 40 40 if ( ! defined( 'ADVAN_VERSION' ) ) { 41 define( 'ADVAN_VERSION', '4.5. 0' );41 define( 'ADVAN_VERSION', '4.5.1' ); 42 42 define( 'ADVAN_TEXTDOMAIN', '0-day-analytics' ); 43 43 define( 'ADVAN_NAME', '0 Day Analytics' ); -
0-day-analytics/trunk/classes/vendor/helpers/class-settings.php
r3442115 r3442269 1905 1905 $wp_debug_log_enable = ( array_key_exists( 'wp_debug_log_enable', $post_array ) ) ? filter_var( $post_array['wp_debug_log_enable'], FILTER_VALIDATE_BOOLEAN ) : false; 1906 1906 1907 try {1908 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args );1909 } catch ( \Throwable $e ) {1910 $config_errors[] = array(1911 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ),1912 'message' => $e->getMessage(),1913 );1914 }1915 1916 1907 if ( $wp_debug_log_enable ) { 1908 1909 @clearstatcache( false, File_Helper::get_wp_config_file_path() ); 1910 1917 1911 $wp_debug_log_generate = ( array_key_exists( 'wp_debug_log_file_generate', $post_array ) ) ? filter_var( $post_array['wp_debug_log_file_generate'], FILTER_VALIDATE_BOOLEAN ) : false; 1918 1912 … … 1948 1942 } 1949 1943 1944 // If at this point file is still not set, set to default. 1945 if ( false === $wp_debug_log_generate && '' === trim( $wp_debug_log_filename ) ) { 1946 try { 1947 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args ); 1948 } catch ( \Throwable $e ) { 1949 $config_errors[] = array( 1950 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ), 1951 'message' => $e->getMessage(), 1952 ); 1953 } 1954 } 1955 1950 1956 // Clear the flag for keep reading the error log if WP settings are disabled (because at this point they are enabled). 1951 1957 $advanced_options['keep_reading_error_log'] = false; 1952 1958 $advanced_options['plugin_debug_enable'] = false; 1959 } else { 1960 1961 try { 1962 Config_Transformer::update( 'constant', 'WP_DEBUG_LOG', $wp_debug_log_enable, self::$config_args ); 1963 } catch ( \Throwable $e ) { 1964 $config_errors[] = array( 1965 'context' => self::build_config_error_context( 'update', 'WP_DEBUG_LOG', $wp_debug_log_enable ), 1966 'message' => $e->getMessage(), 1967 ); 1968 } 1953 1969 } 1954 1970 -
0-day-analytics/trunk/classes/vendor/settings/settings-options/hooks-capture.php
r3442115 r3442269 156 156 'id' => 'group-description', 157 157 'type' => 'textarea', 158 'default' => '', 158 159 ) 159 160 ); -
0-day-analytics/trunk/readme.txt
r3442115 r3442269 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 4.5. 07 Stable tag: 4.5.1 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 93 93 == Changelog == 94 94 95 = 4.5.1 = 96 * Fixes problems with settings save and debug log file name. 97 95 98 = 4.5.0 = 96 99 * Bug fixes and code improvements. Hooks module introduced.
Note: See TracChangeset
for help on using the changeset viewer.