Plugin Directory

Changeset 2058260


Ignore:
Timestamp:
03/27/2019 11:35:37 AM (7 years ago)
Author:
mraliende
Message:

1.20 Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?

Location:
good-url-preview-box
Files:
4 edited
45 copied

Legend:

Unmodified
Added
Removed
  • good-url-preview-box/tags/1.20/gurlpb-config.php

    r2049255 r2058260  
    11<?php
    22class Gurlpb_config {
    3     public static $_VERSION = '1.19'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
     3    public static $_VERSION = '1.20'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
    44    public static $_DEBUG = false;
    55    public static $_LOCAL = false;
  • good-url-preview-box/tags/1.20/gurlpb-start.php

    r2058220 r2058260  
    114114        ));
    115115   
    116     $fHasReachedPostLimit = 0;
    117     if ( ! $fHasToken && $query->post_count > 6 ) {
    118         $fHasReachedPostLimit = 1;
     116    $fNoNew = 0;
     117    if ( ! $fHasToken && $query->post_count > 4 ) {
     118        $fNoNew = 1;
    119119    }
    120120    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] found posts with preview boxes  >= " . $query->post_count );
    121     Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] Perhibit new preview boxes: " . $fHasReachedPostLimit );
     121    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] Perhibit new preview boxes: " . $fNoNew );
    122122   
    123123    echo '<script src="'
     
    134134         . ' gutenbergBoxCnt: 0,'
    135135         . ' cnt: 0,'                                                               // js counter of Gutenberg blocks with URL preview boxes
    136          . ' ht: ' . $fHasToken . ','
    137          . ' noNew: ' . $fHasReachedPostLimit                                               // {0 | 1}. New URL allowed to add?
     136         . ' noNew: ' . $fNoNew . ','                                              // {0 | 1}. New URL allowed to add?
     137         . ' hasT: '. $fHasToken
    138138         . '}</script>';
    139139}
  • good-url-preview-box/tags/1.20/gute-url-preview-box.php

    r2049255 r2058260  
    66Author: Martin Schaedler
    77Author URI: https://hypnose54321.de/frankfurt/_contact.html
    8 Version: 1.19
     8Version: 1.20
    99Text Domain: gurlpb
    1010*/
  • good-url-preview-box/tags/1.20/readme.txt

    r2058220 r2058260  
    44Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address
    55Requires at least: 4.9.0
    6 Tested up to: 5.0.3
     6Tested up to: 5.1
    77Stable tag: 5.0.3
    88License: GPLv2 or later
     
    115115== Upgrade Notice ==
    116116
     117= 1.20 =
     118Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     119
    117120= 1.19 =
    118 Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     121Bugfix for user with licence-key: More then 10 preview box per post are allowed yet.
    119122
    120123= 1.18 =
     
    174177== Changelog ==
    175178
     179= 1.20 =
     180Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     181
    176182= 1.19 =
    177 Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
    178 
     183Bugfix for user with licence-key: More then 10 preview box per post are allowed yet.
    179184
    180185= 1.18 =
  • good-url-preview-box/trunk/gurlpb-config.php

    r2049255 r2058260  
    11<?php
    22class Gurlpb_config {
    3     public static $_VERSION = '1.19'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
     3    public static $_VERSION = '1.20'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
    44    public static $_DEBUG = false;
    55    public static $_LOCAL = false;
  • good-url-preview-box/trunk/gurlpb-start.php

    r2058220 r2058260  
    114114        ));
    115115   
    116     $fHasReachedPostLimit = 0;
    117     if ( ! $fHasToken && $query->post_count > 6 ) {
    118         $fHasReachedPostLimit = 1;
     116    $fNoNew = 0;
     117    if ( ! $fHasToken && $query->post_count > 4 ) {
     118        $fNoNew = 1;
    119119    }
    120120    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] found posts with preview boxes  >= " . $query->post_count );
    121     Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] Perhibit new preview boxes: " . $fHasReachedPostLimit );
     121    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "] Perhibit new preview boxes: " . $fNoNew );
    122122   
    123123    echo '<script src="'
     
    134134         . ' gutenbergBoxCnt: 0,'
    135135         . ' cnt: 0,'                                                               // js counter of Gutenberg blocks with URL preview boxes
    136          . ' ht: ' . $fHasToken . ','
    137          . ' noNew: ' . $fHasReachedPostLimit                                               // {0 | 1}. New URL allowed to add?
     136         . ' noNew: ' . $fNoNew . ','                                              // {0 | 1}. New URL allowed to add?
     137         . ' hasT: '. $fHasToken
    138138         . '}</script>';
    139139}
  • good-url-preview-box/trunk/gute-url-preview-box.php

    r2049255 r2058260  
    66Author: Martin Schaedler
    77Author URI: https://hypnose54321.de/frankfurt/_contact.html
    8 Version: 1.19
     8Version: 1.20
    99Text Domain: gurlpb
    1010*/
  • good-url-preview-box/trunk/readme.txt

    r2058220 r2058260  
    44Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address
    55Requires at least: 4.9.0
    6 Tested up to: 5.0.3
     6Tested up to: 5.1
    77Stable tag: 5.0.3
    88License: GPLv2 or later
     
    115115== Upgrade Notice ==
    116116
     117= 1.20 =
     118Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     119
    117120= 1.19 =
    118 Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     121Bugfix for user with licence-key: More then 10 preview box per post are allowed yet.
    119122
    120123= 1.18 =
     
    174177== Changelog ==
    175178
     179= 1.20 =
     180Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
     181
    176182= 1.19 =
    177 Hot Bugfix for Gutenberg 5.3 - is_gutenberg_page() is not working in gutenberg anymore!?!?
    178 
     183Bugfix for user with licence-key: More then 10 preview box per post are allowed yet.
    179184
    180185= 1.18 =
Note: See TracChangeset for help on using the changeset viewer.