Ticket #19863: export_patch.patch
| File export_patch.patch, 1.2 KB (added by MartyThornley, 15 months ago) |
|---|
-
wp-admin/export.php
88 88 } else { 89 89 $args['content'] = $_GET['content']; 90 90 } 91 91 92 $args = apply_filters( 'wp_export_args' , $args ); 93 92 94 export_wp( $args ); 93 95 die(); 94 96 } … … 133 135 <p><label><input type="radio" name="content" value="all" checked="checked" /> <?php _e( 'All content' ); ?></label> 134 136 <span class="description"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus and custom posts.' ); ?></span></p> 135 137 138 <?php do_action( 'export_filters_before' ); ?> 139 136 140 <p><label><input type="radio" name="content" value="posts" /> <?php _e( 'Posts' ); ?></label></p> 137 141 <ul id="post-filters" class="export-filters"> 138 142 <li> … … 204 208 <p><label><input type="radio" name="content" value="<?php echo esc_attr( $post_type->name ); ?>" /> <?php echo esc_html( $post_type->label ); ?></label></p> 205 209 <?php endforeach; ?> 206 210 211 <?php do_action( 'export_filters_after' ); ?> 212 207 213 <?php submit_button( __('Download Export File'), 'secondary' ); ?> 208 214 </form> 209 215 </div>
