New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devicepx: add it as a module or a theme tool to avoid confusion #1850
Comments
Related: #804 |
Honestly, I really want to just drop devicepx entirely, we just need to get browser native support up first. |
I'm running a high traffic site with only the Protect module activated. We're keen to minimise requests and pageload time, but the devicepx script is loading. This seems completely redundant, as far as I can tell this script is only related to images, nothing at all to do with the Protect module. |
Any new on disabling this thing ? |
@Technowix No news, but we'll update this issue when we make progress on this. In the meantime, you can use the following snippet to disable it on your site: function jeherve_dequeue_devicepx() {
wp_dequeue_script( 'devicepx' );
}
add_action( 'wp_enqueue_scripts', 'jeherve_dequeue_devicepx' ); |
Thanks for reply @jeherve , where did I put this little snippet ? |
You can paste this in your theme's functions.php file, or in a functionality plugin |
So... nothing new on this? |
Beside having to hack things... Nuh |
@Technowix Surprise, surprise |
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation. |
Right now,
devicepx-jetpack.js
is enqueued on your site as soon as you activate Jetpack, and even before you connect your site to your WordPress.com account. There is no mention of it anywhere in the Jetpack menu, and no way to deactivate it without code.It would be nice to offer an option to disable it from the dashboard, or add it as a theme tool via
add_theme_support()
so it's not on by default without any mechanism to turn it off.Suggested here:
https://wordpress.org/support/topic/jetpack-postinf-to-social-profiles-without-permission?replies=3&view=all#post-6733290
The text was updated successfully, but these errors were encountered: