Plugin Directory

Changeset 442282


Ignore:
Timestamp:
09/22/2011 07:14:23 PM (15 years ago)
Author:
quartz
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress-custom-fields/trunk/wp-customfields.php

    r442277 r442282  
    2424                        $_POST['wpcf'][$i] = "wpcf_" . $_POST['wpcf'][$i];
    2525                    $_POST['wpcf'][$i] = str_replace("\\","",str_replace("'","",str_replace('"', '', $_POST['wpcf'][$i])));
    26                     update_option($_POST['wpcf'][$i], $_POST['wpcfv'][$i]);
     26                    update_option(substr($_POST['wpcf'][$i],0,100), $_POST['wpcfv'][$i]);
    2727                }
    2828                else {
Note: See TracChangeset for help on using the changeset viewer.