Changeset 497368
- Timestamp:
- 01/30/2012 03:00:44 PM (14 years ago)
- File:
-
- 1 edited
-
joemobi/trunk/singletons/api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
joemobi/trunk/singletons/api.php
r490701 r497368 94 94 95 95 function admin_menu() { 96 add_options_page('JoeMobi Admin', 'JoeMobi', 'manage_options', 'joemobi-api', array(&$this, 'admin_options'));96 //add_options_page('JoeMobi Admin', 'JoeMobi', 'manage_options', 'joemobi-api', array(&$this, 'admin_options')); 97 97 } 98 98 … … 249 249 250 250 function get_post_types() { 251 return explode(',',get_option('joemobi_api_post_types', 'posts')); 251 $list = explode(',',get_option('joemobi_api_post_types', 'post')); 252 if (count($list) == 0) { 253 $list = array( 254 'post' 255 ); 256 } 257 return $list; 252 258 } 253 259
Note: See TracChangeset
for help on using the changeset viewer.