WordPress.org

Make WordPress Core

Ticket #13972: add_new_link_category.patch

File add_new_link_category.patch, 590 bytes (added by wjm, 10 years ago)
  • meta-boxes.php

     
    653653        </ul>
    654654</div>
    655655
     656<?php if ( current_user_can( 'manage_categories', $post->ID ) ): ?>
    656657<div id="category-adder" class="wp-hidden-children">
    657658        <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
    658659        <p id="link-category-add" class="wp-hidden-child">
     
    663664                <span id="category-ajax-response"></span>
    664665        </p>
    665666</div>
     667<?php endif; ?>
    666668<?php
    667669}
    668670