PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / 1.7.4
Code Profiler – WordPress Performance Profiling and Debugging Made Easy v1.7.4
1.9.5 1.9.4 1.9.3 trunk 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.6 1.6.1 1.6.10 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 All 40 releases
← All changes | lib/class-cli.php +3 -3 1.6.31.7.4 View file →
@@ -6,9 +6,9 @@
6 6 | | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| |
7 7 | | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | |
8 8 | \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| |
9 9 | |
10 - | (c) Jerome Bruandet ~ https://code-profiler.com/ |
10 + | (c) Jerome Bruandet ~ https://nintechnet.com/codeprofiler/ |
11 11 +=====================================================================+
12 12 */
13 13
14 14 if (! defined('ABSPATH') ) { die('Forbidden'); }
@@ -203,9 +203,9 @@
203 203 *
204 204 */
205 205 private function find_last_profile() {
206 206
207 - $profiles = glob( CODE_PROFILER_UPLOAD_DIR .'/*.slugs.profile');
207 + $profiles = code_profiler_glob( CODE_PROFILER_UPLOAD_DIR, '\.slugs\.profile$', true );
208 208
209 209 array_multisort(
210 210 array_map('filectime', $profiles ),
211 211 SORT_NUMERIC,
@@ -267,9 +267,9 @@
267 267
268 268 $this->is_enabled();
269 269
270 270 WP_CLI::log("\nCode Profiler v". CODE_PROFILER_VERSION .
271 - " (c)". date('Y') ." Jerome Bruandet & NinTechNet Limited ~ https://code-profiler.com/\n\n".
271 + " (c)". date('Y') ." Jerome Bruandet & NinTechNet Limited ~ https://nintechnet.com/codeprofiler/\n\n".
272 272 " {$this->cmd_view} ". __('View last created profile', 'code-profiler') ."\n".
273 273 " {$this->cmd_run} ". __('Run the profiler in the frontend', 'code-profiler') ."\n\n".
274 274 __('GLOBAL PARAMETERS', 'code-profiler') ."\n\n".
275 275 " --dest=<URL to profile> **". __('Pro version only', 'code-profiler') ."**\n".