Ticket #18038: 18038.diff
| File 18038.diff, 820 bytes (added by , 15 years ago) |
|---|
-
wp-admin/includes/class-wp-terms-list-table.php
323 323 * @since 3.1.0 324 324 */ 325 325 function inline_edit() { 326 global $ tax;326 global $post_type, $tax; 327 327 328 328 if ( ! current_user_can( $tax->cap->edit_terms ) ) 329 329 return; … … 369 369 <span class="error" style="display:none;"></span> 370 370 <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> 371 371 <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $tax->name ); ?>" /> 372 <input type="hidden" name="post_type" value="<?php echo esc_attr( $post_type ); ?>" /> 372 373 <br class="clear" /> 373 374 </p> 374 375 </td></tr>