[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-admin/includes/settings/logs/ -> update.php (source)

   1  <?php // logs => no sanitize here, only selects
   2  
   3  if ( isset( MP_AdminPage::$pst_['logs'] ) )
   4  {
   5      $logs = get_option( MailPress::option_name_logs );
   6      
   7      foreach ( MP_AdminPage::$pst_['logs'] as $k => $v ) $logs[$k] = $v; // so we don't delete settings if addon deactivated !
   8      
   9      update_option( MailPress::option_name_logs, $logs );
  10  
  11      $message = __( 'Logs settings saved', 'MailPress' );
  12  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1