While I wait for the update
I changed the function “my_add_styles_admin” in the file forget-about-shortcode-buttons.php, for:
public function my_add_styles_admin() {
global $current_screen;
$type = $current_screen->post_type;
/* latribu - mod */
$args = array(
'public' => true,
'_builtin' => false //get only custom post types
);
$posttypes = get_post_types( $args, 'names' );
//$posttypes = get_post_types( '', 'names' );
if ( is_admin() && $type == 'post' || $type == 'page' || in_array($type, $posttypes) )
{
?>
<script type="text/javascript">
var fasc_ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>';
var fasc_ver = '<?php echo FASC_BUTTONS_VERSION_NUM; ?>';
</script>
<?php
}
/* latribu - mod */
/* // original code
if (is_admin() && $type == 'post' || $type == 'page') {
?>
<script type="text/javascript">
var fasc_ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>';
var fasc_ver = '<?php echo FASC_BUTTONS_VERSION_NUM; ?>';
</script>
<?php
}
*/
}
Regards