Title: ksofttech's Replies | WordPress.org

---

# ksofttech

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

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

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress broke in PHP 5.2.8](https://wordpress.org/support/topic/wordpress-broke-in-php-528/)
 *  Thread Starter [ksofttech](https://wordpress.org/support/users/ksofttech/)
 * (@ksofttech)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/wordpress-broke-in-php-528/#post-1540575)
 * So just to clarify. I changed the code back to its original state (with the original
   calls to strstr()) and simply moved one parenthesis in order to solve the problem
   on my implementation.
 * Simple fix after hours of tracking this sucker down!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site Diappeared!](https://wordpress.org/support/topic/site-diappeared/)
 *  [ksofttech](https://wordpress.org/support/users/ksofttech/)
 * (@ksofttech)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/site-diappeared/#post-1538990)
 * I just had the same symptoms with a WP 2.0 site. What happened was that my hosting
   company apparently upgraded PHP and caused a latent bug in WP to suddenly start
   causing problems.
 * I documented it here – maybe it will help:
 * [http://wordpress.org/support/topic/411604](http://wordpress.org/support/topic/411604)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress broke in PHP 5.2.8](https://wordpress.org/support/topic/wordpress-broke-in-php-528/)
 *  Thread Starter [ksofttech](https://wordpress.org/support/users/ksofttech/)
 * (@ksofttech)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/wordpress-broke-in-php-528/#post-1540546)
 * Actually, on second look – it seems there is a problem with the WordPress code–
   and the old strstr() was forgiving enough to let it pass – but the new version
   errors out.
 * Old WP code:
    } elseif (strstr($curl, ‘<code’) || strstr($curl, ‘<pre’) || strstr(
   $curl, ‘<kbd’ || strstr($curl, ‘<style’) || strstr($curl, ‘<script’))) {
 * New fixed code (moving a paren):
    } elseif (strstr($curl, ‘<code’) || strstr(
   $curl, ‘<pre’) || strstr($curl, ‘<kbd’) || strstr($curl, ‘<style’) || strstr(
   $curl, ‘<script’)) {

Viewing 3 replies - 1 through 3 (of 3 total)