PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | inc/admin/views/admin-notice.php +34 -34 4.3.94.4.8 View file →
@@ -1,34 +1,34 @@
1 -<?php
2 -/**
3 - * Template for display a notice in admin
4 - * @deprecated 4.1.7.3.2
5 - */
6 -
7 -defined( 'ABSPATH' ) || exit;
8 -
9 -if ( ! isset( $message ) ) {
10 - return;
11 -}
12 -
13 -if ( ! isset( $type ) ) {
14 - $type = 'success';
15 -}
16 -
17 -if ( ! isset( $dismissible ) ) {
18 - $dismissible = true;
19 -}
20 -
21 -if ( strpos( $type, 'notice-' ) === false ) {
22 - $type = "notice-{$type}";
23 -}
24 -
25 -$classes = array( 'lp-notice', 'notice', $type );
26 -?>
27 -
28 -<div id="<?php echo esc_attr( $id ?? '' ); ?>" class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>">
29 - <p><?php echo esc_html( $message ); ?></p>
30 -
31 - <?php if ( $dismissible ) : ?>
32 - <button class="notice-dismiss" data-dismiss-notice="<?php echo esc_attr( $id ?? '' ); ?>"></button>
33 - <?php endif; ?>
34 -</div>
1 +<?php
2 +/**
3 + * Template for display a notice in admin
4 + * @deprecated 4.1.7.3.2
5 + */
6 +
7 +defined( 'ABSPATH' ) || exit;
8 +
9 +if ( ! isset( $message ) ) {
10 + return;
11 +}
12 +
13 +if ( ! isset( $type ) ) {
14 + $type = 'success';
15 +}
16 +
17 +if ( ! isset( $dismissible ) ) {
18 + $dismissible = true;
19 +}
20 +
21 +if ( strpos( $type, 'notice-' ) === false ) {
22 + $type = "notice-{$type}";
23 +}
24 +
25 +$classes = array( 'lp-notice', 'notice', $type );
26 +?>
27 +
28 +<div id="<?php echo esc_attr( $id ?? '' ); ?>" class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>">
29 + <p><?php echo esc_html( $message ); ?></p>
30 +
31 + <?php if ( $dismissible ) : ?>
32 + <button class="notice-dismiss" data-dismiss-notice="<?php echo esc_attr( $id ?? '' ); ?>"></button>
33 + <?php endif; ?>
34 +</div>