Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -36,9 +36,9 @@ function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}el
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addLoadEvent( function() {
|
||||
<?php switch ( $pagenow ) : case 'post.php' : ?>
|
||||
<?php switch ( $pagenow ) : case 'post.php' : case 'post-new.php' : ?>
|
||||
var manager = new dbxManager('postmeta');
|
||||
<?php break; case 'page-new.php' : ?>
|
||||
<?php break; case 'page.php' : case 'page-new.php' : ?>
|
||||
var manager = new dbxManager('pagemeta');
|
||||
<?php break; endswitch; ?>
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user