Ticket #12886: 12886.1.diff
File 12886.1.diff, 1.5 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/template.php
1041 1041 <?php if ( $bulk ) : ?> 1042 1042 1043 1043 <div class="inline-edit-group"> 1044 <?php if ( post_type_supports($screen->post_type, 'comments') ) { ?> 1044 1045 <label class="alignleft"> 1045 1046 <span class="title"><?php _e( 'Comments' ); ?></span> 1046 1047 <select name="comment_status"> … … 1049 1050 <option value="closed"><?php _e('Do not allow'); ?></option> 1050 1051 </select> 1051 1052 </label> 1052 1053 <?php } if ( post_type_supports($screen->post_type, 'trackbacks') ) { ?> 1053 1054 <label class="alignright"> 1054 1055 <span class="title"><?php _e( 'Pings' ); ?></span> 1055 1056 <select name="ping_status"> … … 1058 1059 <option value="closed"><?php _e('Do not allow'); ?></option> 1059 1060 </select> 1060 1061 </label> 1062 <?php } ?> 1061 1063 </div> 1062 1064 1063 1065 <?php else : // $bulk ?> 1064 1066 1065 1067 <div class="inline-edit-group"> 1068 <?php if ( post_type_supports($screen->post_type, 'comments') ) { ?> 1066 1069 <label class="alignleft"> 1067 1070 <input type="checkbox" name="comment_status" value="open" /> 1068 1071 <span class="checkbox-title"><?php _e( 'Allow Comments' ); ?></span> 1069 1072 </label> 1070 1073 <?php } if ( post_type_supports($screen->post_type, 'trackbacks') ) { ?> 1071 1074 <label class="alignleft"> 1072 1075 <input type="checkbox" name="ping_status" value="open" /> 1073 1076 <span class="checkbox-title"><?php _e( 'Allow Pings' ); ?></span> 1074 1077 </label> 1078 <?php } ?> 1075 1079 </div> 1076 1080 1077 1081 <?php endif; // $bulk ?>