PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
requirements
<?php /** * Created by PhpStorm. * User: bruce * Date: 28/08/17 * Time: 11:54 AM */ class WPML_TM_Editor_Notice extends WPML_Notice { public function is_different( WPML_Notice $other_notice ) { if ( $this->get_id() !== $other_notice->get_id() || $this->get_group() !== $other_notice->get_group() ) { return true; } return $this->strip_nonce_field( $this->get_text() ) !== $this->strip_nonce_field( $other_notice->get_text() ); } private function strip_nonce_field( $text ) { return preg_replace( '/<input type="hidden" name="wpml_set_translation_editor_nonce" value=".*?">/', '', $text ); } }
[-] class-wpml-third-party-dependencies.php
[edit]
[-] class-wpml-integrations.php
[edit]
[-] class-wpml-requirements-notifications.php
[edit]
[-] wpml-integrations-requirements-scripts.php
[edit]
[-] class-wpml-whip-requirements.php
[edit]
[+]
modules
[-] class-wpml-tm-editor-notice.php
[edit]
[-] WordPress.php
[edit]
[-] class-wpml-integrations-requirements.php
[edit]
[+]
..
[-] class-wpml-requirements.php
[edit]