[wp-trac] [WordPress Trac] #17935: Quick edit in admin bypasses custom_column filters in wp-admin/edit.php
WordPress Trac
noreply at wordpress.org
Fri Dec 6 16:38:13 UTC 2013
#17935: Quick edit in admin bypasses custom_column filters in wp-admin/edit.php
----------------------------+-----------------------------
Reporter: postpostmodern | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 3.2
Severity: normal | Resolution: wontfix
Keywords: has-patch |
----------------------------+-----------------------------
Comment (by nacin):
Adding new fields into WP_Query for what you're trying to do isn't
supported. It pollutes the cache and can cause all sorts of problems and
inconsistencies. You're going to want to instead use get_post_meta(), not
$post->price. Then you won't have a problem in either context.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17935#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list