Plugin Directory

Timestamp:
08/08/2024 06:16:01 PM (6 weeks ago)
Author:
afragen
Message:

Update to version 2.4.2 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • embed-pdf-viewer/trunk/embed-pdf-viewer.php

    r3132821 r3132838  
    1515 * Author:            Andy Fragen
    1616 * Author URI:        https://github.com/afragen
    17  * Version:           2.4.1
     17 * Version:           2.4.
    1818 * License:           GPLv2+
    1919 * Domain Path:       /languages
     
    146146            $attributes['width'] ?? '600',
    147147            $attributes['height'] ?? '600',
    148             $attributes['title'] ?? '',
     148            $attributes[',
    149149            $is_chrome || wp_is_mobile() ? ' frameborder="0"' : ''
    150150        );
     
    245245            : ucwords( preg_replace( '/(-|_)/', ' ', $atts['title'] ) );
    246246
     247
    247248        $sanitized_url = sanitize_url( $post->guid );
    248249
     
    254255        }
    255256        $iframe .= 'height="' . $atts['height'] . '" width="' . $atts['width'] . '" ';
    256         $iframe .= 'title="' . $atts['title'] . '"></iframe>' . "\n";
     257        $iframe .= 'title="' . $ . '"></iframe>' . "\n";
    257258
    258259        $embed  = '<div>';
    259260        $embed .= $iframe;
    260         $embed .= '<p><a href="' . $sanitized_url . '" title="' . $atts['title'] . '">' . $atts['title'] . '</a></p>';
     261        $embed .= '<p><a href="' . $sanitized_url . '" title="' . $ . '</a></p>';
    261262        $embed .= '</div>';
    262263
Note: See TracChangeset for help on using the changeset viewer.