Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
3
Newest
 Commentator
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
Mar
6
comment Error 500 in single post page after deactivating Wp Cache Plugin
This would be better addressed on the plugin forum. If I got the right one, it would be wordpress.org/support/plugin/wp-cachecom One suggestion is to review the plugin install instructions to make sure you have backed out any other changes that might have been made. Cache plugins can require some special handling to get them hooked in effectively so deactivating could take a few extra steps.
Mar
6
comment Communicating to plugins from webserver
I suspect you need to look at your problem from a different perspective. Assuming I'm understanding your goal, I think you should be looking at AJAX type interactions with your environment. Halting the output of a page for external input is not the way http is designed to work.
Nov
6
comment Why does everybody hook add_rewrite_rule on init
Regarding the window of opportunity, keep in mind that the executing thread is likely to give up the CPU for a blocking IO and it will also do so if it exhausts it's quantum.
Aug
7
comment Disable wp_is_mobile()
If you feel this is also a reasonable answer you could also mark it as answering your question. :) I'd certainly appreciate the recognition.
Aug
7
answered Disable wp_is_mobile()
Aug
7
comment Strategies for a plugin to support CDN-enabled WordPress sites
Have you tried looking at how Jetpack implements its Photon support? Another place to look is in WP Super Cache as they also support CDN usage. My bet is they are using filters and actions to hook into WP in the right places to get images copied to the CDN and fix up URLs that would be returned from such calls as wp_get_attachment_image_src().
Mar
14
answered How to Know if a Plugin can be used with my Theme
Mar
14
suggested rejected edit on How to Know if a Plugin can be used with my Theme
Mar
12
comment WordPress and multithreading
Have a look at stackoverflow.com/questions/4710869/…
Feb
27
comment Stop WordPress from reserving slugs for media items?
I haven't looked at the latest code but I think the issue is in the handling of post types in wp_unique_post_slug(). The SQL query is only searching within the same post-type so it will not check for a collision with attachments.
Feb
22
comment Shortcodes won't work on live environment
With that out of the way, the real issue if you wanted to get this working as a part of a class is to avoid calling the add_action() the way you are. Create a regular function in your class to add with add_action and you'd be able to have your short code handler inside your class.
Feb
22
comment Shortcodes won't work on live environment
Try removing the quotes around $this. You're passing a string '$this' vs the value of $this.
Feb
22
comment Internal Server Error and bad CSS
This looks like a server configuration error and not a Wordpress problem. At least that's where you need to start. Probably allowing too many children on one of the services running on your server. Server configuration seems off topic for this area.
Feb
20
comment Automating the process of shortcode generation in a plugin - how is it done?
If the items you are referencing are rows in one of the databases, such as posts, then you can use the post ID in the manner described here. The ID is assigned as the post is added to the post table and is guaranteed to be unique.
Jan
28
awarded  Commentator
Jan
28
comment Upload path/URL weirdness for the main blog of a multisite/network setup
I've arrived at the same sort of problem via a different path. After migrating to a new hosting provider (and making a few tweaks along the way) I'm also seeing the back-end work fine but the front-end using the the blogs.dir directory for the main site. Did you find a solution?
Jan
8
comment 500 error when using virtual host
I noticed it was old, so I would have expected current source to not have this problem. Seems it's been re-introduced if it was fixed in the past.
Jan
8
comment Wordpress multisite htaccess
Regarding the RewriteCond - It's my understanding that the -f [OR] -d will match if the file or directory does exist. The RewriteRule on the subsequent line (RewriteRule ^ - [L]) would fire (^ matches any URI) and terminate re-insertion of the URI to the engine (- means no substitution and [L] meaning this is the last rule to be applied on this iteration).
Jan
8
answered Wordpress multisite htaccess
Jan
8
comment 500 error when using virtual host
I'm curious which part of the WP source you looked at. With WP4.0 the sub-dir match portion of these rules still appears to suggest using ([_0-9a-zA-Z-]+/)?. I'm looking at wp-admin/network.php.