Changeset 182
- Timestamp:
- Apr 20, 2009, 5:33:30 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/oninstall.php
r156 r182 54 54 55 55 $option_desc = __('WordPress web address'); 56 $wpdb->query("INSERT INTO $wpdb->options ( option_id, blog_id, option_name,option_value, autoload) VALUES ('1','0', 'siteurl','$site_url', 'yes')");57 $wpdb->query("INSERT INTO $wpdb->options ( option_id, blog_id, option_name,option_value, autoload) VALUES ('1','0', 'home','$site_url', 'yes')");56 $wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'siteurl','$site_url', 'yes')"); 57 $wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'home','$site_url', 'yes')"); 58 58 59 59 populate_options(); -
trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php
r158 r182 294 294 return $query; 295 295 } 296 297 function safe_site_url_filter($site_url){ 298 if ($site_url != get_xpress_url()) $site_url = get_xpress_url(); 299 return $site_url; 300 } 301 296 302 ?> -
trunk/wp-content/plugins/xpressme/xpressme.php
r155 r182 28 28 } 29 29 add_action("wp_meta" , "wp_meta_add_xpress_menu"); // add xpress menu in wp_meta 30 31 //Site URL check 32 add_filter('option_home', "safe_site_url_filter"); 33 add_filter('option_siteurl', "safe_site_url_filter"); 34 30 35 31 36 //XOOPS Bloack Cache Refresh … … 71 76 72 77 73 74 78 //The trackback and the pingback are excluded from the count of the comment. 75 79 add_filter('get_comments_number', 'xpress_comment_count', 0);
Note: See TracChangeset
for help on using the changeset viewer.