Skip to content

Instantly share code, notes, and snippets.

@2ndkauboy
Last active August 18, 2018 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2ndkauboy/1907f5847b4e092a88ac to your computer and use it in GitHub Desktop.
Save 2ndkauboy/1907f5847b4e092a88ac to your computer and use it in GitHub Desktop.
A small WordPress plugin to disable the asynchronous and automatic background translation updates
<?php
/*
Plugin Name: Disable Translation Updates
Plugin URI: https://gist.github.com/2ndkauboy/1907f5847b4e092a88ac
Description: Disable the asynchronous and automatic background translation updates
Version: 1.0.0
Author: Bernhard Kau
Author URI: http://kau-boys.de
License: GPL
*/
// @source: https://make.wordpress.org/core/2014/09/05/language-chooser-in-4-0/
add_filter( 'async_update_translation', '__return_false' );
add_filter( 'auto_update_translation', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment