PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wpml-string-translation
/
classes
<?php /** * WPML_ST_Admin_String class */ class WPML_ST_Admin_String extends WPML_ST_String { /** * @var string $name */ private $name; /** * @var string $value */ private $value; /** * @param string $new_value */ public function update_value( $new_value ) { $this->fetch_name_and_value(); if ( md5( $this->value ) !== $this->name ) { $this->value = $new_value; $this->set_property( 'value', $new_value ); $this->update_status(); } } private function fetch_name_and_value() { if ( is_null( $this->name ) || is_null( $this->value ) ) { $res = $this->wpdb->get_row( 'SELECT name, value ' . $this->from_where_snippet() ); $this->name = $res->name; $this->value = $res->value; } } }
[+]
string-tracking
[+]
package
[-] class-wpml-st-verify-dependencies.php
[edit]
[-] class-wpml-st-user-fields.php
[edit]
[+]
translation-memory
[+]
utilities
[-] Shortcode.php
[edit]
[+]
batch-translation
[+]
admin-texts
[-] class-wpml-st-admin-string.php
[edit]
[+]
menus
[+]
container
[-] class-wpml-st-settings.php
[edit]
[-] class-wpml-st-strings.php
[edit]
[+]
string-translation
[+]
po-import
[+]
db-mappers
[+]
shortcode
[+]
records
[+]
Troubleshooting
[+]
strings-scanning
[+]
MO
[-] class-wpml-st-initialize.php
[edit]
[+]
wpml-tm
[-] class-wpml-st-string-factory.php
[edit]
[+]
basket
[-] class-wpml-st-string-statuses.php
[edit]
[+]
string-translation-ui
[-] class-wpml-language-of-domain.php
[edit]
[+]
translation-files
[+]
translations-file-scan
[+]
filters
[+]
..
[+]
gettext-hooks
[-] TranslateWpmlString.php
[edit]
[-] class-wpml-st-string.php
[edit]
[+]
API
[+]
privacy
[+]
actions
[-] class-wpml-st-reset.php
[edit]
[+]
package-translation
[+]
support
[+]
strings-cleanup
[-] class-wpml-admin-notifier.php
[edit]
[+]
slug-translation
[+]
upgrade