HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/plugins/shortcodes-ultimate/includes/upgrade/5.9.1.php
<?php

/**
 * 1. Add autoload to plugin options
 */

$options = array_keys( su_get_config( 'default-settings' ) );

foreach ( $options as $option ) {

	if ( get_option( $option, 0 ) === 0 ) {
		continue;
	}

	$value = get_option( $option );

	delete_option( $option );
	add_option( $option, $value );

}