You appear to be a bot. Output may be restricted
Description
Traces parts of $l10n.For debugging.
Usage
oik_l10n_trace( $details, $domain );
Parameters
- $details
- ( mixed ) optional –
- $domain
- ( mixed ) optional –
Returns
voidSource
File name: oik/libs/oik-l10n.phpLines:
1 to 15 of 15
function oik_l10n_trace( $details=false, $domain=null ) { global $l10n; if ( is_array( $l10n ) && count( $l10n ) ) { bw_trace2( array_keys( $l10n) , "array keys" ); } if ( $details ) { if ( isset( $l10n[$domain]) ) { $count = count( $l10n[ $domain]->entries ); bw_trace2( $count, "l10n after null load", false ); } else { bw_trace2( $domain, "Domain not loaded", false ); } } }View on GitHub View on Trac