Changeset 404338
- Timestamp:
- 07/04/2011 12:18:18 PM (15 years ago)
- Location:
- hyphenator
- Files:
-
- 2 edited
-
tags/3.3.0.1/options.php (modified) (2 diffs)
-
trunk/options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hyphenator/tags/3.3.0.1/options.php
r404172 r404338 76 76 77 77 // check for admin options submission and update options 78 if ( 'process' == $_POST['stage']) {78 if (isset($_POST['stage']) && 'process' == $_POST['stage']) { 79 79 foreach ($hyphenator_options as $opt) { 80 80 update_option('hyphenator_' . $opt, trim($_POST['hyphenator_' . $opt])); … … 100 100 101 101 // load gettext files 102 load_plugin_textdomain( hyphenator, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/');102 load_plugin_textdomain('hyphenator', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/'); 103 103 ?> 104 104 -
hyphenator/trunk/options.php
r404172 r404338 76 76 77 77 // check for admin options submission and update options 78 if ( 'process' == $_POST['stage']) {78 if (isset($_POST['stage']) && 'process' == $_POST['stage']) { 79 79 foreach ($hyphenator_options as $opt) { 80 80 update_option('hyphenator_' . $opt, trim($_POST['hyphenator_' . $opt])); … … 100 100 101 101 // load gettext files 102 load_plugin_textdomain( hyphenator, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/');102 load_plugin_textdomain('hyphenator', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)).'/languages/'); 103 103 ?> 104 104
Note: See TracChangeset
for help on using the changeset viewer.