Ticket #49478: 49748.diff
File 49748.diff, 582 bytes (added by , 5 years ago) |
---|
-
wp-includes/post.php
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
1237 1237 function get_post_type_object( $post_type ) { 1238 1238 global $wp_post_types; 1239 1239 1240 if ( ! is_s calar( $post_type ) || empty( $wp_post_types[ $post_type ] ) ) {1240 if ( ! is_string( $post_type ) || empty( $wp_post_types[ $post_type ] ) ) { 1241 1241 return null; 1242 1242 } 1243 1243