Ticket #18716: 18716.patch
| File 18716.patch, 706 bytes (added by , 15 years ago) |
|---|
-
wp-admin/edit-tags.php
8 8 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once('./admin.php'); 11 $tax = get_taxonomy( $taxnow ); 11 12 if ( ! isset( $_GET['taxonomy'] ) ) 13 $taxonomy = 'post_tag'; 14 elseif ( in_array( $_GET['taxonomy'], get_taxonomies( array('show_ui' => true ) ) ) ) 15 $taxonomy = $_GET['taxonomy']; 16 else 17 wp_die( __( 'Invalid taxonomy' ) ); 18 19 $_GET['taxonomy'] = $taxonomy; 20 21 $tax = get_taxonomy( $taxonomy ); 22 12 23 if ( !current_user_can( $tax->cap->manage_terms ) ) 13 24 wp_die( __( 'Cheatin’ uh?' ) ); 14 25
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)