Make WordPress Core


Ignore:
Timestamp:
03/01/2004 07:55:45 PM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings and away from globals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import-greymatter.php

    r883 r957  
    102102        $result = mysql_query($query);
    103103        if ($result==false) {
    104             die ("<b>ERROR</b>: couldn't register an user... please contact the <a href=\"mailto:$admin_email\">webmaster</a> !");
     104            die ("<strong>ERROR</strong>: couldn't register an user!");
    105105        }
    106106        echo "<li>user <i>$user_login</i>... <b>Done</b></li>";
     
    161161                $result = mysql_query($query);
    162162                if ($result==false) {
    163                     die ("<b>ERROR</b>: couldn't register an user... please contact the <a href=\"mailto:$admin_email\">webmaster</a> !");
     163                    die ("<strong>ERROR</strong>: couldn't register an user!");
    164164                }
    165165                echo ": registered deleted user <i>$user_login</i> at level 0 ";
     
    197197
    198198            if (!$result)
    199                 die ("Error in posting... contact the <a href=\"mailto:$admin_email\">webmaster</a>");
     199                die ("Error in posting...");
    200200           
    201201            $sql2 = "SELECT * FROM $tableposts WHERE 1=1 ORDER BY ID DESC LIMIT 1";
     
    245245                    $result3 = mysql_query($sql3);
    246246                    if (!$result3)
    247                         die ("There is an error with the database, it can't store your comment...<br>Contact the <a href=\"mailto:$admin_email\">webmaster</a>");
     247                        die ("There is an error with the database, it can't store your comment..");
    248248                }
    249249                $comments=$c-4;
Note: See TracChangeset for help on using the changeset viewer.