X7ROOT File Manager
Current Path:
/home/katmhsmi/public_html/wp-content/plugins/redirection/database/schema
home
/
katmhsmi
/
public_html
/
wp-content
/
plugins
/
redirection
/
database
/
schema
/
📁
..
📄
201.php
(390 B)
📄
216.php
(929 B)
📄
220.php
(1.2 KB)
📄
231.php
(1.09 KB)
📄
232.php
(384 B)
📄
233.php
(512 B)
📄
240.php
(3.01 KB)
📄
400.php
(2.78 KB)
📄
410.php
(671 B)
📄
420.php
(3.79 KB)
📄
latest.php
(7.33 KB)
Editing: 233.php
<?php // Note: not localised as the messages aren't important enough class Red_Database_233 extends Red_Database_Upgrader { public function get_stages() { return [ 'fix_invalid_groups_233' => 'Migrate any groups with invalid module ID', ]; } protected function fix_invalid_groups_233( $wpdb ) { $this->do_query( $wpdb, "UPDATE {$wpdb->prefix}redirection_groups SET module_id=1 WHERE module_id > 2" ); $latest = Red_Database::get_latest_database(); return $latest->create_groups( $wpdb ); } }
Upload File
Create Folder