MattGeri/WP-Most-Popular — pull request #4 by sanchothefat (2012-08-13 12:11:26+00:00)
Title: Making the widget editable via filters etc...

Hi Matt,

Cheers for this plugin. Wanted something a lot leaner than the others out there and one that doesn't give the ability to ruin the design!

I've put in a couple of lines of code to do a few things I needed to do:

2 filters for the before and after output eg: to change the `

` and `

`,

1 action for the list item output, I moved the list item output to a separate function in the widget class which gets added to the output action as a default by the one line addition at the bottom of the main plugin file.

Let me know what you think and whether you'd do things differently. I'm also interested to know what if any further plans you had for this plugin that I may be able to help with.