[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-admin/js/ -> media-gallery.min.js (source)

   1  /*! This file is auto-generated */
   2  jQuery(function(o){o("body").bind("click.wp-gallery",function(a){var e,t,n=o(a.target);n.hasClass("wp-set-header")?((window.dialogArguments||opener||parent||top).location.href=n.data("location"),a.preventDefault()):n.hasClass("wp-set-background")&&(e=n.data("attachment-id"),t=o('input[name="attachments['+e+'][image-size]"]:checked').val(),jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:e,size:t},function(){var a=window.dialogArguments||opener||parent||top;a.tb_remove(),a.location.reload()}),a.preventDefault())})});


Generated: Tue Mar 31 01:00:04 2020 Cross-referenced by PHPXref 0.7.1