[wp-trac] Re: [WordPress Trac] #8146: Quick tag/category edit
appears to be using filtered data
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 13 15:37:45 GMT 2008
#8146: Quick tag/category edit appears to be using filtered data
-----------------------------------------+----------------------------------
Reporter: jhodgdon | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.7
Severity: normal | Resolution:
Keywords: tag, category, edit, filter |
-----------------------------------------+----------------------------------
Comment (by jhodgdon):
Yes, of course my plugin is fitering -- that is the exact function of this
plugin, to make it so that only one language is displayed at a time, while
two or more are stored in the database for posts, tags, categories, etc.
It is only because my plugin is filtering that I know there is a problem.
You do not see the problem because you are not running a plugin that
filters for display.
But data needed for editing should not be applying display filters. That
has to work, and it does work for regular edit currently, just not quick
edit. In my debugging, I also saw that, even putting debug prints right in
the $wp_db->query() function, that query was pulling out different data
when called from the quick edit setup than when called from the full edit
setup. Can you explain that? I can't. I put a print right inside the
$wp_db->query() function that printed out the query, as well as the
results, and I got a different answer from the same query when run during
quick edit setup and when run during full edit setup. Mystifying.
Because of the unstructured way that WP does filtering, my plugin has a
large number of filters... I am gonig to try to narrow this down to a
minimal subset and attach a simple display filtering plugin you can use
for testing shortly.
--
Ticket URL: <http://trac.wordpress.org/ticket/8146#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list