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/post.php

    r956 r957  
    243243            <p>Since you&#8217;re a newcomer, you&#8217;ll have to wait for an admin to raise your level to 1,
    244244            in order to be authorized to post.<br />
    245             You can also <a href="mailto:<?php echo $admin_email ?>?subject=Promotion?">e-mail the admin</a>
     245            You can also <a href="mailto:<?php echo get_settings('admin_email'); ?>?subject=Promotion?">e-mail the admin</a>
    246246            to ask for a promotion.<br />
    247247            When you&#8217;re promoted, just reload this page and you&#8217;ll be able to blog. :)
     
    414414        $result = $wpdb->query("DELETE FROM $tableposts WHERE ID=$post_id");
    415415        if (!$result)
    416             die('Error in deleting... contact the <a href="mailto:$admin_email">webmaster</a>.');
     416            die('Error in deleting...');
    417417
    418418        $result = $wpdb->query("DELETE FROM $tablecomments WHERE comment_post_ID=$post_id");
     
    752752<div class="wrap">
    753753            <p>Since you&#8217;re a newcomer, you&#8217;ll have to wait for an admin to raise your level to 1, in order to be authorized to post blog items.<br />
    754                 You can also <a href="mailto:<?php echo $admin_email ?>?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br />
     754                You can also <a href="mailto:<?php echo get_settings('admin_email'); ?>?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br />
    755755                When you&#8217;re promoted, just reload this page and you&#8217;ll be able to blog. :)</p>
    756756</div>
Note: See TracChangeset for help on using the changeset viewer.