From 229ea6db0019536f1efea2dadfe3ad53284a9574 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 30 Jan 2006 12:03:26 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@520 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-admin/admin-functions.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'wp-inst/wp-admin/admin-functions.php') diff --git a/wp-inst/wp-admin/admin-functions.php b/wp-inst/wp-admin/admin-functions.php index e6fc59c..e89e78e 100644 --- a/wp-inst/wp-admin/admin-functions.php +++ b/wp-inst/wp-admin/admin-functions.php @@ -966,14 +966,6 @@ function touch_time($edit = 1, $for_post = 1) { } -function check_admin_referer() { - $adminurl = strtolower(get_settings('siteurl')).'/wp-admin'; - $referer = strtolower($_SERVER['HTTP_REFERER']); - if (!strstr($referer, $adminurl)) - die(__('Sorry, you need to enable sending referrers for this feature to work.')); - do_action('check_admin_referer'); -} - // insert_with_markers: Owen Winkler, fixed by Eric Anderson // Inserts an array of strings into a file (.htaccess), placing it between // BEGIN and END markers. Replaces existing marked info. Retains surrounding -- cgit