You appear to be a bot. Output may be restricted
Description
Reloads the text domains
- Loading the 'oik-libs' text domain from the oik-libs plugin invalidates tests where the plugin is delivered from WordPress.org so oik-libs won't exist.
- but we do need to reload oik's and oik-nivo-slider's text domains
- and cause the null domain to be rebuilt.
Usage
Tests_admin_oik_nivo_slider::reload_domains();
Parameters
Returns
void
Source
File name: oik-nivo-slider/tests/test-admin-oik-nivo-slider.php
Lines:
1 to 9 of 9
function reload_domains() { $domains = array( "oik", "oik-nivo-slider" ); foreach ( $domains as $domain ) { $loaded = bw_load_plugin_textdomain( $domain ); $this->assertTrue( $loaded, "$domain not loaded" ); } oik_require_lib( "oik-l10n" ); oik_l10n_enable_jti(); }