Forums

How to dismiss core updates based on language (1 post)

  1. Samuel Aguilera
    Member
    Posted 1 year ago #

    Hi!

    I'm wondering if there any filter or action to use for automatically dismiss WP core updates based on language. I know how to totally disable updates using the:

    add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );

    But I can't find a way to disable only for an specified language, and there's nothing in the codex about this (or I can't find it).

    The scenario is: I'm using a custom WP translation for my language, so when a core update is available, I always do the upgrade with the en_US update (that has no .mo language file) and always have to dismiss the es_ES one hours or days after (because this replaces my custom .mo language file).

    So I would like to find a way to dismiss ONLY the es_ES core updates automatically.

    Any help would be very appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Samuel Aguilera
  • This topic is not resolved
  • WordPress version: 3.0.3