Skip to content
Browse files

fix tinymce error switchig between visual and html versions

  • Loading branch information...
1 parent 6498bfd commit bfb986b16a460fe056c61faf54f917c752137d74 @oldlastman oldlastman committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/class.admin.php
View
2 inc/class.admin.php
@@ -32,7 +32,7 @@ function addRessources( $hook = '' ) {
*/
function addMceValidElements( $init ) {
// Get the sizes
- $sizes = sri_get_the_image_sizes();
+ $sizes = array_keys(sri_get_the_image_sizes());
// If empty, stop now
if( empty( $sizes ) )

0 comments on commit bfb986b

Please sign in to comment.
Something went wrong with that request. Please try again.