• Resolved programmin

    (@programmin)


    Some time ago an option was added – get_option(‘ngg_options’)[‘always_enable_frontend_logic’] was added to make it so frontend ajax logic would always work. Now I seem to have an opposite problem:

    You can see in module.attach_to_post.php that it only pulls in various scripts if on post Admin page:

    // Enqueue resources needed at post/page level
    		if (preg_match("/\/wp-admin\/(post|post-new)\.php$/", $_SERVER['SCRIPT_NAME'])) {
    			$this->_enqueue_tinymce_resources(); ....

    What if I want to show an editor with NG-gallery-shortcode in another wp-admin dashboard or another part of the site? Seems it should have a filter/option here.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug – editor plugin not properly starting on non post/page-wp-admin’ is closed to new replies.