Making WordPress.org


Ignore:
Timestamp:
04/14/2017 08:03:47 PM (8 years ago)
Author:
coffee2code
Message:

Plugin Directory: Update PHPDocs and array key names to reflect change of initial post_status from 'draft' to 'new'.

Props SergeyBiryukov.
Fixes #2725.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r5328 r5334  
    12331233     *     @type string $post_title            The post title. Default empty.
    12341234     *     @type string $post_excerpt          The post excerpt. Default empty.
    1235      *     @type string $post_status           The post status. Default 'draft'.
     1235     *     @type string $post_status           The post status. Default 'new'.
    12361236     *     @type string $post_type             The post type. Default 'post'.
    12371237     *     @type string $comment_status        Whether the post can accept comments. Accepts 'open' or 'closed'.
Note: See TracChangeset for help on using the changeset viewer.