PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
settings
<?php class WPML_TM_Settings_Post_Process extends WPML_TM_User { /** * Saves TM settings to the database in case they have changed after reading a config file. */ public function run() { $changed = false; $settings = &$this->tm_instance->settings; foreach ( array( WPML_POST_META_READONLY_SETTING_INDEX, WPML_TERM_META_READONLY_SETTING_INDEX, WPML_POST_TYPE_READONLY_SETTING_INDEX ) as $index ) { $prev_index = $this->prev_index( $index ); if ( isset( $settings[ $index ] ) && isset( $settings[ $prev_index ] ) ) { foreach ( array( $index => $prev_index, $prev_index => $index ) as $left_index => $right_index ) { foreach ( $settings[ $right_index ] as $cf ) { if ( ! in_array( $cf, $settings[ $left_index ] ) ) { $changed = true; break; } } } } } if ( $changed ) { $this->tm_instance->save_settings(); } } private function prev_index( $index ) { return '__' . $index . '_prev'; } }
[-] class-wpml-term-custom-field-setting-keys.php
[edit]
[-] class-wpml-custom-field-setting.php
[edit]
[-] Repository.php
[edit]
[-] ProcessNewTranslatableFields.php
[edit]
[-] class-wpml-verify-sitepress-settings.php
[edit]
[-] class-wpml-tm-settings-post-process.php
[edit]
[-] class-wpml-tm-serialized-custom-field-package-handler-factory.php
[edit]
[-] CustomFieldChangeDetector.php
[edit]
[-] class-wpml-custom-field-setting-query-factory.php
[edit]
[-] class-wpml-post-custom-field-setting.php
[edit]
[-] class-wpml-tm-serialized-custom-field-package-handler.php
[edit]
[-] wpml-tm-default-settings-factory.php
[edit]
[-] UI.php
[edit]
[-] class-wpml-element-sync-settings.php
[edit]
[-] class-wpml-element-sync-settings-factory.php
[edit]
[-] class-wpml-post-custom-field-setting-keys.php
[edit]
[-] class-wpml-custom-field-xml-settings-import.php
[edit]
[-] class-wpml-custom-field-setting-query.php
[edit]
[-] class-wpml-term-custom-field-setting.php
[edit]
[+]
..
[-] class-wpml-settings-filters.php
[edit]
[-] class-wpml-page-builder-settings.php
[edit]
[-] class-wpml-tm-settings-update.php
[edit]
[-] class-wpml-custom-field-setting-factory.php
[edit]
[-] wpml-tm-default-settings.php
[edit]