Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a WordPress theme that's installed and has been running fine for a while. I recently needed to update the theme itself, and I did so using the built-in theme editor. Upon reloading the site, the theme changes are not presented in the markup.

Removing the index.php file from the theme or changing it's name results in a blank page as expected, but removing all contents of the theme's index.php does not have a similar effect. In fact, the WordPress installation continues as if I had not made index.php blank.

I have no caching plugins installed, Varnish is not present, memcached is not in use at all, and neither is APC.

I attempted upgrading all the plugins and WordPress itself. The raw-html plugin I have installed failed to update with a fatal error about an include on line 16, but that include was not present. The update worked fine when I renamed the plugin filename though (from raw_html.php to raw_html1.php).

share|improve this question
    
Are you just changing index.php? And if so, are you sure that where you're checking on the frontend, index.php is being used? –  TheDeadMedic Jun 17 '11 at 20:22
    
Yes, that's all we're changing. And when we remove the index.php file entirely it results in a blank page, so it is indeed being used. –  Jack7890 Jun 17 '11 at 20:26
1  
Not necessarily - a theme can break merely from the lack of index.php, even if it isn't being used for that particular request. What parts of the site are you checking for changes? –  TheDeadMedic Jun 17 '11 at 20:34
    
The index.php file is the file that includes the header, footer, and has the main site content, so when the contents of this file are removed, the site should also be blank. Unfortunately, this is not the case. –  Jack7890 Jun 17 '11 at 20:54
    
Not if the request you're checking is using single.php, page.php, front-page.php, home.php etc. I'd advice modifying all your theme view files (just add an HTML comment that identifies the template), then check your source on the website for it. –  TheDeadMedic Jun 17 '11 at 21:41
show 3 more comments

closed as too localized by kaiser, toscho Nov 4 '12 at 16:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.