Abstraction of a admin functions, new custom options page for general options, improved style.
git-svn-id: http://svn.automattic.com/wordpress/trunk@869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user