Plugin Directory

Changeset 2291433


Ignore:
Timestamp:
04/25/2020 08:29:26 AM (6 years ago)
Author:
beardeddev
Message:

Fixed issue with shortcode rendering

Location:
cookiebar-by-beard
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cookiebar-by-beard/tags/1.0.3/includes/shortcode.php

    r2270711 r2291433  
    77function cbbbcookies()
    88{
     9    ob_start();
    910    $cbbb_options = get_option( 'cbbb_option_name' );
    1011    $cbbb_cookiebar_time = $cbbb_options['cbbb_cookiebar_time'];
     
    6667                    <div class="cbbb-cookie-save">
    6768                        <button type="button" data-cookie-time="<?php echo $cbbb_cookiebar_time; ?>" name="cbbb-save">Save Settings</button>
    68                     </div>                 
     69                    </div>
    6970                </div>
    7071            </div>
     
    7273    </div>
    7374    <?php
     75    return ob_get_clean();
    7476}
    7577add_shortcode( 'cbbbcookies', 'cbbbcookies' );
  • cookiebar-by-beard/tags/1.0.3/readme.txt

    r2270711 r2291433  
    44Requires at least: 4.3
    55Tested up to: 5.4
    6 Stable tag: 1.0.3
     6Stable tag: 1.0.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
     49= 1.0.4
     50Fixed issue with shortcode rendering
     51
    4952= 1.0.3
    5053Removed the small icon / floating button
  • cookiebar-by-beard/trunk/config.codekit3

    r2270710 r2291433  
    88        }
    99    ],
    10 "creatorBuild": "31934",
     10"creatorBuild": "32001",
    1111"files": {
    1212    "/assets/banner-1544x500.jpg": {
     
    823823            "optionString": ""
    824824            },
     825        "grouped-accessor-pairs": {
     826            "active": 0,
     827            "optionString": "'anyOrder'"
     828            },
    825829        "guard-for-in": {
    826830            "active": 0,
     
    9991003            "optionString": "{'checkLoops': true}"
    10001004            },
     1005        "no-constructor-return": {
     1006            "active": 0,
     1007            "optionString": ""
     1008            },
    10011009        "no-continue": {
    10021010            "active": 0,
     
    10271035            "optionString": ""
    10281036            },
     1037        "no-dupe-else-if": {
     1038            "active": 1,
     1039            "optionString": ""
     1040            },
    10291041        "no-dupe-keys": {
    10301042            "active": 1,
     
    13271339            "optionString": ""
    13281340            },
     1341        "no-setter-return": {
     1342            "active": 1,
     1343            "optionString": ""
     1344            },
    13291345        "no-shadow": {
    13301346            "active": 0,
     
    15301546            "active": 0,
    15311547            "optionString": "{'array': true, 'object': true}, {'enforceForRenamedProperties': false}"
     1548            },
     1549        "prefer-exponentiation-operator": {
     1550            "active": 0,
     1551            "optionString": ""
    15321552            },
    15331553        "prefer-named-capture-group": {
  • cookiebar-by-beard/trunk/includes/shortcode.php

    r2265902 r2291433  
    77function cbbbcookies()
    88{
     9    ob_start();
    910    $cbbb_options = get_option( 'cbbb_option_name' );
    1011    $cbbb_cookiebar_time = $cbbb_options['cbbb_cookiebar_time'];
     
    6667                    <div class="cbbb-cookie-save">
    6768                        <button type="button" data-cookie-time="<?php echo $cbbb_cookiebar_time; ?>" name="cbbb-save">Save Settings</button>
    68                     </div>                 
     69                    </div>
    6970                </div>
    7071            </div>
     
    7273    </div>
    7374    <?php
     75    return ob_get_clean();
    7476}
    7577add_shortcode( 'cbbbcookies', 'cbbbcookies' );
  • cookiebar-by-beard/trunk/readme.txt

    r2270710 r2291433  
    44Requires at least: 4.3
    55Tested up to: 5.4
    6 Stable tag: 1.0.3
     6Stable tag: 1.0.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
     49= 1.0.4
     50Fixed issue with shortcode rendering
     51
    4952= 1.0.3
    5053Removed the small icon / floating button
Note: See TracChangeset for help on using the changeset viewer.