Updated constructor
-
As I’ve tried to say on your website (but have had lots of trouble with the “comment editor”), here’s a revised constructor–replacing the deprecated one:
/** * CONSTRUCTOR */ function __construct() { // set widget options $widget_ops = array ( 'classname' => 'customMetaWidget', 'description' => __( 'Hide the individual log in/out, admin, feed and WordPress links', 'customMetaWidget' ) ); parent::__construct( 'customMetaWidget', // Base ID __('Custom Meta', 'customMetaWidget'), // Name $widget_ops // Args ); }
Thanks. (And sorry for all of the postings–feel free to (in fact, please) delete the ones I posted on your site.)
Scott
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Updated constructor’ is closed to new replies.