Title: Qliphoth's Replies | WordPress.org

---

# Qliphoth

  [  ](https://wordpress.org/support/users/qliphoth/)

 *   [Profile](https://wordpress.org/support/users/qliphoth/)
 *   [Topics Started](https://wordpress.org/support/users/qliphoth/topics/)
 *   [Replies Created](https://wordpress.org/support/users/qliphoth/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/qliphoth/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/qliphoth/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/qliphoth/engagements/)
 *   [Favorites](https://wordpress.org/support/users/qliphoth/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/qliphoth/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/qliphoth/replies/page/2/?output_format=md)

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Post Count to include Pending](https://wordpress.org/support/topic/post-count-to-include-pending/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/post-count-to-include-pending/#post-7356439)
 * Right, I’ve been looking at that, and the problem is how _update_post_term_count()
   for taxonomies attached to post types first confirms that the objects are published
   before counting them.
 * Ideally, I would like for the default way WordPress works (by hooking into it
   via functions.php or a plugin) would be for WordPress to just count all posts
   in a category against it, no matter if the post is in draft, pending, scheduled
   or published. It feels like that would be less work and require less administration(
   and fewer possible scenarios that could cause errors) than creating a separate
   API call to fetch only this “special” count, when I’m already fetching the other
   category data (id, name, slug, etc) using the normal API call.
 * It all boils down to this one row in taxonomy.php:
 * `$count += (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb-
   >term_relationships, $wpdb->posts WHERE $wpdb->posts.ID = $wpdb->term_relationships.
   object_id AND post_status = 'publish' AND post_type IN ('" . implode("', '", 
   $object_types ) . "') AND term_taxonomy_id = %d", $term ) );`
 * I’m not going to change any of the core WordPress files, I just want the function
   to ignore that “post_status” part of the query by hooking into it from elsewhere.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Post Count to include Pending](https://wordpress.org/support/topic/post-count-to-include-pending/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/post-count-to-include-pending/#post-7356421)
 * Sorry, no can do. The count field correlates with a value stored in the database,
   so grabbing information about a taxonomy will always **only** show the amount
   of posts that are published in that category, no matter what arguments you apply.
 * The external tool is one of my own making as well, so I’m in 100% control of 
   the code, but no matter how I turn this around, it all comes back to the same
   thing, I have to change how WordPress returns the “count” of the taxonomy. It
   has to include all posts in a taxonomy, not just published posts.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Shutdown job taking _enormous_ amounts of time.](https://wordpress.org/support/topic/shutdown-job-taking-_enormous_-amounts-of-time/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shutdown-job-taking-_enormous_-amounts-of-time/#post-7246245)
 * Yeah, I know what the `shutdown` job _is_, but I’m trying to figure out why it’s
   taking so long… 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Passing author via URL argument](https://wordpress.org/support/topic/passing-author-via-url-argument/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/passing-author-via-url-argument/#post-4888968)
 * Alternatively, if there are any XMLRPC hooks you can use for cohosts, that’s 
   even better.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Ajax 500 Errors](https://wordpress.org/support/topic/ajax-500-errors/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/ajax-500-errors/#post-3131929)
 * jcow, I’m not sure if you actually read my initial message, where I said quite
   clearly that “My webhost doesn’t offer too detailed logs about stuff like this,
   so all I can see is that there’s an error 500, not what’s causing it.”
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [caption shortcode broked in visual editor](https://wordpress.org/support/topic/caption-shortcode-broked-in-visual-editor/)
 *  [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/caption-shortcode-broked-in-visual-editor/#post-3110723)
 * I’m having the same problem here, too.
 * _[[No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping), thank you.]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quote Source] [Plugin: Quote Source] Debug shows error](https://wordpress.org/support/topic/plugin-quote-source-debug-shows-error/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-quote-source-debug-shows-error/#post-3123072)
 * Nothing?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Ajax 500 Errors](https://wordpress.org/support/topic/ajax-500-errors/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/ajax-500-errors/#post-3131889)
 * Why is this marked as resolved?!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Ajax 500 Errors](https://wordpress.org/support/topic/ajax-500-errors/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/ajax-500-errors/#post-3131856)
 * Any ideas? This is throwing a couple of really weird errors my way of late. For
   example, WP-Polls occasionally believes that people haven’t voted, but if they
   try to do so, it just tells them that it “Failed To Verify Referer”.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Ajax 500 Errors](https://wordpress.org/support/topic/ajax-500-errors/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/ajax-500-errors/#post-3131841)
 * I replaced jquery.js with the un-minified version, and narrowed down the problem
   to this line:
 *     ```
       // Do send the request
       // This may raise an exception which is actually
       // handled in jQuery.ajax (so no try/catch here)
       xhr.send( ( s.hasContent && s.data ) || null );
       ```
   
 * However, since it refers to jQuery.ajax, I’m not sure exactly how to narrow it
   down further.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PowerPress Podcasting plugin by Blubrry] [Plugin: Blubrry PowerPress Podcasting plugin] Blank post.php for certain users after adding podcast](https://wordpress.org/support/topic/plugin-blubrry-powerpress-podcasting-plugin-blank-postphp-for-certain-users-after-adding-podcast/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-blubrry-powerpress-podcasting-plugin-blank-postphp-for-certain-users-after-adding-podcast/#post-3122508)
 * Clarification, when I say “This gives me a blank post.php” above, I mean when
   I save the post as pending or as draft. It’s as if the addition of information
   in the URL window causes the submission to choke, but only when submitting as
   a non-administrator.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Imsanity] [Plugin: Imsanity] Examining existing attachments. This may take a few moments](https://wordpress.org/support/topic/plugin-imsanity-examining-existing-attachments-this-may-take-a-few-moments/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-imsanity-examining-existing-attachments-this-may-take-a-few-moments/#post-2790444)
 * Any suggestions here?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Imsanity] [Plugin: Imsanity] Examining existing attachments. This may take a few moments](https://wordpress.org/support/topic/plugin-imsanity-examining-existing-attachments-this-may-take-a-few-moments/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-imsanity-examining-existing-attachments-this-may-take-a-few-moments/#post-2790300)
 * Very true! I just checked the console, and I’m getting this:
 *     ```
       POST http://www.csicon.org/wp-admin/admin-ajax.php 500 (Internal Server Error) load-scripts.php:4
       f.support.ajax.f.ajaxTransport.send load-scripts.php:4
       f.extend.ajax load-scripts.php:4
       f.each.f.(anonymous function) load-scripts.php:4
       (anonymous function) imsanity.js:75
       f.extend.speed.d.complete load-scripts.php:4
       f.fx.step load-scripts.php:4
       h load-scripts.php:4
       f.extend.tick load-scripts.php:4
       ```
   
 * It’s weird, though, I don’t get AJAX-related errors elsewhere, as far as I can
   see.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Imsanity] [Plugin: Imsanity] Locked to 600 wide?](https://wordpress.org/support/topic/plugin-imsanity-locked-to-600-wide/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-imsanity-locked-to-600-wide/#post-2790180)
 * Marking this as resolved for now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Imsanity] [Plugin: Imsanity] Locked to 600 wide?](https://wordpress.org/support/topic/plugin-imsanity-locked-to-600-wide/)
 *  Thread Starter [Qliphoth](https://wordpress.org/support/users/qliphoth/)
 * (@qliphoth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-imsanity-locked-to-600-wide/#post-2790142)
 * Never mind; just disabled Imsanity and it seems my installation is still doing
   this for some reason.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/qliphoth/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/qliphoth/replies/page/2/?output_format=md)