[wp-trac] [WordPress Trac] #36893: Columns filter from taxonomy edit screen (edit-tags.php) gets applied in term edit screen (term.php)
WordPress Trac
noreply at wordpress.org
Fri May 20 06:00:45 UTC 2016
#36893: Columns filter from taxonomy edit screen (edit-tags.php) gets applied in
term edit screen (term.php)
--------------------------+-----------------------------
Reporter: szaqal21 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I've did a simple test:
{{{#!php
<?php
function test($columns)
{
echo 'Test output';
return $columns;
}
add_filter('manage_edit-category_columns', 'test');
}}}
which resulted:
{{{
<div id="screen-meta" class="metabox-prefs">
<div id="contextual-help-wrap" class="hidden no-sidebar" aria-
label="Zakładka pomocy kontekstowej" tabindex="-1">
Test output
</div>
}}}
so this filter is working in term.php. Another thing is that, adding
custom columns in edit-terms.php screen forces Screen options to show in
term.php.
edit-tags.php
[[Image(http://s32.postimg.org/igwy86u2t/image.jpg)]]
term.php
[[Image(http://s32.postimg.org/7ddc2l8sl/image.jpg)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36893>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list