Changeset 3132838 for embed-pdf-viewer/trunk/embed-pdf-viewer.php
- Timestamp:
- 08/08/2024 06:16:01 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
embed-pdf-viewer/trunk/embed-pdf-viewer.php
r3132821 r3132838 15 15 * Author: Andy Fragen 16 16 * Author URI: https://github.com/afragen 17 * Version: 2.4. 117 * Version: 2.4. 18 18 * License: GPLv2+ 19 19 * Domain Path: /languages … … 146 146 $attributes['width'] ?? '600', 147 147 $attributes['height'] ?? '600', 148 $attributes[' title'] ?? '',148 $attributes[', 149 149 $is_chrome || wp_is_mobile() ? ' frameborder="0"' : '' 150 150 ); … … 245 245 : ucwords( preg_replace( '/(-|_)/', ' ', $atts['title'] ) ); 246 246 247 247 248 $sanitized_url = sanitize_url( $post->guid ); 248 249 … … 254 255 } 255 256 $iframe .= 'height="' . $atts['height'] . '" width="' . $atts['width'] . '" '; 256 $iframe .= 'title="' . $ atts['title']. '"></iframe>' . "\n";257 $iframe .= 'title="' . $ . '"></iframe>' . "\n"; 257 258 258 259 $embed = '<div>'; 259 260 $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>'; 261 262 $embed .= '</div>'; 262 263
Note: See TracChangeset
for help on using the changeset viewer.