Ticket #37172: 37172.patch
File 37172.patch, 1.4 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/template.php
1025 1025 continue; 1026 1026 $i++; 1027 1027 $hidden_class = in_array($box['id'], $hidden) ? ' hide-if-js' : ''; 1028 echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";1028 echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . PHP_EOL; 1029 1029 if ( 'dashboard_browser_nag' != $box['id'] ) { 1030 1030 echo '<button type="button" class="handlediv button-link" aria-expanded="true">'; 1031 1031 echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $box['title'] ) . '</span>'; … … 1032 1032 echo '<span class="toggle-indicator" aria-hidden="true"></span>'; 1033 1033 echo '</button>'; 1034 1034 } 1035 echo "<h2 class='hndle'><span>{$box['title']}</span></h2>\n";1036 echo '<div class="inside">' . "\n";1035 echo '<h2 class="hndle"><span>'.$box['title'].'</span></h2>' . PHP_EOL; 1036 echo '<div class="inside">' . PHP_EOL; 1037 1037 call_user_func($box['callback'], $object, $box); 1038 echo "</div>\n";1039 echo "</div>\n";1038 echo '</div>' . PHP_EOL; 1039 echo '</div>' . PHP_EOL; 1040 1040 } 1041 1041 } 1042 1042 }