| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for display error wrong name plugin learnpress |
| 4 |
*/ |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly |
| 8 |
} |
| 9 |
|
| 10 |
if ( ! isset( $data ) ) { |
| 11 |
return; |
| 12 |
} |
| 13 |
?> |
| 14 |
|
| 15 |
<div class="notice <?php echo esc_attr( $data['class'] ?? '' ); ?>"> |
| 16 |
<p> |
| 17 |
<?php |
| 18 |
printf( |
| 19 |
__( |
| 20 |
'The LearnPress plugin base directory must be <strong>learnpress/learnpres.php</strong> (case-sensitive) to ensure all functions work properly and are fully operational (currently <strong>%s</strong>)', |
| 21 |
'learnpress' |
| 22 |
), |
| 23 |
LP_PLUGIN_BASENAME |
| 24 |
); |
| 25 |
?> |
| 26 |
</p> |
| 27 |
</div> |
| 28 |
|