Upgarded to 4.17.4
This commit is contained in:
@ -58,10 +58,10 @@ class ET_Builder_Module_Icon extends ET_Builder_Module {
|
||||
$this->advanced_fields = array(
|
||||
'margin_padding' => array(
|
||||
'css' => array(
|
||||
'main' => '%%order_class%% .et_pb_icon_wrap',
|
||||
'hover' => '%%order_class%% .et_pb_icon_wrap:hover',
|
||||
'padding' => '%%order_class%% .et_pb_icon_wrap',
|
||||
'margin' => '%%order_class%% .et_pb_icon_wrap',
|
||||
'main' => '%%order_class%%',
|
||||
'padding' => '%%order_class%% .et_pb_icon_wrap',
|
||||
'margin' => '%%order_class%%',
|
||||
'important' => 'all',
|
||||
),
|
||||
),
|
||||
'borders' => array(
|
||||
@ -267,7 +267,7 @@ class ET_Builder_Module_Icon extends ET_Builder_Module {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function render( $attrs, $content = null, $render_slug ) {
|
||||
public function render( $attrs, $content, $render_slug ) {
|
||||
$multi_view = et_pb_multi_view_options( $this );
|
||||
$title_text = $this->props['title_text'];
|
||||
$url = $this->props['url'];
|
||||
@ -368,10 +368,12 @@ class ET_Builder_Module_Icon extends ET_Builder_Module {
|
||||
: '';
|
||||
|
||||
$output = sprintf(
|
||||
'<span class="et_pb_icon_wrap %1$s">%2$s%3$s</span>',
|
||||
'<span class="et_pb_icon_wrap %1$s">%2$s%4$s%5$s%3$s</span>',
|
||||
$box_shadow_overlay_wrap_class,
|
||||
$box_shadow_overlay_element,
|
||||
$output
|
||||
$output,
|
||||
et_core_esc_previously( $this->background_pattern() ), // #4
|
||||
et_core_esc_previously( $this->background_mask() ) // #5
|
||||
);
|
||||
|
||||
$title_text = ! empty( $title_text ) ? sprintf( 'title="%1$s"', esc_attr( $title_text ) ) : '';
|
||||
|
Reference in New Issue
Block a user