Abstraction of a admin functions, new custom options page for general options, improved style.

git-svn-id: https://develop.svn.wordpress.org/trunk@869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-02-13 09:59:47 +00:00
parent 2a85f5b103
commit 1213208d71
8 changed files with 152 additions and 27 deletions
+8
View File
@@ -1,5 +1,13 @@
<?php
function selected($selected, $current) {
if ($selected == $current) echo ' selected="selected"';
}
function checked($checked, $current) {
if ($checked == $current) echo ' checked="checked"';
}
function get_nested_categories($default = 0) {
global $post, $tablecategories, $tablepost2cat, $mode, $wpdb;