mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -242,7 +242,7 @@ switch($action) {
|
||||
?>
|
||||
<p>Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1,
|
||||
in order to be authorized to post.<br />
|
||||
You can also <a href="mailto:<?php echo $admin_email ?>?subject=Promotion?">e-mail the admin</a>
|
||||
You can also <a href="mailto:<?php echo get_settings('admin_email'); ?>?subject=Promotion?">e-mail the admin</a>
|
||||
to ask for a promotion.<br />
|
||||
When you’re promoted, just reload this page and you’ll be able to blog. :)
|
||||
</p>
|
||||
@@ -413,7 +413,7 @@ switch($action) {
|
||||
|
||||
$result = $wpdb->query("DELETE FROM $tableposts WHERE ID=$post_id");
|
||||
if (!$result)
|
||||
die('Error in deleting... contact the <a href="mailto:$admin_email">webmaster</a>.');
|
||||
die('Error in deleting...');
|
||||
|
||||
$result = $wpdb->query("DELETE FROM $tablecomments WHERE comment_post_ID=$post_id");
|
||||
|
||||
@@ -751,7 +751,7 @@ function oneclickbookmarklet(blah) {
|
||||
?>
|
||||
<div class="wrap">
|
||||
<p>Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post blog items.<br />
|
||||
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 />
|
||||
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 />
|
||||
When you’re promoted, just reload this page and you’ll be able to blog. :)</p>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user