Changeset 48714
- Timestamp:
- 08/03/2020 12:09:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r48194 r48714 54 54 * @param string $post_type Post type. 55 55 */ 56 if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() && 57 ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) && 58 apply_filters( 'wp_editor_expand', true, $post_type ) ) { 56 $_wp_editor_expand_enabled = apply_filters( 'wp_editor_expand', true, $post_type ); 57 58 if ( post_type_supports( $post_type, 'editor' ) 59 && ! wp_is_mobile() 60 && ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) 61 && $_wp_editor_expand_enabled 62 ) { 59 63 60 64 wp_enqueue_script( 'editor-expand' );
Note: See TracChangeset
for help on using the changeset viewer.