WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3.1
Component: Upgrade/Install Keywords:
Focuses: Cc:
PR Number:

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
4 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
4 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!
problem is inside the docs, they don't mention the async_update_translation filter..

Last edited 4 years ago by jnz31 (previous) (diff)
Note: See TracTickets for help on using tickets.