Changeset 31550 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 02/26/2015 02:46:40 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit-form-advanced.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r31131 r31550 45 45 $user_ID = isset($user_ID) ? (int) $user_ID : 0; 46 46 $action = isset($action) ? $action : ''; 47 48 if ( $post_ID == get_option( 'page_for_posts' ) && empty( $post->post_content ) ) { 49 add_action( 'edit_form_after_title', '_wp_posts_page_notice' ); 50 remove_post_type_support( $post_type, 'editor' ); 51 } 47 52 48 53 $thumbnail_support = current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports( $post_type, 'thumbnail' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)