Changeset 3157608
- Timestamp:
- 09/25/2024 01:46:15 PM (19 months ago)
- Location:
- smartlink-dinamic-urls
- Files:
-
- 20 added
- 2 deleted
- 4 edited
-
tags/1.1.0 (added)
-
tags/1.1.0/Incs (added)
-
tags/1.1.0/Incs/back_home.php (added)
-
tags/1.1.0/Incs/back_ops.php (added)
-
tags/1.1.0/Incs/back_settings.php (added)
-
tags/1.1.0/Incs/class-smartlink-back.php (added)
-
tags/1.1.0/Incs/class-smartlink-front.php (added)
-
tags/1.1.0/Incs/scripts (added)
-
tags/1.1.0/Incs/scripts/CSS (added)
-
tags/1.1.0/Incs/scripts/CSS/back-style.css (added)
-
tags/1.1.0/Incs/scripts/CSS/metabox-style.css (added)
-
tags/1.1.0/Incs/scripts/js (added)
-
tags/1.1.0/Incs/scripts/js/infopopup.js (added)
-
tags/1.1.0/assets (added)
-
tags/1.1.0/assets/info-icon.png (added)
-
tags/1.1.0/assets/more-info-icon.png (added)
-
tags/1.1.0/assets/smartlink-icon.png (added)
-
tags/1.1.0/assets/x-icon.png (added)
-
tags/1.1.0/readme.txt (added)
-
tags/1.1.0/smartlink-du.php (added)
-
trunk/Incs/back_settings.php (modified) (1 diff)
-
trunk/Incs/class-smartlink-back.php (modified) (1 diff)
-
trunk/assets/banner-772x250.png (deleted)
-
trunk/assets/icon-256x256.png (deleted)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/smartlink-du.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smartlink-dinamic-urls/trunk/Incs/back_settings.php
r2234916 r3157608 4 4 5 5 if(isset($_POST['def-url'])){// default URL 6 $d_url= sanitize_text_field($_POST['def-url']);6 $d_url= sanitize_text_field($_POST['def-url']); 7 7 } 8 8 if(isset($_POST['def-gt'])){// default GT URL 9 $dgt_url= sanitize_text_field($_POST['def-gt']);9 $dgt_url= sanitize_text_field($_POST['def-gt']); 10 10 } 11 11 if(isset($_POST['clean'])){// clean database 12 $clean_db= sanitize_text_field($_POST['clean']);13 } else{$clean_db="off";}12 $clean_db= sanitize_text_field($_POST['clean']); 13 } 14 14 // Save all metadata in BBDD 15 15 $restb_ops = array($d_url,$dgt_url,$clean_db); 16 maybe_serialize(update_option('back-ops',$restb_ops));17 }16 maybe_serialize(update_option('back-ops',$restb_ops)); 17 } 18 18 # Get data 19 19 $back_ops = get_option('back-ops'); 20 if($back_ops!==NULL){21 $back_ops=maybe_unserialize(get_option('back-ops'));22 }23 else{24 echo "First time here? <a href='#'>Check the docs.</a>";25 }20 if($back_ops!==FALSE){ 21 $back_ops=maybe_unserialize(get_option('back-ops')); 22 } 23 else{ 24 $back_ops=['', '', 'off']; 25 } 26 26 27 27 ?> -
smartlink-dinamic-urls/trunk/Incs/class-smartlink-back.php
r2235005 r3157608 143 143 public function updat_userdata( $post_id ) { 144 144 145 # Check if not Auto_draft / new post / we arein post editor page145 # Check if not Auto_draft / new post / in post editor page 146 146 $cur_scr = get_current_screen(); 147 147 if(get_post_status($post_id)!=='auto-draft'&&$cur_scr->base=='post'){ -
smartlink-dinamic-urls/trunk/readme.txt
r3104125 r3157608 6 6 Tested up to: 6.5.3 7 7 Requires PHP: 7.4 8 Stable tag: 1. 0.98 Stable tag: 1.1.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
smartlink-dinamic-urls/trunk/smartlink-du.php
r3104125 r3157608 8 8 * Description: Smartlink DU allows to insert up to 5 URLs to a link. URL's ares loaded randomly or depending on user location if GeoLocalization function is enabled. 9 9 * Name: Silence Dog 10 * Version: 1. 0.910 * Version: 1.1.0 11 11 * Author: Woopy Plugins 12 12 * Author URI: https://woopy.cyou/
Note: See TracChangeset
for help on using the changeset viewer.