diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-01-30 12:03:26 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-01-30 12:03:26 +0000 |
| commit | 229ea6db0019536f1efea2dadfe3ad53284a9574 (patch) | |
| tree | 723b7da1fc5c0b8629cc4176da19b5c80036d710 /wp-inst/wp-admin/admin-functions.php | |
| parent | 7322c2da3ce036e18768aa2f79bc4897796b6ac8 (diff) | |
| download | wordpress-mu-229ea6db0019536f1efea2dadfe3ad53284a9574.tar.gz wordpress-mu-229ea6db0019536f1efea2dadfe3ad53284a9574.tar.xz wordpress-mu-229ea6db0019536f1efea2dadfe3ad53284a9574.zip | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@520 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-functions.php')
| -rw-r--r-- | wp-inst/wp-admin/admin-functions.php | 8 |
1 files changed, 0 insertions, 8 deletions
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 <a href="http://codex.wordpress.org/Enable_Sending_Referrers">enable sending referrers</a> 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 |
