plugify/clean-testimonials — pull request #27 by ericnicolaas (2014-05-14 23:50:55+00:00)
Title: This adds a title field to the widget, and wraps it in standard Wordpres...

There are a number of additions here. I wrote these up yesterday for a client project.

1. Give the widget a title field, and wrap it inside the widget wrapper. For solid theme compatibility, this is critical.
2. Allow themes/plugins to render testimonials in their own way. Note the `ct_pre_render_testimonial` and `ct_render_testimonial` filter hooks in `class.wp-testimonial.php`.
3. Take a `$context` parameter in the `render()` method for testimonials so that themes/plugins using the above filters can style them in a different way.
4. Passed `context` and `word_limit` as additional arguments to the ajax rotator script.
5. Got rid of `array_pop` in the `ajax_get_random_testimonial()` function; that was breaking the Ajax response for me.

Cheers,
Eric