Removing PHP4 Compatibility in WordPress Custom Widgets

There I was. Working on adding PHP docblocks to widgets.php in /wp-includes, like you do, when I came across this: [snippet id=8760 line_numbers=false lang=php] So I set about trying to figure out the appropriate @since parameter to use. Do I base the @since on when the WP_Widget function was first added (2.8)? Or from when … Continue reading Removing PHP4 Compatibility in WordPress Custom Widgets