• Resolved arvey18

    (@arvey18)


    Hi!

    I edit the file l10n.php on ../wp-includes/l10n.php. I want to ask if when the wordpress updating again, l10n.php will be affected?

    thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Yes, it will be updated and you will lose all your customization.

    Further, messing with the core file may cause issues with:
    – plugins
    – themes
    – security

    In nutshell, its not a good idea.

    Thread Starter arvey18

    (@arvey18)

    I only added a code, not really customizing the file. I am really having problem passing a value on $locale, that’s why i add the code on l10n.php file. Can you help me with this? ??

    Moderator t-p

    (@t-p)

    Sorry. For the reasons I mentioned in my previous reply, I would not mess with the core files.

    Thread Starter arvey18

    (@arvey18)

    NP, I think i found a solution anyway, putting my code on wp-config.php and passing a value on $locale there.

    wp-config.php will not be updated right?

    Moderator t-p

    (@t-p)

    It should not be. However, if you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong.

    Thread Starter arvey18

    (@arvey18)

    ok thanks!

    Moderator t-p

    (@t-p)

    You are welcome ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Editing l10n.php’ is closed to new replies.