<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Make WordPress Core &#187; widgets</title>
	<atom:link href="http://make.wordpress.org/core/tag/widgets/feed/" rel="self" type="application/rss+xml" />
	<link>http://make.wordpress.org/core</link>
	<description>WordPress Development Updates</description>
	<lastBuildDate>Mon, 17 Jun 2013 10:00:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta3-24432</generator>
	<atom:link rel='hub' href='http://make.wordpress.org/core/?pushpress=hub'/>
		<item>
		<title>Widgets redesign</title>
		<link>http://make.wordpress.org/core/2009/04/22/widgets-redesign/</link>
		<comments>http://make.wordpress.org/core/2009/04/22/widgets-redesign/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 04:43:19 +0000</pubDate>
		<dc:creator>Andrew Ozz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/?p=322</guid>
		<description><![CDATA[All of the redesigned widgets functionality is in place in trunk. Only remaining is some improvement to the visual design for the widgets screen in admin. The new way to add widgets to WordPress is by extending WP_Widget. All widgets created that way have support for multiple instances. Also all existing widgets will have to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>All of the redesigned widgets functionality is in place in trunk. Only remaining is some improvement to the visual design for the widgets screen in admin.</p>
<p>The new way to add widgets to WordPress is by extending WP_Widget. All widgets created that way have support for multiple instances.</p>
<p>Also all existing widgets will have to be converted to this system as the previous API functions will (most likely) be removed in 2.9. This is quite easy and any of the default widgets can be used as an example.</p>
<p>A typical widget is constructed as follows:</p>
<pre class="brush: php; title: ; notranslate">
class WP_Widget_Archives extends WP_Widget {
	function WP_Widget_Archives() {
		$widget_ops = array('classname' =&gt; 'widget_archive', 'description' =&gt; __( "A monthly archive of your blog's posts") );
		$this-&gt;WP_Widget(false, __('Archives'), $widget_ops);
	}

	function widget( $args, $instance ) {
		// displays the widget on the front end
	}

	function update( $new_instance, $old_instance ) {
		// update the instance's settings
	}

	function form( $instance ) {
		// displays the widget admin form
	}
}

// register the widget
add_action('widgets_init', 'my_super_widget_init');
function my_super_widget_init() {
	register_widget('WP_Widget_Archives');
}
</pre>
<p>For more details and examples check <code>wp-includes/widgets.php</code> and <code>wp-includes/default-widgets.php</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2009/04/22/widgets-redesign/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Soliciting feedback on new Widgets API</title>
		<link>http://make.wordpress.org/core/2009/03/27/soliciting-feedback-on-new-widgets-api/</link>
		<comments>http://make.wordpress.org/core/2009/03/27/soliciting-feedback-on-new-widgets-api/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 18:42:30 +0000</pubDate>
		<dc:creator>Ryan Boren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2009/03/27/soliciting-feedback-on-new-widgets-api/</guid>
		<description><![CDATA[Soliciting feedback on new Widgets API]]></description>
				<content:encoded><![CDATA[<p><a href="http://comox.textdrive.com/pipermail/wp-hackers/2009-March/025566.html">Soliciting feedback</a> on new Widgets API</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2009/03/27/soliciting-feedback-on-new-widgets-api/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Converting default widgets to the new wi &#8230;</title>
		<link>http://make.wordpress.org/core/2009/03/18/converting-default-widgets-to-the-new-wi/</link>
		<comments>http://make.wordpress.org/core/2009/03/18/converting-default-widgets-to-the-new-wi/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 05:51:33 +0000</pubDate>
		<dc:creator>Ryan Boren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2009/03/18/converting-default-widgets-to-the-new-wi/</guid>
		<description><![CDATA[Converting default widgets to the new widgets API.]]></description>
				<content:encoded><![CDATA[<p>Converting default widgets to the <a href="http://core.trac.wordpress.org/ticket/8441">new widgets API</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2009/03/18/converting-default-widgets-to-the-new-wi/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Nice &#8211; widgets are running into some int &#8230;</title>
		<link>http://make.wordpress.org/core/2008/03/13/nice-widgets-are-running-into-some-int/</link>
		<comments>http://make.wordpress.org/core/2008/03/13/nice-widgets-are-running-into-some-int/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 23:59:33 +0000</pubDate>
		<dc:creator>Michael Adams (mdawaffe)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2008/03/13/nice-widgets-are-running-into-some-int/</guid>
		<description><![CDATA[Nice &#8211; widgets are running into some integer overflow bug.]]></description>
				<content:encoded><![CDATA[<p>Nice &#8211; widgets are running into some integer overflow bug.</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2008/03/13/nice-widgets-are-running-into-some-int/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Going to clean up the new widget interfa &#8230;</title>
		<link>http://make.wordpress.org/core/2008/03/01/going-to-clean-up-the-new-widget-interfa/</link>
		<comments>http://make.wordpress.org/core/2008/03/01/going-to-clean-up-the-new-widget-interfa/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 01:07:35 +0000</pubDate>
		<dc:creator>Michael Adams (mdawaffe)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2008/03/01/going-to-clean-up-the-new-widget-interfa/</guid>
		<description><![CDATA[Going to clean up the new widget interface so that cancel buttons really mean cancel. [5886]]]></description>
				<content:encoded><![CDATA[<p>Going to clean up the new widget interface so that cancel buttons really mean cancel.</p>
<p><a href="http://trac.wordpress.org/ticket/5886" title="Text Widget - Cancel link doesn't work">[5886]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2008/03/01/going-to-clean-up-the-new-widget-interfa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going to try to add descriptive info to  &#8230;</title>
		<link>http://make.wordpress.org/core/2008/03/01/going-to-try-to-add-descriptive-info-to/</link>
		<comments>http://make.wordpress.org/core/2008/03/01/going-to-try-to-add-descriptive-info-to/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 01:06:30 +0000</pubDate>
		<dc:creator>Michael Adams (mdawaffe)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2008/03/01/going-to-try-to-add-descriptive-info-to/</guid>
		<description><![CDATA[Going to try to add descriptive info to titles for in-use-widgets in the admin early next week. Text: {excerpt}&#8230;]]></description>
				<content:encoded><![CDATA[<p>Going to try to add descriptive info to titles for in-use-widgets in the admin early next week.</p>
<p>Text: {excerpt}&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2008/03/01/going-to-try-to-add-descriptive-info-to/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>mdawaffe landed some dashboard widget ca &#8230;</title>
		<link>http://make.wordpress.org/core/2008/02/21/mdawaffe-landed-some-dashboard-widget-ca/</link>
		<comments>http://make.wordpress.org/core/2008/02/21/mdawaffe-landed-some-dashboard-widget-ca/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 21:23:03 +0000</pubDate>
		<dc:creator>Ryan Boren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2008/02/21/mdawaffe-landed-some-dashboard-widget-ca/</guid>
		<description><![CDATA[mdawaffe landed some dashboard widget caching improvements.]]></description>
				<content:encoded><![CDATA[<p>mdawaffe landed some dashboard widget caching improvements.</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2008/02/21/mdawaffe-landed-some-dashboard-widget-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mike landed the Plugins dashboard widget &#8230;</title>
		<link>http://make.wordpress.org/core/2008/02/20/mike-landed-the-plugins-dashboard-widget/</link>
		<comments>http://make.wordpress.org/core/2008/02/20/mike-landed-the-plugins-dashboard-widget/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 05:21:04 +0000</pubDate>
		<dc:creator>Ryan Boren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://wpdevel.wordpress.com/2008/02/20/mike-landed-the-plugins-dashboard-widget/</guid>
		<description><![CDATA[Mike landed the Plugins dashboard widget.]]></description>
				<content:encoded><![CDATA[<p>Mike landed the Plugins dashboard widget.</p>
]]></content:encoded>
			<wfw:commentRss>http://make.wordpress.org/core/2008/02/20/mike-landed-the-plugins-dashboard-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
