Changeset 39924 for trunk/src/wp-includes/class-wp-customize-nav-menus.php
- Timestamp:
- 01/19/2017 12:00:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r39756 r39924 787 787 */ 788 788 public function insert_auto_draft_post( $postarr ) { 789 if ( ! isset( $postarr['post_type'] ) || ! post_type_exists( $postarr['post_type'] )) {789 if ( ! isset( $postarr['post_type'] ) ) { 790 790 return new WP_Error( 'unknown_post_type', __( 'Invalid post type.' ) ); 791 791 }
Note: See TracChangeset
for help on using the changeset viewer.