Permalink
Browse files

Merge dev work

  • Loading branch information...
2 parents 3ffd998 + 0cf3bee commit 1d22019dbec5e38ee2ac91743db5638006f2fb7a @ericmann committed Jul 25, 2013
Showing with 6 additions and 3 deletions.
  1. +1 −1 includes/template.wppa_publication_dropdown.php
  2. +4 −1 readme.txt
  3. +1 −1 wp-publication-archive.php
@@ -29,7 +29,7 @@
<select name="dropdown" onchange="window.location.href=this.form.dropdown.options[this.form.dropdown.selectedIndex].value">
<option value=""><?php _e( 'Select file', 'wp_pubarch_translate' ); ?></option>
<?php foreach( $publications as $publication ) { ?>
- <option value="<?php echo get_permalink( $publication->ID ); ?>"><?php echo $publication->post_title; ?></option>
+ <option value="<?php echo WP_Publication_Archive::get_open_link( $publication->ID ); ?>"><?php echo $publication->post_title; ?></option>
<?php } ?>
</select>
</form>
View
@@ -4,7 +4,7 @@ Donate link: http://jumping-duck.com/wordpress/plugins
Tags: document management, pdf, doc, archive
Requires at least: 3.5
Tested up to: 3.6
-Stable tag: 3.0
+Stable tag: 3.0.1
License: GPLv2
Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.).
@@ -118,6 +118,9 @@ No screenshots are available at this time.
== Changelog ==
+= 3.0.1
+* Revert the dropdown template's file opening functionality to auto-open the file
+
= 3.0 =
* Add publication landing pages (with template)
* Add publication archive pages (with template)
@@ -3,7 +3,7 @@
* Plugin Name: WP Publication Archive
* Plugin URI: http://jumping-duck.com/wordpress/plugins/wp-publication-archive/
* Description: Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.).
- * Version: 3.0
+ * Version: 3.0.1
* Author: Eric Mann
* Author URI: http://eamann.com
* License: GPLv2

0 comments on commit 1d22019

Please sign in to comment.