Plugin Directory

Changeset 2779707


Ignore:
Timestamp:
09/04/2022 09:09:56 AM (4 years ago)
Author:
celomitan
Message:

Bugfix: main heading blank

Location:
gum-elementor-addon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gum-elementor-addon/tags/1.2.15/widgets/heading.php

    r2779705 r2779707  
    860860      $heading .= '<span '.$this->get_render_attribute_string( 'sub_heading' ).'>'.$sub_heading.'</span>';
    861861
    862 
    863         break;
     862      $main_heading = $heading;
     863
     864      break;
    864865    }
    865866
    866     $title_html = sprintf( '<%1$s %2$s>%3$s</%1$s>', Utils::validate_html_tag( $tag ), $this->get_render_attribute_string( 'section_heading' ), $heading );
     867    $title_html = sprintf( '<%1$s %2$s>%3$s</%1$s>', Utils::validate_html_tag( $tag ), $this->get_render_attribute_string( 'section_heading' ), $main_heading );
    867868
    868869    echo '<div '.$this->get_render_attribute_string( 'heading_container' ).'>'. $title_html .'</div>';
  • gum-elementor-addon/trunk/widgets/heading.php

    r2779705 r2779707  
    860860      $heading .= '<span '.$this->get_render_attribute_string( 'sub_heading' ).'>'.$sub_heading.'</span>';
    861861
    862 
    863         break;
     862      $main_heading = $heading;
     863
     864      break;
    864865    }
    865866
    866     $title_html = sprintf( '<%1$s %2$s>%3$s</%1$s>', Utils::validate_html_tag( $tag ), $this->get_render_attribute_string( 'section_heading' ), $heading );
     867    $title_html = sprintf( '<%1$s %2$s>%3$s</%1$s>', Utils::validate_html_tag( $tag ), $this->get_render_attribute_string( 'section_heading' ), $main_heading );
    867868
    868869    echo '<div '.$this->get_render_attribute_string( 'heading_container' ).'>'. $title_html .'</div>';
Note: See TracChangeset for help on using the changeset viewer.