WordPress.org

Make WordPress Core

Changeset 36497


Ignore:
Timestamp:
02/07/2016 02:42:25 AM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing version to the file header for wp-admin/term.php, introduced in [36308].

See #34988. See #33701.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/term.php

    r36308 r36497  
    33 * Edit Term Administration Screen.
    44 *
    5  * @package    WordPress
     5 * @package WordPress
    66 * @subpackage Administration
     7 * @since 4.5.0
    78 */
    89
  • trunk/src/wp-includes/post.php

    r36481 r36497  
    11891189
    11901190/**
    1191  * Unregister a post type.
    1192  *
    1193  * Can not be used to unregister built-in post types.
     1191 * Un-registers a post type.
     1192 *
     1193 * Can not be used to un-register built-in post types.
    11941194 *
    11951195 * @since 4.5.0
     
    12011201 * @global array      $wp_post_types          List of post types.
    12021202 *
    1203  * @param string $post_type Post type key.
     1203 * @param string $post_type Post type to un-register.
    12041204 * @return bool|WP_Error True on success, WP_Error on failure.
    12051205 */
     
    12111211    $post_type_args = get_post_type_object( $post_type );
    12121212
    1213     // Do not allow unregistering internal post types.
     1213    // Do not allow un-registering internal post types.
    12141214    if ( $post_type_args->_builtin ) {
    12151215        return new WP_Error( 'invalid_post_type', __( 'Unregistering a built-in post type is not allowed' ) );
Note: See TracChangeset for help on using the changeset viewer.