Ticket #25229: export-php.patch
File export-php.patch, 1.1 KB (added by , 11 years ago) |
---|
-
wp-admin/export.php
94 94 $args['content'] = $_GET['content']; 95 95 } 96 96 97 /** 98 * The export args. 99 * 100 * @since 3.5.0 101 * 102 * @param array $args The arguments to send to the exporter. 103 */ 97 104 $args = apply_filters( 'export_args', $args ); 98 105 99 106 export_wp( $args ); … … 209 215 210 216 <?php foreach ( get_post_types( array( '_builtin' => false, 'can_export' => true ), 'objects' ) as $post_type ) : ?> 211 217 <p><label><input type="radio" name="content" value="<?php echo esc_attr( $post_type->name ); ?>" /> <?php echo esc_html( $post_type->label ); ?></label></p> 212 <?php endforeach; ?>218 <?php endforeach; 213 219 214 <?php do_action( 'export_filters' ) ?> 220 /** 221 * Fires after the export filters form. 222 * 223 * @since 3.5.0 224 */ 225 do_action( 'export_filters' ) ?> 215 226 216 227 <?php submit_button( __('Download Export File') ); ?> 217 228 </form> 218 229 </div> 219 230 220 <?php include('admin-footer.php'); ?> 231 <?php include('admin-footer.php'); ?> 232 No newline at end of file