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/meta-box/fields/select-page.php +26 -26 4.3.94.4.8 View file →
@@ -1,26 +1,26 @@
1 -<?php
2 -$args = array(
3 - 'name' => $value['id'],
4 - 'id' => $value['id'],
5 - 'sort_column' => 'menu_order',
6 - 'sort_order' => 'ASC',
7 - 'show_option_none' => ' ',
8 - 'class' => $value['class'],
9 - 'echo' => false,
10 - 'selected' => absint( $value['value'] ),
11 - 'post_status' => 'publish,private,draft',
12 -);
13 -
14 -if ( isset( $value['args'] ) ) {
15 - $args = wp_parse_args( $value['args'], $args );
16 -}
17 -?>
18 -
19 -<tr valign="top" class="single_select_page">
20 - <th scope="row" class="titledesc">
21 - <label><?php echo esc_html( $value['title'] ); ?> <?php echo wp_kses_post( $tooltip_html ); ?></label>
22 - </th>
23 - <td class="forminp">
24 - <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'learnpress' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' id=", wp_dropdown_pages( $args ) ); ?> <?php echo wp_kses_post( $description ); ?>
25 - </td>
26 -</tr>
1 +<?php
2 +$args = array(
3 + 'name' => $value['id'],
4 + 'id' => $value['id'],
5 + 'sort_column' => 'menu_order',
6 + 'sort_order' => 'ASC',
7 + 'show_option_none' => ' ',
8 + 'class' => $value['class'],
9 + 'echo' => false,
10 + 'selected' => absint( $value['value'] ),
11 + 'post_status' => 'publish,private,draft',
12 +);
13 +
14 +if ( isset( $value['args'] ) ) {
15 + $args = wp_parse_args( $value['args'], $args );
16 +}
17 +?>
18 +
19 +<tr valign="top" class="single_select_page">
20 + <th scope="row" class="titledesc">
21 + <label><?php echo esc_html( $value['title'] ); ?> <?php echo wp_kses_post( $tooltip_html ); ?></label>
22 + </th>
23 + <td class="forminp">
24 + <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'learnpress' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' id=", wp_dropdown_pages( $args ) ); ?> <?php echo wp_kses_post( $description ); ?>
25 + </td>
26 +</tr>