Compress scripts/styles: 3.6-alpha-23754.
git-svn-id: http://core.svn.wordpress.org/trunk@23754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25c272856b
commit
5d72bf7ea1
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
window.wp=window.wp||{};(function(b){var a;b(".post-format-select a").on("click.post-format",function(i){var h=b(this),f,c,g=h.data("wp-format"),d=b("#post-body-content");b(".post-format-select a.nav-tab-active").removeClass("nav-tab-active");h.addClass("nav-tab-active").blur();b("#post_format").val(g);d.get(0).className=d.get(0).className.replace(/\bwp-format-[^ ]+/,"");d.addClass("wp-format-"+g);if(typeof tinymce!="undefined"){f=tinymce.get("content");if(f){c=f.getBody();c.className=c.className.replace(/\bpost-format-[^ ]+/,"");f.dom.addClass(c,"post-format-"+g)}}i.preventDefault()});b("#wp-format-image-select").click(function(e){var c=b(this),f=b("#wp-format-image-holder"),d=b("#wp_format_image");e.preventDefault();if(a){a.open();return}a=wp.media.frames.formatImage=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update")}});a.on("select",function(){var h=a.state().get("selection").first(),g=h.get("url");d.attr("value",h.id);c.html('<img src="'+g+'" />');f.removeClass("empty")});a.open()})})(jQuery);
|
||||
(function(a){a(".post-format-select a").on("click.post-format",function(h){var g=a(this),d,b,f=g.data("wp-format"),c=a("#post-body-content");a(".post-format-select a.nav-tab-active").removeClass("nav-tab-active");g.addClass("nav-tab-active").blur();a("#post_format").val(f);c.get(0).className=c.get(0).className.replace(/\bwp-format-[^ ]+/,"");c.addClass("wp-format-"+f);if(typeof tinymce!="undefined"){d=tinymce.get("content");if(d){b=d.getBody();b.className=b.className.replace(/\bpost-format-[^ ]+/,"");d.dom.addClass(b,"post-format-"+f)}}h.preventDefault()})})(jQuery);
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '3.6-alpha-23751';
|
||||
$wp_version = '3.6-alpha-23754';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue