Testimonials Widget 3.0 and Testimonials Widget Premium 2.0 Upgrade Notice
This is a major overhaul without backwards compliance of over 80 changes.
If you use custom CSS, actions, or filters to modify Testimonials Widget and Testimonials Widget Premium actions or output, this upgrade will not be compatible with those modifications until corrections are made.
The changes and helpers below are intended to help you update your customisations quickly. If further help is required, please request it via commenting upon the Testimonials Widget 3.0 and Testimonials Widget Premium 2.0 Upgrade Notice.
Changes
- As Internet Explorer 7.0 usage is under 0.5% of Internet traffic, support for it is discontinued. Option
include_ie7_css
is removed. - Deprecated API hooks and functions of Testimonials Widget 2.19.0 and Testimonials Widget Premium 1.20.0 are removed.
- Form text "Full Testimonial" now "Complete Testimonial"
- Removed filter
twp_next_text
- Replace
testimonials_widget_premium_
of actions, filters, and functions withtwp_
- Replace
testimonials_widget_
of actions, filters, and functions withtw_
- Replaced
tba_
of actions, filters, and functions withtw_
- Replaced
tw_shortcodes
withtw_examples
- Replaced
tw_widget_options
withtw_slider_widget_options
- Shortcodes and theme functions renamed. See DEPRECATED.md for details.
- Testimonials Form option
form_table
is removed. - Testimonials Widget pre-2.0.0 automatic migration has been removed. Install and activate Testimonials Widget 2.19.0 before installing the latest Testimonials Widget.
- Testimonials Widget pre-2.15.0 JavaScript slider code has been replaced with bxSlider and is now removed. Options
use_bxslider
,disable_animation
,fade_out_speed
,fade_in_speed
,height
,min_height
, andmax_height
are removed.
Helpers
The ordering of the helper code below is important to prevent corruption.
find . -type f \( -name "*.php" -o -name "*.txt" -o -name "*.md" \) -exec perl -pi -e "s#testimonials_widget_premium_#twp_#g" {} \;
find . -type f \( -name "*.php" -o -name "*.txt" -o -name "*.md" \) -exec perl -pi -e "s#testimonials_widget_#tw_#g" {} \;
find . -type f \( -name "*.php" -o -name "*.txt" -o -name "*.md" \) -exec perl -pi -e "s#tba_#tw_#g" {} \;
find . -type f \( -name "*.php" -o -name "*.txt" -o -name "*.md" \) -exec perl -pi -e "s#tw_widget_options#tw_slider_widget_options#g" {} \;
find . -type f \( -name "*.php" -o -name "*.txt" -o -name "*.md" \) -exec perl -pi -e "s#tw_shortcodes#tw_examples#g" {} \;
Related articles