Make WordPress Core


Ignore:
Timestamp:
02/14/2005 09:17:23 AM (21 years ago)
Author:
rboren
Message:

Load comments-popup template through the index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-functions.php

    r2293 r2332  
    555555           
    556556            foreach ($lines as $line) {
    557                 if (preg_match('/require.*wp-blog-header/', $line)) {
    558                     if ($newfile == 'comments-popup.php')
    559                         $line = "require('../../../wp-blog-header.php');";
    560                     else
    561                         $line = '//' . $line;
    562                 }
     557                if (preg_match('/require.*wp-blog-header/', $line))
     558                    $line = '//' . $line;
    563559
    564560                // Update stylesheet references.
Note: See TracChangeset for help on using the changeset viewer.