WordPress.org

Make WordPress Core

Changeset 36944


Ignore:
Timestamp:
03/10/2016 06:24:45 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Improve the accuracy of the return description for unregister_post_type(), introduced in [36316].

See #14761. See #35986.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r36896 r36944  
    12061206 *
    12071207 * @param string $post_type Post type to unregister.
    1208  * @return bool|WP_Error True on success, WP_Error on failure.
     1208 * @return bool|WP_Error True on success, WP_Error on failure or if the post type doesn't exist.
    12091209 */
    12101210function unregister_post_type( $post_type ) {
Note: See TracChangeset for help on using the changeset viewer.