Skip to content
Browse files

Don't use nocache links for Webcomic Link widget.

Using nocache has the unfortunate side effect of preventing the various
post tokens from working properly.
  • Loading branch information...
1 parent e232f85 commit c4073b4031db9eeb109e28b1868df65d3a5a2c98 Michael Sisk committed Mar 3, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 -/php/widgets.php
View
6 -/php/widgets.php
@@ -104,9 +104,9 @@ public function form( $instance ) {
<label>
<?php _e( 'Target:', 'webcomic' ); ?><br>
<select name="<?php echo $this->get_field_name( 'relative' ); ?>">
- <option value="first-nocache"<?php echo empty( $relative ) ? '' : selected( 'first-nocache', $relative, false ); ?>><?php _e( 'First', 'webcomic' ); ?></option>
- <option value="last-nocache"<?php echo empty( $relative ) ? '' : selected( 'last-cache', $relative, false ); ?>><?php _e( 'Last', 'webcomic' ); ?></option>
- <option value="random-nocache"<?php echo empty( $relative ) ? '' : selected( 'random-nocache', $relative, false ); ?>><?php _e( 'Random', 'webcomic' ); ?></option>
+ <option value="first"<?php echo empty( $relative ) ? '' : selected( 'first', $relative, false ); ?>><?php _e( 'First', 'webcomic' ); ?></option>
+ <option value="last"<?php echo empty( $relative ) ? '' : selected( 'last', $relative, false ); ?>><?php _e( 'Last', 'webcomic' ); ?></option>
+ <option value="random"<?php echo empty( $relative ) ? '' : selected( 'random', $relative, false ); ?>><?php _e( 'Random', 'webcomic' ); ?></option>
</select>
</label>
</p>

0 comments on commit c4073b4

Please sign in to comment.
Something went wrong with that request. Please try again.