[wp-trac] [WordPress Trac] #55322: The Class WP-Post List Table(Method - Column_Default) Contains Irrelevant Keyword 'return'
WordPress Trac
noreply at wordpress.org
Sun Mar 6 03:49:15 UTC 2022
#55322: The Class WP-Post List Table(Method - Column_Default) Contains Irrelevant
Keyword 'return'
-------------------------------+-----------------------------
Reporter: cu121 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 3.5
Severity: normal | Resolution: invalid
Keywords: | Focuses: administration
-------------------------------+-----------------------------
Changes (by costdev):
* keywords: dev-feedback needs-patch =>
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Thanks for opening this ticket @cu121!
As @joyously explained:
- When the column is `categories`, `post_tags`, or starts with
`taxonomy-`:
- Handle the taxonomy and return.
- Otherwise:
- Run an appropriate action hook depending on whether the post type is
hierarchical (yes = Pages hook, no = Posts hook).
- Finally, run the action hook for the specific post type.
I'll close this ticket as `invalid`, as the method returns at an
appropriate time.
Thanks to all for their insight on this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55322#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list