get_col( "SELECT DISTINCT context
FROM {$wpdb->prefix}icl_strings" );
foreach ( $contexts as $context ) {
if ( strpos( $context, ' (removed)') > 0 ) {
$fix_context = 'theme ' . str_replace( ' (removed)', '', $context );
$wpdb->query( $wpdb->prepare( "UPDATE
{$wpdb->prefix}icl_strings
SET context = %s
WHERE context = %s",
$fix_context,
$context
) );
}
}
}
fix_removed_contexts_from_3_2_upgrade( );
function show_automatic_text_domain_checkbox( ) {
global $sitepress_settings;
?>
get_theme_localization_stats();
$theme_requires_rescan = $local->does_theme_require_rescan();
$plugin_localization_stats = $local->get_plugin_localization_stats();
$plugin_wrong_localization_stats = $local->get_wrong_plugin_localization_stats();
$theme_localization_domains = icl_get_sub_setting( 'st', 'theme_localization_domains' );
?>
|
|
|
|
>
| ' . __( 'no domain',
'wpml-string-translation' ) . ''; ?> |
|
|
|
>
|
|
|
>
|
|
|
|
|
|
|
|
|
"/>
'MU :: ' . $pfile );
$mu_plugins_base[ $pfile ] = true;
}
$wpmu_sitewide_plugins = (array) maybe_unserialize( get_site_option( 'active_sitewide_plugins' ) );
?>