[wp-cvs] wordpress/wp-admin admin-header.php,1.39,1.40

Ryan Boren rboren at users.sourceforge.net
Wed Jan 12 23:33:09 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv327

Modified Files:
	admin-header.php 
Log Message:
Fix double include when handling plugin admin pages.  Bug 649.  Hat tip:  morganiq

Index: admin-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/admin-header.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** admin-header.php	24 Dec 2004 01:34:46 -0000	1.39
--- admin-header.php	12 Jan 2005 23:33:07 -0000	1.40
***************
*** 1,3 ****
! <?php require_once('admin.php'); ?>
  <?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">
--- 1,3 ----
! <?php if (!isset($_GET["page"])) require_once('admin.php'); ?>
  <?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">



More information about the cvs mailing list