Changeset 2380199
- Timestamp:
- 09/13/2020 12:22:31 AM (5 years ago)
- Location:
- dot-monetize-polls-quizzes/trunk
- Files:
-
- 4 edited
-
dot-press.php (modified) (2 diffs)
-
includes/class-dot-press-block-renderer.php (modified) (2 diffs)
-
includes/class-dot-press-public.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dot-monetize-polls-quizzes/trunk/dot-press.php
r2380195 r2380199 3 3 * Plugin Name: DOT | Monetize Polls & Quizzes 4 4 * Description: The easiest way to create and publish interactive polls and quizzes. Fully integrated monetization and analytics. 5 * Version: 1.0. 15 * Version: 1.0.2 6 6 * Requires at least: 5.2 7 7 * Requires PHP: 7.2 … … 17 17 } 18 18 19 define( 'DOT_PRESS_VERSION', '1.0. 1' );19 define( 'DOT_PRESS_VERSION', '1.0.2' ); 20 20 require_once plugin_dir_path(__FILE__) . 'constants.php'; 21 21 -
dot-monetize-polls-quizzes/trunk/includes/class-dot-press-block-renderer.php
r2380195 r2380199 93 93 94 94 $blocks = parse_blocks($post->post_content); 95 DotPressLogger::log($blocks);96 95 $lastIndexOf = 0; 97 96 … … 118 117 public function render($block_type, $block_content, $block) 119 118 { 119 120 120 if ($block_type) { 121 121 // 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 69 69 70 70 $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); 72 72 $this->loader->add_filter('render_block', $this, 'render_block', 10, 2); 73 73 } -
dot-monetize-polls-quizzes/trunk/readme.txt
r2380195 r2380199 82 82 = 1.0.1 = 83 83 * 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.