Plugin Directory

Changeset 1985349


Ignore:
Timestamp:
12/04/2018 06:11:14 PM (7 years ago)
Author:
getflowpaper
Message:

1.9.1

Location:
flowpaper-lite-pdf-flipbook/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • flowpaper-lite-pdf-flipbook/trunk/flowpaper.php

    r1914413 r1985349  
    44Plugin URI: https://wordpress.org/plugins/flowpaper-lite-pdf-flipbook
    55Description: Shortcode for adding a PDF flipbook to a post: [flipbook pdf="http://yourwebsite.com/yourdocument.pdf"]. Replace the URL with a URL to a PDF document you want to publish.
    6 Version: 1.9.0
     6Version: 1.9.1
    77Author: Devaldi Ltd
    88Author URI: https://flowpaper.com
     
    1010*/
    1111
    12 define('FLOWPAPER_PLUGIN_VERSION', '1.9.0');
     12define('FLOWPAPER_PLUGIN_VERSION', '1.9.1');
    1313
    1414function flowpaper_plugin_parse_request($wp) {
     
    337337
    338338                if(strtolower($attr) == 'pdf'){ // append url at the end of the base url
    339                 if(strpos($value,'publ.flowpaper.com') > 0 || strpos($value,'online.flowpaper.com') > 0){
     339                if(strpos($value,'publ.flowpaper.com') > 0 || strpos($value,'online.flowpaper.com') > 0 || !strpos(strtolower($value),'.pdf')){
    340340                    $pdfUrl = esc_attr( $value );
    341341                    $cloudhosted = true;
     
    388388
    389389                if(strtolower($attr) == 'pdf'){ // append url at the end of the base url
    390                     if(strpos($value,'publ.flowpaper.com') > 0 || strpos($value,'online.flowpaper.com') > 0){
     390                    if(strpos($value,'publ.flowpaper.com') > 0 || strpos($value,'online.flowpaper.com') > 0 || !strpos(strtolower($value),'.pdf')){
    391391                        $pdfUrl = esc_attr( $value );
    392392                        $cloudhosted = true;
  • flowpaper-lite-pdf-flipbook/trunk/readme.txt

    r1914414 r1985349  
    170170* Resolved a function that was conflicting with woocommerce
    171171
     172= 1.9.1 =
     173* Improved the ability to embed self hosted publications created with the desktop publisher
     174
    172175== Installation ==
    173176
Note: See TracChangeset for help on using the changeset viewer.