Skip to content

Commit

Permalink
Remove devicepx in the admin view too
Browse files Browse the repository at this point in the history
  • Loading branch information
doherty committed Apr 25, 2015
1 parent 333accd commit 1214a60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions functions.php
Expand Up @@ -69,5 +69,8 @@ function hashbang_no_poweredby() { return ''; }

add_filter( 'widget_meta_poweredby', 'hashbang_no_poweredby' );

function remove_devicepx() { wp_dequeue_script('devicepx'); }
add_action('wp_enqueue_scripts', 'remove_devicepx');
function remove_wp_devicepx() { wp_dequeue_script('devicepx'); }
add_action('wp_enqueue_scripts', 'remove_wp_devicepx');

function remove_admin_devicepx() { wp_dequeue_script('devicepx'); }
add_action('wp_enqueue_scripts', 'remove_admin_devicepx');

0 comments on commit 1214a60

Please sign in to comment.