Changeset 2320162
- Timestamp:
- 06/08/2020 11:42:34 AM (6 years ago)
- Location:
- cookiebar-by-beard
- Files:
-
- 4 edited
-
tags/1.0.6/cookiebar-by-beard.php (modified) (1 diff)
-
tags/1.0.6/includes/plugin-functions.php (modified) (2 diffs)
-
trunk/cookiebar-by-beard.php (modified) (1 diff)
-
trunk/includes/plugin-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cookiebar-by-beard/tags/1.0.6/cookiebar-by-beard.php
r2320142 r2320162 159 159 ?> 160 160 <?php if (!is_page($cbbb_cookiepage)): ?> 161 <div class="cbbb-cookie-check <?php if( isset($_COOKIE['cbbb_cookie']) || is_page($cbbb_cookiepage)): ?>closed<?php endif; ?>">161 <div class="cbbb-cookie-check <?php if( isset($_COOKIE['cbbb_cookie']) ): ?>closed<?php endif; ?>"> 162 162 163 163 <div class="container"> -
cookiebar-by-beard/tags/1.0.6/includes/plugin-functions.php
r2320142 r2320162 193 193 $cookie_title = get_the_title(); 194 194 $cookie_name = str_replace(" ","", strtolower($cookie_title)); 195 if ( isset($_COOKIE[ '$cookie_name']) ):195 if ( isset($_COOKIE[$cookie_name]) ): 196 196 echo "<!-- added by Cookiebar by Beard -->"; 197 197 echo htmlspecialchars_decode( get_post_meta(get_the_id(), '_cbbb_script_meta_key', true) ); … … 221 221 $cookie_title = get_the_title(); 222 222 $cookie_name = str_replace(" ","", strtolower($cookie_title)); 223 if ( isset($_COOKIE[ '$cookie_name']) ):223 if ( isset($_COOKIE[$cookie_name]) ): 224 224 echo "<!-- added by Cookiebar by Beard -->"; 225 225 echo htmlspecialchars_decode( get_post_meta(get_the_id(), '_cbbb_script_meta_key', true) ); -
cookiebar-by-beard/trunk/cookiebar-by-beard.php
r2320142 r2320162 159 159 ?> 160 160 <?php if (!is_page($cbbb_cookiepage)): ?> 161 <div class="cbbb-cookie-check <?php if( isset($_COOKIE['cbbb_cookie']) || is_page($cbbb_cookiepage)): ?>closed<?php endif; ?>">161 <div class="cbbb-cookie-check <?php if( isset($_COOKIE['cbbb_cookie']) ): ?>closed<?php endif; ?>"> 162 162 163 163 <div class="container"> -
cookiebar-by-beard/trunk/includes/plugin-functions.php
r2320142 r2320162 193 193 $cookie_title = get_the_title(); 194 194 $cookie_name = str_replace(" ","", strtolower($cookie_title)); 195 if ( isset($_COOKIE[ '$cookie_name']) ):195 if ( isset($_COOKIE[$cookie_name]) ): 196 196 echo "<!-- added by Cookiebar by Beard -->"; 197 197 echo htmlspecialchars_decode( get_post_meta(get_the_id(), '_cbbb_script_meta_key', true) ); … … 221 221 $cookie_title = get_the_title(); 222 222 $cookie_name = str_replace(" ","", strtolower($cookie_title)); 223 if ( isset($_COOKIE[ '$cookie_name']) ):223 if ( isset($_COOKIE[$cookie_name]) ): 224 224 echo "<!-- added by Cookiebar by Beard -->"; 225 225 echo htmlspecialchars_decode( get_post_meta(get_the_id(), '_cbbb_script_meta_key', true) );
Note: See TracChangeset
for help on using the changeset viewer.