Changeset 43571 for trunk/src/wp-admin/export.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/export.php
r42343 r43571 24 24 */ 25 25 function export_add_js() { 26 ?>26 ?> 27 27 <script type="text/javascript"> 28 28 jQuery(document).ready(function($){ … … 40 40 }); 41 41 </script> 42 <?php42 <?php 43 43 } 44 44 add_action( 'admin_head', 'export_add_js' ); … … 145 145 WHERE post_type = %s AND post_status != 'auto-draft' 146 146 ORDER BY post_date DESC 147 ", $post_type 147 ", 148 $post_type 148 149 ) 149 150 ); … … 225 226 $post_stati = get_post_stati( array( 'internal' => false ), 'objects' ); 226 227 foreach ( $post_stati as $status ) : 227 ?>228 ?> 228 229 <option value="<?php echo esc_attr( $status->name ); ?>"><?php echo esc_html( $status->label ); ?></option> 229 230 <?php endforeach; ?> … … 281 282 '_builtin' => false, 282 283 'can_export' => true, 283 ), 'objects' 284 ), 285 'objects' 284 286 ) as $post_type ) : 285 ?>287 ?> 286 288 <p><label><input type="radio" name="content" value="<?php echo esc_attr( $post_type->name ); ?>" /> <?php echo esc_html( $post_type->label ); ?></label></p> 287 289 <?php endforeach; ?>
Note: See TracChangeset
for help on using the changeset viewer.