WordPress.org

Make WordPress Core

Ticket #20616: 20616.diff

File 20616.diff, 462 bytes (added by yoavf, 3 years ago)
  • wp-includes/post.php

     
    632632} 
    633633 
    634634/** 
    635  * Register a post type. Do not use before init. 
     635 * Register a post status. Do not use before init. 
    636636 * 
    637637 * A simple function for creating or modifying a post status based on the 
    638638 * parameters given. The function will accept an array (second optional