Fix double include when handling plugin admin pages. Bug 649. Hat tip: morganiq

git-svn-id: http://svn.automattic.com/wordpress/trunk@2086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-01-12 23:33:07 +00:00
parent 5db85f10c6
commit 82e031194e
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?php require_once('admin.php'); ?> <?php if (!isset($_GET["page"])) require_once('admin.php'); ?>
<?php get_admin_page_title(); ?> <?php get_admin_page_title(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">