- Timestamp:
- 02/21/2017 07:01:07 AM (6 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-wp-customize-nav-menus.php
r40095 r40098 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', __( 'Unknown post type' ) ); 791 791 }
Note: See TracChangeset
for help on using the changeset viewer.