| @@ -85,8 +85,11 @@ | ||
| 85 | 85 | if (! empty( $cp_data['rerun'] ) ) { |
| 86 | 86 | $cp_options['mem'] = $cp_data['rerun']; |
| 87 | 87 | $rerun = true; |
| 88 | 88 | } |
| 89 | + }else { | |
| 90 | + // Display why we don't want to run. | |
| 91 | + wp_die( esc_html__('Missing profile ID.', 'code-profiler') ); | |
| 89 | 92 | } |
| 90 | 93 | } |
| 91 | 94 | // Profile's name |
| 92 | 95 | if (! empty( $cp_options['mem']['profile'] ) ) { |