Changeset 480639
- Timestamp:
- 12/26/2011 05:07:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
git-sidebar-widget-for-wordpress/tags/1.0.1/gist-sidebar-widget.php
r480638 r480639 40 40 * construct widget 41 41 */ 42 class rkv_ListGistsWidget extends WP_Widget {42 class hrkv_ListGistsWidget extends WP_Widget { 43 43 44 44 /** constructor */ 45 function rkv_ListGistsWidget() {46 $widget_ops = array('classname' => 'list_gists', 'description' => 'Displays a list of gists hosted on GitHub ');47 $this->WP_Widget('list_gists', 'Public GitHub Gists ', $widget_ops);45 function hrkv_ListGistsWidget() { 46 $widget_ops = array('classname' => 'list_gists', 'description' => 'Displays a list of gists hosted on GitHub.'); 47 $this->WP_Widget('list_gists', 'Public GitHub Gists.', $widget_ops); 48 48 } 49 49 … … 226 226 // class 227 227 // register widget 228 add_action('widgets_init', ' rkv_ListGistsWidget_init');229 230 function rkv_ListGistsWidget_init() {228 add_action('widgets_init', 'hrkv_ListGistsWidget_init'); 229 230 function hrkv_ListGistsWidget_init() { 231 231 add_filter('https_local_ssl_verify', create_function('', 'return false;')); 232 232 add_filter('https_ssl_verify', create_function('', 'return false;')); 233 register_widget(' rkv_ListGistsWidget');234 } 233 register_widget('hrkv_ListGistsWidget'); 234 }
Note: See TracChangeset
for help on using the changeset viewer.