Can you open a media frame to sellect an attachment to associate with another attachment you are editing on an existing media frame?

I figured this out. You CAN open another frame Here is my code: jQuery(document).ready(function ($) { var frame; frame = wp.media(); $(document).on(‘click’, ‘.compat-field-add_attachment input’, function (e) { get_attachment(frame); }); }); function get_attachment(frame) { // Create the media frame. frame = wp.media.frames.meta_image_frame = wp.media({ // Tell the modal to show only images. library: { type: ‘image’ … Read more

plugin user-role-editor: cannot access settings page, but I’m admin?

I opened the plugin and found this capabilities tested ‘ure_edit_roles’ => 1, ‘ure_create_roles’ => 1, ‘ure_delete_roles’ => 1, ‘ure_create_capabilities’ => 1, ‘ure_delete_capabilities’ => 1, ‘ure_manage_options’ => 1, ‘ure_reset_roles’ => 1 I added manually this capabilities to my user, editing the related wp_usermeta for my id and key “wp_user_capabilities”. Now I can enter into plugin’s setting … Read more

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