Changeset 863
- Timestamp:
- Jun 16, 2016, 1:36:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/dashboard_feed.php
r379 r863 12 12 $widget_options = array(); 13 13 14 $blog_link = 'http://ja.xpressme.info/blog/feed/'; 15 $blog_url = 'http://ja.xpressme.info/blog/feed/'; 14 16 if ( !isset( $widget_options['xpress_dashboard_primary'] ) ) { 15 17 $update = true; 16 18 $widget_options['xpress_dashboard_primary'] = array( 17 'link' => 'http://ja.xpressme.info/blog/',18 'url' => 'http://ja.xpressme.info/feed/',19 'link' => $blog_link , 20 'url' => $blog_url, 19 21 'title' => __( 'XPressME Integration Kit Blog' , 'xpressme') , 20 22 'items' => 2, … … 24 26 ); 25 27 } 28 // Override Setting 29 $widget_options['xpress_dashboard_primary']['link'] = $blog_link; 30 $widget_options['xpress_dashboard_primary']['url'] = $blog_url; 31 26 32 33 $forums_link = 'http://ja.xpressme.info/forums/'; 34 $forums_url = 'http://ja.xpressme.info/forums/feed/'; 27 35 if ( !isset( $widget_options['xpress_dashboard_secondary'] ) ) { 28 36 $update = true; 29 37 $widget_options['xpress_dashboard_secondary'] = array( 30 'link' => 'http://forum.xpressme.info/',31 'url' => 'http://forum.xpressme.info/rss.php?topics=1',38 'link' => $forums_link , 39 'url' => $forums_url, 32 40 'title' => __( 'XPressME Integration Kit Folum' , 'xpressme') , 33 41 'items' => 5, … … 37 45 ); 38 46 } 47 // Override Setting 48 $widget_options['xpress_dashboard_secondary']['link'] = $forums_link; 49 $widget_options['xpress_dashboard_secondary']['url'] = $forums_url; 50 51 39 52 update_option( 'xpress_dashboard_widget_options', $widget_options ); 40 53 if ($xpress_config->is_dashboard_blog_disp){
Note: See TracChangeset
for help on using the changeset viewer.