PluginProbe
Easy Bootstrap Shortcode / 3.7
Easy Bootstrap Shortcode v3.7
trunk 2.4.0 2.5 3.4 3.5 3.6 3.7 4.0.0 4.4 4.5 4.5.4 5.0.0 5.0.1 5.0.2
← All changes | shortcode/well/plugin_shortcode.php +4 -5 2.53.7 View file →
@@ -5,16 +5,15 @@
5 5 * ********************************************************* */
6 6
7 7 function osc_theme_well($params, $content = 'Label') {
8 8 extract(shortcode_atts(array(
9 - 'type' => '',
10 - 'class' => ''
11 - ), $params));
9 + 'type' => '',
10 + 'class' => ''
11 + ), $params));
12 12 $out = '';
13 13 $content = str_replace('<br class="osc" />', '', $content);
14 14 $content = str_replace('<br class="osc" />\n', '', $content);
15 - $out = '<div class="well ' . $type . ' ' .EBS_CONTAINER_CLASS . ' ' . $class. '">' . do_shortcode($content) . '</div>';
16 -
15 + $out = '<div class="well ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</div>';
17 16 return $out;
18 17 }
19 18
20 19 add_shortcode('well', 'osc_theme_well');