Plugin Directory

Changeset 3149849


Ignore:
Timestamp:
09/11/2024 07:59:11 AM (19 months ago)
Author:
rightmessage
Message:

Version 0.9.7 update: default embed widget renders correctly

Location:
rightmessage
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • rightmessage/trunk/admin/section/class-rightmessage-settings-general.php

    r2125332 r3149849  
    7474        );
    7575
    76         $html .= '<p class="description">If set, the above embedded widget will be included at the bottom of every post or page (in single view only) across your site. Take the name in your embedded widget\'s "Where To Display" field and set it above.</p>';
     76        $html .= '<p class="description">If set, the above embedded widget will be included at the bottom of every post or page (in single view only) across your site. Take the name in your embedded widget\'s "Internal Widget Id" field and set it above.</p>';
    7777
    7878        echo $html;
  • rightmessage/trunk/includes/class-rightmessage.php

    r3147599 r3149849  
    4343    public static function shortcode_area( $attributes, $content = null ) {
    4444        if (isset($attributes['name'])) {
    45             return '<div class="rm-area-' . esc_attr($attributes['name']) . '"></div>';
     45            return '<div class="rm-area-'.$attributes['name'].'"></div>';
    4646        }
    4747    }
     
    6767
    6868    public static function add_vars($content) {
    69 
    7069        if ( ! in_the_loop() || ! is_main_query() ) {
    7170            return $content;
     
    9897            include(RIGHTMESSAGE_PLUGIN_PATH . "/views/rm-variables.php");
    9998            $included_content = ob_get_clean();
    100             $content .= wp_kses_post($included_content);
     99            add_action('wp_footer', function() use ($included_content) {
     100                echo $included_content;
     101            });
    101102        }
    102103
  • rightmessage/trunk/readme.txt

    r3147599 r3149849  
    44Requires at least: 3.6
    55Tested up to: 6.6.1
    6 Stable tag: 0.9.6
     6Stable tag: 0.9.7
    77Requires PHP: 5.2.0
    88License: GPL2
     
    2727== Changelog ==
    2828
     29= 0.9.7 =
     30* Fixed: Default Embed Widget rendering issue
     31* Updated: Default Embed Widget explanation is clearer
     32
    2933= 0.9.6 =
    3034* Fixed: Issue with incorrect stable tag.
  • rightmessage/trunk/wp-rightmessage.php

    r3147599 r3149849  
    88 * Plugin URI: https://rightmessage.com/
    99 * Description: Integrate RightMessage into your website
    10  * Version: 0.9.6
     10 * Version: 0.9.7
    1111 * Author: RightMessage
    1212 * License: GPL2
     
    2525define( 'RIGHTMESSAGE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    2626define( 'RIGHTMESSAGE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    27 define( 'RIGHTMESSAGE_PLUGIN_VERSION', '0.9.6' );
     27define( 'RIGHTMESSAGE_PLUGIN_VERSION', '0.9.7' );
    2828
    2929require_once RIGHTMESSAGE_PLUGIN_PATH . '/includes/class-rightmessage.php';
Note: See TracChangeset for help on using the changeset viewer.