[wp-trac] [WordPress Trac] #35099: Make the filter links (Mine, Status, Author, Taxonomy, etc.) links in the posts list table filterable
WordPress Trac
noreply at wordpress.org
Fri Sep 26 10:00:38 UTC 2025
#35099: Make the filter links (Mine, Status, Author, Taxonomy, etc.) links in the
posts list table filterable
-------------------------------------------------+-------------------------
Reporter: sebastian.pisula | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-test- | Focuses:
info |
-------------------------------------------------+-------------------------
Comment (by mosescursor):
Patch Testing for Issue “35099”
== Test Report
=== Bug Description
"Mine" comment count isn't auto updated when replying to or moderating a
comment. Requires manual refresh to count.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9950
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 140.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.3
- MU Plugins: None activated
- Plugins:
* Edit Filter Links Test 0.3
* Test Reports 1.2.0
=== Actual Results
1. ✅ Issue resolved with patch.
=== Testing Instructions
1. Used the testing instructions from SirLouen
Add this filter edit_filter_links and then you can pretty much edit
everything. These filters affect these elements in edit.php. So after
applying the filter, you should see modifications in these
https://i.imgur.com/Lb921ut.png
Try modifying the url, the link_text and the css_class and observe results
=== Additional Notes
Followed the testing instructions above.
=== Supplemental Artifacts
Code Used in the test plugin
{{{
<?php
/**
* Plugin Name: Edit Filter Links Test
* Description: Testing structured `edit_filter_links` filter.
* Version: 0.3
* Author: You
*/
add_filter(
'edit_filter_links',
function ( $edit_filter_link_vars ) {
// Change the link text: prepend "My "
$edit_filter_link_vars['link_text'] = 'My ' .
$edit_filter_link_vars['link_text'];
// (Optional) change the URL
// $edit_filter_link_vars['url'] = esc_url( home_url() );
// (Optional) add CSS classes
// $edit_filter_link_vars['css_class'] .= ' test test2 test3';
return $edit_filter_link_vars;
},
10,
1
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35099#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list