Aloha, Fulvio.
I think, I found the solution for the problem ??
Okay, let me explain what I have done:
– at first I installed version 2.2.6 again to my blog
– than I changed every file step by step to the files from version 2.2.5
– during this process I discovered, that the file “class-google-calendar-events.php” must be the problematic one.
– than I compared both versions of this file (2.2.5 against 2.2.6) and I found the following:
In 2.2.5 you can find the following lines of code ->
add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );
In 2.2.6 you find on the same place these two lines of code ->
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) );
Okay! Prepared with this knowledge I edited the file as follows:
/*add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘wp_enqueue_scripts’, array( $this, ‘enqueue_public_styles’ ) ); */
add_action( ‘init’, array( $this, ‘enqueue_public_scripts’ ) );
add_action( ‘init’, array( $this, ‘enqueue_public_styles’ ) );
– I than saved the file back to my blog and voilá it works!
I changed nothing else than this two lines of code. I promise ??
Now its up to you to find why it will works with this small changes …
See ya, Maic.
P.S: Actually version 2.2.6 is installed with the modified “class-google-calendar-events.php”