PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 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 All 140 releases
← All changes | inc/admin/views/meta-boxes/order/actions.php +50 -50 4.3.9 → 4.4.9 View file →
@@ -1,50 +1,50 @@
1 -<?php
2 -/**
3 - * Admin View: Order actions Meta box
4 - */
5 -
6 -/**
7 - * Prevent loading this file directly
8 - */
9 -defined( 'ABSPATH' ) || exit();
10 -
11 -global $post;
12 -?>
13 -
14 -<div class="submitbox" id="submitpost">
15 - <div id="minor-publishing">
16 - <div id="misc-publishing-actions">
17 - <div class="misc-pub-section">
18 - <select name="trigger-order-action">
19 - <option value=""><?php esc_html_e( 'Choose an action', 'learnpress' ); ?></option>
20 - <option
21 - value="current-status"><?php esc_html_e( 'Trigger action of the current order status', 'learnpress' ); ?></option>
22 - </select>
23 - </div>
24 - </div>
25 - <div id="major-publishing-actions">
26 - <div id="delete-action">
27 - <?php if ( current_user_can( 'delete_post', $post->ID ) ) : ?>
28 - <?php
29 - if ( ! EMPTY_TRASH_DAYS ) {
30 - $delete_text = esc_html__( 'Delete Permanently', 'learnpress' );
31 - } else {
32 - $delete_text = esc_html__( 'Move to Trash', 'learnpress' );
33 - }
34 - ?>
35 - <a class="submitdelete deletion" href="<?php echo get_delete_post_link( $post->ID ); ?>">
36 - <?php echo esc_html( $delete_text ); ?>
37 - </a>
38 - <?php endif; ?>
39 - </div>
40 -
41 - <div id="publishing-action">
42 - <span class="spinner"></span>
43 - <input name="original_publish" type="hidden" id="original_publish" value="Update">
44 - <input name="save" type="submit" class="button button-primary button-large" id="publish"
45 - value="<?php esc_attr_e( 'Update', 'learnpress' ); ?>">
46 - </div>
47 - <div class="clear"></div>
48 - </div>
49 - </div>
50 -</div>
1 +<?php
2 +/**
3 + * Admin View: Order actions Meta box
4 + */
5 +
6 +/**
7 + * Prevent loading this file directly
8 + */
9 +defined( 'ABSPATH' ) || exit();
10 +
11 +global $post;
12 +?>
13 +
14 +<div class="submitbox" id="submitpost">
15 + <div id="minor-publishing">
16 + <div id="misc-publishing-actions">
17 + <div class="misc-pub-section">
18 + <select name="trigger-order-action">
19 + <option value=""><?php esc_html_e( 'Choose an action', 'learnpress' ); ?></option>
20 + <option
21 + value="current-status"><?php esc_html_e( 'Trigger action of the current order status', 'learnpress' ); ?></option>
22 + </select>
23 + </div>
24 + </div>
25 + <div id="major-publishing-actions">
26 + <div id="delete-action">
27 + <?php if ( current_user_can( 'delete_post', $post->ID ) ) : ?>
28 + <?php
29 + if ( ! EMPTY_TRASH_DAYS ) {
30 + $delete_text = esc_html__( 'Delete Permanently', 'learnpress' );
31 + } else {
32 + $delete_text = esc_html__( 'Move to Trash', 'learnpress' );
33 + }
34 + ?>
35 + <a class="submitdelete deletion" href="<?php echo get_delete_post_link( $post->ID ); ?>">
36 + <?php echo esc_html( $delete_text ); ?>
37 + </a>
38 + <?php endif; ?>
39 + </div>
40 +
41 + <div id="publishing-action">
42 + <span class="spinner"></span>
43 + <input name="original_publish" type="hidden" id="original_publish" value="Update">
44 + <input name="save" type="submit" class="button button-primary button-large" id="publish"
45 + value="<?php esc_attr_e( 'Update', 'learnpress' ); ?>">
46 + </div>
47 + <div class="clear"></div>
48 + </div>
49 + </div>
50 +</div>