Warning: This method has been deprecated. Use POMO_CachedFileReader::__construct() instead.
POMO_CachedFileReader::POMO_CachedFileReader() WordPress Method
POMO_CachedFileReader is a class for reading .mo files with caching. It provides a wrapper for the PHP gettext functions. This class is useful for reading .mo files that are located in remote locations or on slow servers. By caching the .mo file content, this class can improve performance by reducing the number of times the .mo file needs to be read from the server.
POMO_CachedFileReader::POMO_CachedFileReader( $filename ) #
PHP4 constructor.
Description
See also
Source
File: wp-includes/pomo/streams.php
public function POMO_CachedFileReader( $filename ) { _deprecated_constructor( self::class, '5.4.0', static::class ); self::__construct( $filename ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.4.0 | Introduced. |