Ticket #18615: 18615.patch
File 18615.patch, 1.8 KB (added by , 12 years ago) |
---|
-
wp-admin/admin-header.php
62 62 thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>', 63 63 decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>', 64 64 isRtl = <?php echo (int) is_rtl(); ?>; 65 <?php if ( isset($current_screen->post_type) ) : ?> 66 isHierarchicalDisplay = <?php echo is_post_type_hierarchical($current_screen->post_type) && 'menu_order title' == $wp_query->query['orderby'] ? 1 : 0; ?>; 67 <?php endif; ?> 65 68 66 69 function wp_set_width_class() { 67 70 var w = document.body.clientWidth, bc = document.body.className; -
wp-admin/includes/class-wp-posts-list-table.php
502 502 break; 503 503 504 504 case 'title': 505 if ( $this->hierarchical_display ) {505 if ( $this->hierarchical_display || !empty( $_POST['hierarchical_display'] ) ) { 506 506 $attributes = 'class="post-title page-title column-title"' . $style; 507 507 508 508 if ( 0 == $level && (int) $post->post_parent > 0 ) { -
wp-admin/js/inline-edit-post.dev.js
231 231 post_type: typenow, 232 232 post_ID: id, 233 233 edit_date: 'true', 234 post_status: page 234 post_status: page, 235 hierarchical_display: isHierarchicalDisplay 235 236 }; 236 237 237 238 fields = $('#edit-'+id+' :input').serialize();