Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#34777 closed defect (bug) (invalid)

auto_update_translation runs on plugin-install, even when i add add_filter( 'auto_update_translation', '__return_false' ); to functions.php

Reported by: jnz31's profile jnz31 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3.1
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

i recently added the filter

add_filter( 'auto_update_translation', '__return_false' );

to my functions.php
to not update the language files.
now i installed a new plugin and wordpress also updated the language in the same run. but i don't want wordpress to update the language at all..

Change History (2)

#1 follow-up: @ocean90
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

There is another filter which you have to use if you really, really want to disable language updates: async_update_translation.

#2 in reply to: ↑ 1 @jnz31
9 years ago

Replying to ocean90:

There is another filter which you have to use if you really, really want to disable language updates: async_update_translation.

ah. sweet. sorry for wasting ur time.. and thanks!

Version 0, edited 9 years ago by jnz31 (next)
Note: See TracTickets for help on using tickets.