Changeset 3174451
- Timestamp:
- 10/23/2024 03:24:37 PM (16 months ago)
- Location:
- solid-performance
- Files:
-
- 8 edited
- 1 copied
-
tags/1.3.2 (copied) (copied from solid-performance/trunk)
-
tags/1.3.2/readme.txt (modified) (2 diffs)
-
tags/1.3.2/solid-performance.php (modified) (1 diff)
-
tags/1.3.2/src/Performance/Page_Cache/Debug.php (modified) (3 diffs)
-
tags/1.3.2/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/solid-performance.php (modified) (1 diff)
-
trunk/src/Performance/Page_Cache/Debug.php (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
solid-performance/tags/1.3.2/readme.txt
r3170205 r3174451 5 5 Requires at least: 6.4 6 6 Tested up to: 6.6 7 Stable tag: 1.3. 17 Stable tag: 1.3.2 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 89 89 == Changelog == 90 90 91 = 1.3.2 = 92 93 #### Bug fixes 94 95 * Updated HTML comment timestamps on cached files to use 24 hour time. 96 91 97 = 1.3.1 = 92 98 -
solid-performance/tags/1.3.2/solid-performance.php
r3170205 r3174451 5 5 * Author: SolidWP 6 6 * Author URI: https://go.solidwp.com/performance-author 7 * Version: 1.3. 17 * Version: 1.3.2 8 8 * Text Domain: solid-performance 9 9 * Domain Path: /lang -
solid-performance/tags/1.3.2/src/Performance/Page_Cache/Debug.php
r3170205 r3174451 12 12 namespace SolidWP\Performance\Page_Cache; 13 13 14 use DateTime ;14 use DateTimeImmutable; 15 15 use SolidWP\Performance\Config\Config; 16 16 use SolidWP\Performance\Http\Request; … … 66 66 } 67 67 68 $date_time = ( new DateTime( 'now', wp_timezone() ) )->format( 'Y-m-d h:i:s T');68 $date_time = $this->get_timestamp(); 69 69 $engine = str_pad( 'Engine:', $this->pad ) . 'Disk'; 70 70 $creation_time = str_pad( 'Creation Time:', $this->pad ) . $request->start . 's'; … … 142 142 } 143 143 144 $date_time = ( new DateTime( 'now', wp_timezone() ) )->format( 'Y-m-d h:i:s T' );145 146 144 return sprintf( 147 145 ' 148 146 <!-- Cached page generated by Solid Performance on %s -->', 149 esc_html( $ date_time)147 esc_html( $this->get_timestamp() ) 150 148 ); 151 149 } 150 151 /** 152 * Get a timestamp using the configured timezone from the WP dashboard. 153 * 154 * @return string 155 */ 156 private function get_timestamp(): string { 157 return ( new DateTimeImmutable( 'now', wp_timezone() ) )->format( 'Y-m-d H:i:s T' ); 158 } 152 159 } -
solid-performance/tags/1.3.2/vendor/composer/installed.php
r3170205 r3174451 2 2 'root' => array( 3 3 'name' => 'ithemes/solid-performance', 4 'pretty_version' => '1.3. 1',5 'version' => '1.3. 1.0',6 'reference' => ' 5b3109c2016eb993d2a0f118503604f37ad04ca1',4 'pretty_version' => '1.3.2', 5 'version' => '1.3.2.0', 6 'reference' => '19e76449ce4d5e440fd399a266f4633e3f8d6b50', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 48 48 ), 49 49 'ithemes/solid-performance' => array( 50 'pretty_version' => '1.3. 1',51 'version' => '1.3. 1.0',52 'reference' => ' 5b3109c2016eb993d2a0f118503604f37ad04ca1',50 'pretty_version' => '1.3.2', 51 'version' => '1.3.2.0', 52 'reference' => '19e76449ce4d5e440fd399a266f4633e3f8d6b50', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../', -
solid-performance/trunk/readme.txt
r3170205 r3174451 5 5 Requires at least: 6.4 6 6 Tested up to: 6.6 7 Stable tag: 1.3. 17 Stable tag: 1.3.2 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 89 89 == Changelog == 90 90 91 = 1.3.2 = 92 93 #### Bug fixes 94 95 * Updated HTML comment timestamps on cached files to use 24 hour time. 96 91 97 = 1.3.1 = 92 98 -
solid-performance/trunk/solid-performance.php
r3170205 r3174451 5 5 * Author: SolidWP 6 6 * Author URI: https://go.solidwp.com/performance-author 7 * Version: 1.3. 17 * Version: 1.3.2 8 8 * Text Domain: solid-performance 9 9 * Domain Path: /lang -
solid-performance/trunk/src/Performance/Page_Cache/Debug.php
r3170205 r3174451 12 12 namespace SolidWP\Performance\Page_Cache; 13 13 14 use DateTime ;14 use DateTimeImmutable; 15 15 use SolidWP\Performance\Config\Config; 16 16 use SolidWP\Performance\Http\Request; … … 66 66 } 67 67 68 $date_time = ( new DateTime( 'now', wp_timezone() ) )->format( 'Y-m-d h:i:s T');68 $date_time = $this->get_timestamp(); 69 69 $engine = str_pad( 'Engine:', $this->pad ) . 'Disk'; 70 70 $creation_time = str_pad( 'Creation Time:', $this->pad ) . $request->start . 's'; … … 142 142 } 143 143 144 $date_time = ( new DateTime( 'now', wp_timezone() ) )->format( 'Y-m-d h:i:s T' );145 146 144 return sprintf( 147 145 ' 148 146 <!-- Cached page generated by Solid Performance on %s -->', 149 esc_html( $ date_time)147 esc_html( $this->get_timestamp() ) 150 148 ); 151 149 } 150 151 /** 152 * Get a timestamp using the configured timezone from the WP dashboard. 153 * 154 * @return string 155 */ 156 private function get_timestamp(): string { 157 return ( new DateTimeImmutable( 'now', wp_timezone() ) )->format( 'Y-m-d H:i:s T' ); 158 } 152 159 } -
solid-performance/trunk/vendor/composer/installed.php
r3170205 r3174451 2 2 'root' => array( 3 3 'name' => 'ithemes/solid-performance', 4 'pretty_version' => '1.3. 1',5 'version' => '1.3. 1.0',6 'reference' => ' 5b3109c2016eb993d2a0f118503604f37ad04ca1',4 'pretty_version' => '1.3.2', 5 'version' => '1.3.2.0', 6 'reference' => '19e76449ce4d5e440fd399a266f4633e3f8d6b50', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 48 48 ), 49 49 'ithemes/solid-performance' => array( 50 'pretty_version' => '1.3. 1',51 'version' => '1.3. 1.0',52 'reference' => ' 5b3109c2016eb993d2a0f118503604f37ad04ca1',50 'pretty_version' => '1.3.2', 51 'version' => '1.3.2.0', 52 'reference' => '19e76449ce4d5e440fd399a266f4633e3f8d6b50', 53 53 'type' => 'wordpress-plugin', 54 54 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.