PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | classes/CDN/PushCDNInterface.php +2 -4 1.10 → trunk View file →
@@ -1,9 +1,7 @@
1 1 <?php
2 2 namespace Imagify\CDN;
3 3
4 -defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
5 -
6 4 /**
7 5 * Interface to use for Push CDNs.
8 6 *
9 7 * @since 1.9
@@ -79,9 +77,9 @@
79 77 *
80 78 * @param string $file_name Name of the file. Leave empty for the full size file.
81 79 * @return string URL to the file.
82 80 */
83 - public function get_file_url( $file_name = false );
81 + public function get_file_url( $file_name = '' );
84 82
85 83 /**
86 84 * Get a file path.
87 85 *
@@ -91,6 +89,6 @@
91 89 *
92 90 * @param string $file_name Name of the file. Leave empty for the full size file. Use 'original' to get the path to the original file.
93 91 * @return string Path to the file.
94 92 */
95 - public function get_file_path( $file_name = false );
93 + public function get_file_path( $file_name = '' );
96 94 }