Plugin Directory

Changeset 2380199


Ignore:
Timestamp:
09/13/2020 12:22:31 AM (5 years ago)
Author:
dottech
Message:

Version 1.0.2

Location:
dot-monetize-polls-quizzes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dot-monetize-polls-quizzes/trunk/dot-press.php

    r2380195 r2380199  
    33 * Plugin Name:       DOT | Monetize Polls & Quizzes
    44 * Description:      The easiest way to create and publish interactive polls and quizzes. Fully integrated monetization and analytics.
    5  * Version:           1.0.1
     5 * Version:           1.0.2
    66 * Requires at least: 5.2
    77 * Requires PHP:      7.2
     
    1717}
    1818
    19 define( 'DOT_PRESS_VERSION', '1.0.1' );
     19define( 'DOT_PRESS_VERSION', '1.0.2' );
    2020require_once plugin_dir_path(__FILE__) . 'constants.php';
    2121
  • dot-monetize-polls-quizzes/trunk/includes/class-dot-press-block-renderer.php

    r2380195 r2380199  
    9393
    9494        $blocks = parse_blocks($post->post_content);
    95         DotPressLogger::log($blocks);
    9695        $lastIndexOf = 0;
    9796
     
    118117    public function render($block_type, $block_content, $block)
    119118    {
     119
    120120        if ($block_type) {
    121121            // todo: feels like this shouldn't be here, but not sure how else might be better? Need to think about it
  • dot-monetize-polls-quizzes/trunk/includes/class-dot-press-public.php

    r2380191 r2380199  
    6969
    7070        $this->loader->add_action( 'wp_enqueue_scripts', $this, 'enqueue_scripts' );
    71         $this->loader->add_action('wp', $this, 'load_renderer', 1);
     71        $this->loader->add_action('loop_start', $this, 'load_renderer', 1);
    7272        $this->loader->add_filter('render_block', $this, 'render_block', 10, 2);
    7373    }
  • dot-monetize-polls-quizzes/trunk/readme.txt

    r2380195 r2380199  
    8282= 1.0.1 =
    8383* Added explicit output for unrecognised types
     84
     85= 1.0.2 =
     86* Stopped placement renderer from triggering when block rendering outside wp loop
Note: See TracChangeset for help on using the changeset viewer.