The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
53 views

Modify how gallery.js builds the shortcode [gallery …] in tinyMCE?

The post editor helpfully removes default arguments like columns="3" from the [gallery] shortcode. How do you tell it to remove a custom attribute that has a default value? The answer at Enhance ...
1
vote
0answers
555 views

Extending wp.media.model, query media from different blog on network and refresh view

I'm trying to extend the new wp.media.model to allow users to be able to choose any blog across the network and pull down the associated media library into the library content view. In the old ...
0
votes
0answers
42 views

Show error, when selecting image in WordPress media uploader if params mismatch

Good day ! My question is following: I know how to show errors while uploading image from WordPress media uploader by using WordPress filter hook: But how to show same error box when user select ...
0
votes
0answers
39 views

wp.media.editor set selected image

There are tons of questions (and answers!) regarding the 3.5 media uploader. What I can't find an answer to is to set an image as selected when using the native uploader. wp.media.editor.open() ...