Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/better-search-replace/includes/ |
Upload File : |
<?php /** * Define the internationalization functionality. * * Loads and defines the internationalization files for this plugin * so that it is ready for translation. * * @since 1.0.0 * @package Better_Search_Replace * @subpackage Better_Search_Replace/includes */ // Prevent direct access. if ( ! defined( 'BSR_PATH' ) ) exit; class BSR_i18n { /** * The domain specified for this plugin. * * @since 1.0.0 * @access private * @var string $domain The domain identifier for this plugin. */ private $domain; /** * Load the plugin text domain for translation. * * @since 1.0.0 */ public function load_plugin_textdomain() { load_plugin_textdomain( $this->domain, false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' ); } /** * Set the domain equal to that of the specified domain. * * @since 1.0.0 * @param string $domain The domain that represents the locale of this plugin. */ public function set_domain( $domain ) { $this->domain = $domain; $this->load_plugin_textdomain(); } }