Make WordPress Core

Ticket #34126: 34126.patch

File 34126.patch, 659 bytes (added by jrf, 9 years ago)

The right patch this time...

  • tools/i18n/add-textdomain.php

    From b94c9690c7fac391626dfeaeb2cd100d2323109c Mon Sep 17 00:00:00 2001
    From: jrfnl <github_nospam@adviesenzo.nl>
    Date: Thu, 10 Dec 2015 04:40:24 +0100
    Subject: [PATCH] Fix issue 34126
    
    ---
     tools/i18n/add-textdomain.php | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/tools/i18n/add-textdomain.php b/tools/i18n/add-textdomain.php
    index 03a07a3..7712ae2 100644
    a b class AddTextdomain { 
    2020        function __construct() {
    2121                $makepot = new MakePOT;
    2222                $this->funcs = array_keys( $makepot->rules );
     23                $this->funcs[] = 'translate_nooped_plural';
    2324        }
    2425
    2526        /**