[Plugin: SlideShare] Patch for 2.8.4
-
Code was not placing the hidden nonce in the settings form.
In short, move the
wp_nonce_field()call into the$contentvariable assignment.Patch is below:
44,46d43 < if (function_exists('wp_nonce_field')) < wp_nonce_field('slideshare-updatesettings'); < 53c50 < $content = '<form action="" method="post" id="slideshare-conf">'.$this->form_table($rows).'<div class ="submit"><input type="submit" class="button-primary" name="submit" value="'.__("Update SlideShare Settings").' »" /></div></form>'; --- > $content = '<form action="" method="post" id="slideshare-conf">'.$this->form_table($rows).'<div class ="submit"><input type="submit" class="button-primary" name="submit" value="'.__("Update SlideShare Settings").' »" /></div>'.(function_exists('wp_nonce _field')? wp_nonce_field('slideshare-updatesettings') : '').'</form>'; 116c113 < ?> \ No newline at end of file --- > ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: SlideShare] Patch for 2.8.4’ is closed to new replies.