Plugin Directory

Changeset 2673189


Ignore:
Timestamp:
02/04/2022 11:09:36 PM (4 years ago)
Author:
allurewebsolutions
Message:

Release 3.7.0: fixed rendered html

Location:
wp-post-modal
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-post-modal/tags/3.7.0/admin/class-wp-post-modal-admin.php

    r2672646 r2673189  
    630630        ?>
    631631            <div class="notice notice-success is-dismissible">
    632                 <?php echo esc_html($message); ?>
     632                <?php echo html_entity_decode(esc_html($message)); ?>
    633633                <button type="button" class="notice-dismiss">
    634634                    <span class="screen-reader-text">Dismiss this notice.</span>
     
    647647        ?>
    648648        <div class="notice notice-success is-dismissible admin-notice-installed">
    649             <?php echo esc_html($message); ?>
     649            <?php echo html_entity_decode(esc_html($message)); ?>
    650650            <button type="button" class="notice-dismiss">
    651651                <span class="screen-reader-text">Dismiss this notice.</span>
     
    671671        <div class="notice notice-success is-dismissible admin-notice-remote">
    672672            <div class="notice-content">
    673                 <?php echo esc_html($message); ?>
     673                <?php echo html_entity_decode(esc_html($message)); ?>
    674674            </div>
    675675
  • wp-post-modal/tags/3.7.0/public/class-wp-post-modal-public.php

    r2671812 r2673189  
    139139        $HTML .= '</div>';
    140140
    141         echo esc_html($HTML);
     141        echo html_entity_decode(esc_html($HTML));
    142142    }
    143143
  • wp-post-modal/trunk/admin/class-wp-post-modal-admin.php

    r2672646 r2673189  
    630630        ?>
    631631            <div class="notice notice-success is-dismissible">
    632                 <?php echo esc_html($message); ?>
     632                <?php echo html_entity_decode(esc_html($message)); ?>
    633633                <button type="button" class="notice-dismiss">
    634634                    <span class="screen-reader-text">Dismiss this notice.</span>
     
    647647        ?>
    648648        <div class="notice notice-success is-dismissible admin-notice-installed">
    649             <?php echo esc_html($message); ?>
     649            <?php echo html_entity_decode(esc_html($message)); ?>
    650650            <button type="button" class="notice-dismiss">
    651651                <span class="screen-reader-text">Dismiss this notice.</span>
     
    671671        <div class="notice notice-success is-dismissible admin-notice-remote">
    672672            <div class="notice-content">
    673                 <?php echo esc_html($message); ?>
     673                <?php echo html_entity_decode(esc_html($message)); ?>
    674674            </div>
    675675
  • wp-post-modal/trunk/public/class-wp-post-modal-public.php

    r2671812 r2673189  
    139139        $HTML .= '</div>';
    140140
    141         echo esc_html($HTML);
     141        echo html_entity_decode(esc_html($HTML));
    142142    }
    143143
Note: See TracChangeset for help on using the changeset viewer.