More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks

Not sure if this is a bug, but the behaviour is correct, or at least apparently intentional. a) There is only one dragDropUpload setting in the tinyMCEPreInit object, instead of one flag per editor. b) looking at class-wp-editor.php:139: if ( $set[‘drag_drop_upload’] ) { self::$drag_drop_upload = true; } so, if the setting is set to true … Read more

Use schema.org HTML in TinyMCE Editor

I dug this solution up, which adds meta to valid_children (untested): // Prevent TinyMCE from stripping out schema.org metadata // https://snipt.net/jamesw/prevent-tinymce-from-stripping-schemaorg-attributes-in-wordpress/ function schema_TinyMCE_init( $in ) { /** * Edit extended_valid_elements as needed. For syntax, see * http://www.tinymce.com/wiki.php/Configuration:valid_elements * * NOTE: Adding an element to extended_valid_elements will cause TinyMCE to ignore * default attributes for that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)