Changeset 42228 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r42217 r42228 42 42 */ 43 43 if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() && 44 45 44 ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) && 45 apply_filters( 'wp_editor_expand', true, $post_type ) ) { 46 46 47 47 wp_enqueue_script('editor-expand'); … … 145 145 146 146 $messages['post'] = array( 147 148 149 150 151 147 0 => '', // Unused. Messages start at index 1. 148 1 => __( 'Post updated.' ) . $view_post_link_html, 149 2 => __( 'Custom field updated.' ), 150 3 => __( 'Custom field deleted.' ), 151 4 => __( 'Post updated.' ), 152 152 /* translators: %s: date and time of the revision */ 153 154 155 156 157 153 5 => isset($_GET['revision']) ? sprintf( __( 'Post restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 154 6 => __( 'Post published.' ) . $view_post_link_html, 155 7 => __( 'Post saved.' ), 156 8 => __( 'Post submitted.' ) . $preview_post_link_html, 157 9 => sprintf( __( 'Post scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html, 158 158 10 => __( 'Post draft updated.' ) . $preview_post_link_html, 159 159 ); 160 160 $messages['page'] = array( 161 162 163 164 165 161 0 => '', // Unused. Messages start at index 1. 162 1 => __( 'Page updated.' ) . $view_page_link_html, 163 2 => __( 'Custom field updated.' ), 164 3 => __( 'Custom field deleted.' ), 165 4 => __( 'Page updated.' ), 166 166 /* translators: %s: date and time of the revision */ 167 168 169 170 171 167 5 => isset($_GET['revision']) ? sprintf( __( 'Page restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 168 6 => __( 'Page published.' ) . $view_page_link_html, 169 7 => __( 'Page saved.' ), 170 8 => __( 'Page submitted.' ) . $preview_page_link_html, 171 9 => sprintf( __( 'Page scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_page_link_html, 172 172 10 => __( 'Page draft updated.' ) . $preview_page_link_html, 173 173 );
Note: See TracChangeset
for help on using the changeset viewer.