Compress scripts/styles: 3.6-alpha-23451.

git-svn-id: http://core.svn.wordpress.org/trunk@23451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Bot (Assets) 2013-02-18 22:26:00 +00:00
parent 6d49a9cc8c
commit 6f6c650b43
3 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
window.wp=window.wp||{};(function(b){var a;b(".post-format-select a").on("click",function(f){f.preventDefault();var d=b(this),c=d.data("wpFormat");b(".post-format-select a.nav-tab-active").removeClass("nav-tab-active");d.addClass("nav-tab-active").blur();b("#post_format").val(c);b("#post-body-content").attr("class","wp-format-"+c)});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);

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '3.6-alpha-23447'; $wp_version = '3.6-alpha-23451';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.