Changeset 43571 for trunk/src/wp-admin/includes/class-wp-screen.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-screen.php
r42871 r43571 807 807 </a> 808 808 </li> 809 <?php809 <?php 810 810 $class = ''; 811 811 endforeach; … … 838 838 ?> 839 839 </div> 840 <?php840 <?php 841 841 $classes = 'help-tab-content'; 842 842 endforeach; … … 891 891 <button type="button" id="contextual-help-link" class="button show-settings" aria-controls="contextual-help-wrap" aria-expanded="false"><?php _e( 'Help' ); ?></button> 892 892 </div> 893 <?php893 <?php 894 894 endif; 895 895 if ( $this->show_screen_options() ) : 896 896 ?> 897 897 <div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle"> 898 898 <button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button> … … 969 969 public function render_screen_options( $options = array() ) { 970 970 $options = wp_parse_args( 971 $options, array( 971 $options, 972 array( 972 973 'wrap' => true, 973 974 ) … … 1122 1123 <label class="columns-prefs-<?php echo $i; ?>"> 1123 1124 <input type='radio' name='screen_columns' value='<?php echo esc_attr( $i ); ?>' 1124 <?php checked( $screen_layout_columns, $i ); ?> />1125 <?php printf( _n( '%s column', '%s columns', $i ), number_format_i18n( $i ) ); ?>1125 <?php checked( $screen_layout_columns, $i ); ?> /> 1126 <?php printf( _n( '%s column', '%s columns', $i ), number_format_i18n( $i ) ); ?> 1126 1127 </label> 1127 <?php1128 <?php 1128 1129 endfor; 1129 ?>1130 ?> 1130 1131 </fieldset> 1131 1132 <?php … … 1236 1237 // This needs a submit button 1237 1238 add_filter( 'screen_options_show_submit', '__return_true' ); 1238 ?>1239 ?> 1239 1240 <fieldset class="metabox-prefs view-mode"> 1240 1241 <legend><?php _e( 'View Mode' ); ?></legend> … … 1248 1249 </label> 1249 1250 </fieldset> 1250 <?php1251 <?php 1251 1252 } 1252 1253
Note: See TracChangeset
for help on using the changeset viewer.