collector->get_data();
$this->before_non_tabular_output();
echo ' ' . esc_html( $data->locale ) . ' ' . esc_html( $data->user_locale ) . ' ' . esc_html( $data->determined_locale ) . ' ' . esc_html( $data->mlp_language ) . ' ' . esc_html( $data->pll_language ) . '
';
echo 'get_locale()
';
echo 'get_user_locale()
';
echo 'determine_locale()';
printf(
/* translators: %s: Name of a multilingual plugin */
esc_html__( '%s Language', 'query-monitor' ),
'MultilingualPress'
);
echo '
';
echo '';
printf(
/* translators: %s: Name of a multilingual plugin */
esc_html__( '%s Language', 'query-monitor' ),
'Polylang'
);
echo '
';
echo '
';
echo 'get_language_attributes()' . esc_html( $data->language_attributes ) . '
| ' . esc_html__( 'Text Domain', 'query-monitor' ) . ' | '; echo '' . esc_html__( 'Type', 'query-monitor' ) . ' | '; echo '' . esc_html__( 'Caller', 'query-monitor' ) . ' | '; echo '' . esc_html__( 'Translation File', 'query-monitor' ) . ' | '; echo '' . esc_html__( 'Size', 'query-monitor' ) . ' | '; echo '|||
|---|---|---|---|---|---|---|---|
| ' . esc_html( $mofile['domain'] ) . ' (' . esc_html( $mofile['handle'] ) . ') | '; } else { echo '' . esc_html( $mofile['domain'] ) . ' | '; } echo '' . esc_html( $mofile['type'] ) . ' | '; if ( self::has_clickable_links() ) { echo ''; echo self::output_filename( $mofile['caller']['display'], $mofile['caller']['file'], $mofile['caller']['line'] ); // WPCS: XSS ok. echo ' | '; } else { echo '';
echo self::build_toggler(); // WPCS: XSS ok;
echo '
| ';
}
echo ''; if ( $mofile['file'] ) { if ( $mofile['found'] && 'jed' === $mofile['type'] && self::has_clickable_links() ) { echo self::output_filename( QM_Util::standard_dir( $mofile['file'], '' ), $mofile['file'], 1, true ); // WPCS: XSS ok. } else { echo esc_html( QM_Util::standard_dir( $mofile['file'], '' ) ); } } else { echo '' . esc_html__( 'None', 'query-monitor' ) . ''; } echo ' | '; if ( $mofile['found'] ) { echo ''; echo esc_html( sprintf( /* translators: %s: Memory used in kilobytes */ __( '%s kB', 'query-monitor' ), number_format_i18n( $mofile['found'] / 1024, 1 ) ) ); echo ' | '; } else { echo ''; echo esc_html__( 'Not Found', 'query-monitor' ); echo ' | '; } echo '
| '; echo ' | '; echo esc_html( sprintf( /* translators: %s: Memory used in kilobytes */ __( '%s kB', 'query-monitor' ), number_format_i18n( $data->total_size / 1024, 1 ) ) ); echo ' | '; echo '||||||