WordPress.org

Make WordPress Core

Changeset 14589


Ignore:
Timestamp:
05/12/10 21:17:38 (4 years ago)
Author:
nacin
Message:

Unset capabilities property when we're done. see #13358.

File:
1 edited

Legend:

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

    r14587 r14589  
    825825 
    826826    $args->cap = get_post_type_capabilities( $args ); 
     827    unset($args->capabilities); 
    827828 
    828829    if ( ! empty($args->supports) ) { 
Note: See TracChangeset for help on using the changeset viewer.