Plugin Directory

Changeset 2161421


Ignore:
Timestamp:
09/23/2019 12:49:44 PM (7 years ago)
Author:
deano1987
Message:

Changelog

1.9.9

  • broken tag fix
Location:
amp-toolbox
Files:
16 added
2 edited

Legend:

Unmodified
Added
Removed
  • amp-toolbox/trunk/amp-toolbox.php

    r1984563 r2161421  
    44Plugin URI:
    55Description: 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.8
     6Version: 1.9.9
    77Author: deano1987
    88Author URI: http://deano.me
     
    417417                $text = str_replace('[title]', preg_replace('/[^a-Z0-9-. ]/', '', $post->post_title), $text);
    418418                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;
    420420                } 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>";
    422422                }
    423423               
     
    474474                    $text = str_replace('[original_url]', esc_url(rtrim(get_permalink($post_id), '/') . '/'), $text);
    475475                    $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>';
    477477                    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;
    479479                    } 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>";
    481481                    }
    482482                }
  • amp-toolbox/trunk/readme.txt

    r1984563 r2161421  
    33Tags: amp, amp schema, amp header, amp link, amp original, schema, header, header logo, link
    44Requires at least: 3.0
    5 Tested up to: 4.9.8
    6 Stable tag: 1.9.8
     5Tested up to: 5.2.3
     6Stable tag: 1.9.9
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3535
    3636== Changelog ==
     37= 1.9.9 =
     38* broken tag fix
     39
    3740= 1.9.8 =
    3841* 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.