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