mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
wp_die() improvements from Sewar. fixes #2902
git-svn-id: https://develop.svn.wordpress.org/trunk@4006 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,7 +16,7 @@ switch ($step) {
|
||||
{
|
||||
include_once('admin-header.php');
|
||||
if ( !current_user_can('manage_links') )
|
||||
die (__("Cheatin’ uh?"));
|
||||
wp_die(__('Cheatin’ uh?'));
|
||||
|
||||
$opmltype = 'blogrolling'; // default.
|
||||
?>
|
||||
@@ -68,7 +68,7 @@ foreach ($categories as $category) {
|
||||
|
||||
include_once('admin-header.php');
|
||||
if ( !current_user_can('manage_links') )
|
||||
die (__("Cheatin' uh ?"));
|
||||
wp_die(__('Cheatin’ uh?'));
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user