Make WordPress Core

Ticket #36338: 36338.1.diff

File 36338.1.diff, 1.8 KB (added by theMikeD, 9 years ago)

Updated docblock to coding standards

  • src/wp-admin/includes/export.php

     
    2323 * @global wpdb    $wpdb
    2424 * @global WP_Post $post
    2525 *
    26  * @param array $args Filters defining what should be included in the export.
     26 * @param array $args {
     27 *     Optional. Default is to export all content except those with status 'auto-draft'.
     28 *
     29 *     @type string $content        If set, only content of this post type will be exported.
     30 *                                  Default is everything (via the 'all' default).
     31 *     @type string $author         If set, only content by this author will be exported. Default is
     32 *                                  all authors.
     33 *     @type string $category       If set and if $content is 'post' or 'all', only content assigned
     34 *                                  to this category will be exported. Default is all categories.
     35 *     @type string $start_date     If set and if $content is 'post' or 'all', this will be the start
     36 *                                  date. Default is earliest date. Date format is 'Y-m-d'.
     37 *     @type string $end_date       If set and if $content is 'post' or 'all', this will be the end date.
     38 *                                  Default is latest date. Date format is 'Y-m-d'
     39 *     @type string $status         If set and if $content is 'post' or 'page', only centent of this status
     40 *                                  will be exported. Default is all status except 'auto-draft'. Accepts
     41 *                                  publish', 'pending', 'draft', 'auto-draft', 'future', 'private',
     42 *                                  'inherit', 'trash'.
     43 * }
    2744 */
    2845function export_wp( $args = array() ) {
    2946        global $wpdb, $post;