New answers tagged javascript
1
The CSS is in wp-admin/css/colors-classic.css and wp-admin/css/colors-fresh.css and the min versions of those, including the icons32-2x.png ones. I can see them when I grep the directory. For example, wp-admin/css/colors-classic.css:2162.
The images themselves are in wp-admin/images, as you can see from the style rules, but you should not be ...
1
Use wp_localize_script
function set_js_var() {
$translation_array = array( 'blog_name' => get_bloginfo('name') );
wp_localize_script( 'jquery', 'my_data', $translation_array );
}
add_action('wp_enqueue_scripts','set_js_var');
If you look at the source of the page you will see something like:
<script type='text/javascript'>
/* <