]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/export.php
WordPress 4.1
[autoinstalls/wordpress.git] / wp-admin / export.php
index 1ad91a06a90e270b83baff222feaaf7c1f796496..78ccf13e106e123417df5f3ee3b01ecc31a0844a 100644 (file)
@@ -56,6 +56,7 @@ get_current_screen()->set_help_sidebar(
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
+// If the 'download' URL parameter is set, a WXR export file is baked and returned.
 if ( isset( $_GET['download'] ) ) {
        $args = array();
 
@@ -112,7 +113,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
 /**
  * Create the date options fields for exporting a given post type.
  *
- * @global wpdb      $wpdb      WordPress database object.
+ * @global wpdb      $wpdb      WordPress database abstraction object.
  * @global WP_Locale $wp_locale Date and Time Locale object.
  *
  * @since 3.1.0