WordPress.org

Plugin Directory

Changeset 465863


Ignore:
Timestamp:
11/22/11 02:52:31 (2 years ago)
Author:
ericmann
Message:

Updating to version 2.3.1.

Location:
wp-publication-archive/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-publication-archive/trunk/includes/openfile.php

    r394840 r465863  
    11<?php 
    22if ( ! isset($_GET['file']) ) 
     3    die(); 
     4     
     5if ( strpos( $_GET['file'], (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['SERVER_NAME'] ) === false ) 
    36    die(); 
    47 
  • wp-publication-archive/trunk/lib/class.publication-markup.php

    r398598 r465863  
    153153 
    154154    public function get_the_categories() { 
    155         $before = '<div class="publication_categoris">'; 
     155        $before = '<div class="publication_categories">'; 
    156156        $before .= '<span class="title">Categories: </span>'; 
    157157        $before .= '<span class="description">'; 
  • wp-publication-archive/trunk/lib/class.wp-publication-archive.php

    r398598 r465863  
    254254        $list .= '</div>'; 
    255255         
    256         if( wp_count_posts( 'publication' )->publish > 10 ) { 
     256        if( count( $publications ) > 10 ) { 
    257257            $list .= '<div id="navigation">'; 
    258258 
     
    295295    } 
    296296 
    297     public static function the_content() { 
     297    public static function the_content( $content ) { 
    298298        global $post; 
    299299        if( 'publication' != $post->post_type ) 
    300             return $post->post_content; 
     300            return $content; 
    301301 
    302302        $pub = new WP_Publication_Archive_Item( $post->ID, $post->post_title, $post->post_date ); 
  • wp-publication-archive/trunk/readme.txt

    r398598 r465863  
    55Requires at least: 3.0 
    66Tested up to: 3.2 
    7 Stable tag: 2.3 
     7Stable tag: 2.3.1 
    88 
    99Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.). 
     
    2929= How do I upload a new file? = 
    3030 
    31 There are two ways to upload files: 
     31Use the built-in media uploader on the "Add Publication" screen.  This is a change from previous versions where you could manually specify the full URL of the attachment.  That format exposed your site to a potential security vulnerability and has been removed. 
    3232 
    33 1. Upload a file via FTP to any location on your server 
    34 1. Use the built-in media uploader on the "Add Publication" screen 
     33= OK, will I be able to use remote files in the future? = 
    3534 
    36 Whether you use FTP or the built-in uploader, make sure you use the *full URL* of the file, otherwise WordPress won't know where to find it. 
     35Absolutely!  A future version will better handle fully-qualified filenames and once again allow for remote URLs.  Unfortunately, that version might take a few more months to polish enough for release ... 
    3736 
    3837= How do I list my publications? = 
     
    5958 
    6059== Changelog == 
     60 
     61= 2.3.1 = 
     62* URGENT SECURITY UPDATE 
     63* Fix some outstanding bugs 
    6164 
    6265= 2.3 = 
     
    9295== Upgrade Notice == 
    9396 
     97= 2.3.1 = 
     98URGENT SECURITY UPDATE!!! 
     99 
    94100= 2.2 = 
    95101This version will *only* work with PHP 5 or above! 
  • wp-publication-archive/trunk/wp-publication-archive.php

    r398598 r465863  
    44Plugin URI: http://jumping-duck.com/wordpress 
    55Description: Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.). 
    6 Version: 2.3 
     6Version: 2.3.1 
    77Author: Eric Mann 
    88Author URI: http://eamann.com 
Note: See TracChangeset for help on using the changeset viewer.