WordPress.org

Make WordPress Core

Ticket #5005: widgets.patch

File widgets.patch, 361 bytes (added by Nuitari, 7 years ago)

Small patch for widgets.php

Line 
1213a214,216
2>               $params[0]['before_title'] = sprintf($params[0]['before_title'], $id, $wp_registered_widgets[$id]['classname']);
3>               $params[0]['after_widget'] = sprintf($params[0]['after_widget'], $id, $wp_registered_widgets[$id]['classname']);
4>               $params[0]['after_title'] = sprintf($params[0]['after_title'], $id, $wp_registered_widgets[$id]['classname']);