WordPress.org

Make WordPress Core

Ticket #20425: 0001-Updated-docblocks-for-export.php.patch

File 0001-Updated-docblocks-for-export.php.patch, 957 bytes (added by raggedrobins, 3 years ago)

Updated docblocks for export.php

  • wp-admin/export.php

    From 10ced8374374b7bb1b8837c522fb1bb0973f40a8 Mon Sep 17 00:00:00 2001
    From: Siobhan McKeown <siobhan@wordsforwp.com>
    Date: Sun, 30 Sep 2012 15:01:48 +0100
    Subject: [PATCH] Updated docblocks for export.php
    
    ---
     wp-admin/export.php |   11 +++++++++++
     1 file changed, 11 insertions(+)
    
    diff --git a/wp-admin/export.php b/wp-admin/export.php
    index cf50566..bd6aae9 100644
    a b if ( isset( $_GET['download'] ) ) { 
    100100 
    101101require_once ('admin-header.php'); 
    102102 
     103/** 
     104* Creates the options fields for exporting a given post type 
     105* 
     106* @since 3.1 
     107*  
     108* @uses $wpdb reads data from any table in the WordPress database, not just the standard tables that WordPress creates 
     109* @uses $wp_locale localizes the month name 
     110*  
     111* @param $post_type the given post type, defaulted to post 
     112*/ 
     113 
    103114function export_date_options( $post_type = 'post' ) { 
    104115        global $wpdb, $wp_locale; 
    105116