Make WordPress Core


Ignore:
Timestamp:
09/12/2018 06:10:42 AM (6 years ago)
Author:
ocean90
Message:

I18N: In the POMO library, replace chr() calls for static values with their string representation.

Props ccismaru, ocean90.
Fixes #17128.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pomo/entry.php

    r42343 r43635  
    8282
    8383            // Prepend context and EOT, like in MO files
    84             $key = ! $this->context ? $this->singular : $this->context . chr( 4 ) . $this->singular;
     84            $key = ! $this->context ? $this->singular : $this->context . "\4" . $this->singular;
    8585            // Standardize on \n line endings
    8686            $key = str_replace( array( "\r\n", "\r" ), "\n", $key );
Note: See TracChangeset for help on using the changeset viewer.