Changeset 30641
- Timestamp:
- 11/30/2014 06:36:59 AM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r30599 r30641 20 20 * 21 21 * @param bool $expand Whether to enable the 'expand' functionality. Default true. 22 * @param string $post_type Post type. 22 23 */ 23 24 if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() && 24 25 ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) && 25 apply_filters( 'wp_editor_expand', true ) ) {26 apply_filters( 'wp_editor_expand', true, $post_type ) ) { 26 27 27 28 wp_enqueue_script('editor-expand'); -
trunk/src/wp-admin/includes/template.php
r30574 r30641 2043 2043 2044 2044 public static function pointer_wp410_dfw() { 2045 // Don't show when editor-scrolling is not used. 2046 if ( empty( $GLOBALS['_content_editor_dfw'] ) ) { 2047 return; 2048 } 2049 2045 2050 $content = '<h3>' . __( 'Distraction Free Writing' ) . '</h3>'; 2046 2051 $content .= '<p>' . __( 'Enable distraction free writing; everything fades away so you can focus. '
Note: See TracChangeset
for help on using the changeset viewer.