PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
inc
<?php $icl_ncp_plugins = array( 'absolute-links/absolute-links-plugin.php', 'cms-navigation/CMS-Navigation.php', ); $active_plugins = get_option( 'active_plugins' ); $icl_ncp_plugins = $active_plugins ? array_intersect( $icl_ncp_plugins, $active_plugins ) : []; if ( ! empty( $icl_ncp_plugins ) ) { $icl_sitepress_disabled = true; icl_suppress_activation(); add_action( 'admin_notices', 'icl_incomp_plugins_warn' ); function icl_incomp_plugins_warn() { global $icl_ncp_plugins; echo '<div class="error"><ul><li><strong>'; esc_html_e( 'WPML cannot be activated together with these older plugins:', 'sitepress' ); echo '<ul style="list-style:disc;margin:20px;">'; foreach ( $icl_ncp_plugins as $incp ) { echo '<li>' . esc_html( $incp ) . '</li>'; } echo '</ul>'; esc_html_e( 'WPML will be deactivated', 'sitepress' ); echo '</strong></li></ul></div>'; } } else { $icl_sitepress_disabled = false; } $filtered_page = filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_NULL_ON_FAILURE ); if ( 0 === strcmp( $filtered_page, WPML_PLUGIN_FOLDER . '/menu/troubleshooting.php' ) || isset( $pagenow ) && $pagenow == 'index.php' ) { $icl_ncp_plugins2 = array( 'wp-no-category-base/no-category-base.php', ); $active_plugins = get_option( 'active_plugins' ); $icl_ncp_plugins2 = array_intersect( $icl_ncp_plugins2, $active_plugins ); if ( ! empty( $icl_ncp_plugins2 ) ) { if ( 0 === strcmp( $filtered_page, WPML_PLUGIN_FOLDER . '/menu/troubleshooting.php' ) ) { add_action( 'admin_notices', 'icl_incomp_plugins_warn2' ); function icl_incomp_plugins_warn2() { global $icl_ncp_plugins2; echo '<a name="icl_inc_plugins_notice"></a><div class="error" style="padding:10px;">'; esc_html_e( 'These plugins are known to have compatibiliy issues with WPML:', 'sitepress' ); echo '<ul style="list-style:disc;margin-left:20px;">'; foreach ( $icl_ncp_plugins2 as $incp ) { echo '<li>' . esc_html( $incp ) . '</li>'; } echo '</ul>'; echo '</div>'; } } } }
[-] constants.php
[edit]
[-] functions-helpers.php
[edit]
[-] functions-load.php
[edit]
[-] plugins-integration.php
[edit]
[-] functions-sanitation.php
[edit]
[-] lang-data.php
[edit]
[-] template-functions.php
[edit]
[-] import-xml.php
[edit]
[+]
utilities
[+]
absolute-links
[-] ajax.php
[edit]
[-] wpml-post-edit-ajax.class.php
[edit]
[-] functions-troubleshooting.php
[edit]
[-] hacks.php
[edit]
[-] functions-network.php
[edit]
[-] functions-security.php
[edit]
[-] cache.php
[edit]
[+]
tools
[-] wpml-private-actions.php
[edit]
[-] functions.php
[edit]
[+]
translation-jobs
[+]
hacks
[+]
wpml-config
[-] wpml-api.php
[edit]
[+]
local-translation
[-] wpml-private-filters.php
[edit]
[+]
translation-proxy
[-] wpml-private-actions-tm.php
[edit]
[+]
taxonomy-term-translation
[+]
setup
[-] wpml_zip.php
[edit]
[-] language-switcher.php
[edit]
[-] wpml-post-comments.class.php
[edit]
[+]
url-handling
[-] functions-load-tm.php
[edit]
[-] plugin-integration-nextgen.php
[edit]
[-] js-scripts.php
[edit]
[+]
query-filtering
[-] constants-tm.php
[edit]
[+]
translation-management
[-] js-tm-scripts.php
[edit]
[-] upgrade.php
[edit]
[+]
upgrade-functions
[+]
..
[-] icl-admin-notifier.php
[edit]
[-] not-compatible-plugins.php
[edit]
[-] deprecated-hooks.php
[edit]
[+]
actions
[-] functions-debug-information.php
[edit]
[+]
core
[+]
wp-nav-menus
[+]
post-translation
[-] wpml_load_request_handler.php
[edit]