Changeset 2161421
- Timestamp:
- 09/23/2019 12:49:44 PM (7 years ago)
- Location:
- amp-toolbox
- Files:
-
- 16 added
- 2 edited
-
tags/1.9.9 (added)
-
tags/1.9.9/WDPanelAdmin.css (added)
-
tags/1.9.9/WDPanelAdmin.php (added)
-
tags/1.9.9/WebDesiresLogo.png (added)
-
tags/1.9.9/amp-toolbox.php (added)
-
tags/1.9.9/cloud.png (added)
-
tags/1.9.9/css-tidy (added)
-
tags/1.9.9/css-tidy/class.csstidy.php (added)
-
tags/1.9.9/css-tidy/class.csstidy_optimise.php (added)
-
tags/1.9.9/css-tidy/class.csstidy_print.php (added)
-
tags/1.9.9/css-tidy/css_optimiser.php (added)
-
tags/1.9.9/css-tidy/data.inc.php (added)
-
tags/1.9.9/css-tidy/lang.inc.php (added)
-
tags/1.9.9/email_sub.png (added)
-
tags/1.9.9/readme.txt (added)
-
tags/1.9.9/rss.png (added)
-
trunk/amp-toolbox.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amp-toolbox/trunk/amp-toolbox.php
r1984563 r2161421 4 4 Plugin URI: 5 5 Description: This is a plugin that extends and fixes functionality from the AMP plugin, allowing you a better control of your AMP pages. 6 Version: 1.9. 86 Version: 1.9.9 7 7 Author: deano1987 8 8 Author URI: http://deano.me … … 417 417 $text = str_replace('[title]', preg_replace('/[^a-Z0-9-. ]/', '', $post->post_title), $text); 418 418 if ($opt['view_original_position'] == 0) { 419 $content ="<div class='amp_toolbox_post_box_link'> ".($text)."</div>" . $content;419 $content ="<div class='amp_toolbox_post_box_link'><p>".($text)."</p></div>" . $content; 420 420 } else { 421 $content = $content."<div class='amp_toolbox_post_box_link'> ".($text)."</div>";421 $content = $content."<div class='amp_toolbox_post_box_link'><p>".($text)."</p></div>"; 422 422 } 423 423 … … 474 474 $text = str_replace('[original_url]', esc_url(rtrim(get_permalink($post_id), '/') . '/'), $text); 475 475 $text = str_replace('[title]', preg_replace('/[^a-Z0-9-. ]/', '', $post->post_title), $text); 476 $text = $text.'< style>'.$opt['view_amp_css'].'</style>';476 $text = $text.'</p><style>'.$opt['view_amp_css'].'</style>'; 477 477 if ($opt['view_amp_position'] == 0) { 478 $content ="<div class='amp_toolbox_post_box_link'> ".($text)."</div>" . $content;478 $content ="<div class='amp_toolbox_post_box_link'><p>".($text)."</div>" . $content; 479 479 } else { 480 $content = $content."<div class='amp_toolbox_post_box_link'> ".($text)."</div>";480 $content = $content."<div class='amp_toolbox_post_box_link'><p>".($text)."</div>"; 481 481 } 482 482 } -
amp-toolbox/trunk/readme.txt
r1984563 r2161421 3 3 Tags: amp, amp schema, amp header, amp link, amp original, schema, header, header logo, link 4 4 Requires at least: 3.0 5 Tested up to: 4.9.86 Stable tag: 1.9. 85 Tested up to: 5.2.3 6 Stable tag: 1.9.9 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 36 36 == Changelog == 37 = 1.9.9 = 38 * broken tag fix 39 37 40 = 1.9.8 = 38 41 * amp urls for pages are now correct since they use ?amp instead of /amp/ - dont know why??
Note: See TracChangeset
for help on using the changeset viewer.