PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/ngamzghe/brikanda.com/wp-content/themes/genesis/lib/classes/Upgrade/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : /home/ngamzghe/brikanda.com/wp-content/themes/genesis/lib/classes/Upgrade/Upgrade_DB_3101.php |
<?php
/**
* Genesis Framework.
*
* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
* Please do all modifications in the form of a child theme.
*
* @package StudioPress\Genesis
* @author StudioPress
* @license GPL-2.0-or-later
* @link https://my.studiopress.com/themes/genesis/
*/
namespace StudioPress\Genesis\Upgrade;
/**
* Upgrade class. Called when `db_version` Genesis setting is below 3101.
*
* @since 3.1.2
*/
class Upgrade_DB_3101 implements Upgrade_DB_Interface {
/**
* Upgrade method.
*
* @since 3.1.2
*/
public function upgrade() {
$search = [
'© ' . gmdate( 'Y' ),
'© ' . gmdate( 'Y' ),
'© ' . gmdate( 'Y' ),
'© ' . gmdate( 'Y' ),
];
$replace = '[footer_copyright]';
$footer_text = genesis_get_option( 'footer_text', null, false );
genesis_update_settings(
[
'footer_text' => str_replace( $search, $replace, $footer_text ),
]
);
}
}