Changeset 2928981
- Timestamp:
- 06/21/2023 06:55:33 AM (3 years ago)
- Location:
- gallery-photo-video
- Files:
-
- 44 added
- 2 edited
-
tags/2.8 (added)
-
tags/2.8/css (added)
-
tags/2.8/css/bootstrap.css (added)
-
tags/2.8/css/front-style.css (added)
-
tags/2.8/css/hover-style.css (added)
-
tags/2.8/css/style.css (added)
-
tags/2.8/gallery-photo-video.php (added)
-
tags/2.8/images (added)
-
tags/2.8/images/GPVbutton.png (added)
-
tags/2.8/images/close.png (added)
-
tags/2.8/images/gallery-1.png (added)
-
tags/2.8/images/gallery-2.png (added)
-
tags/2.8/images/gpv-footer-image.png (added)
-
tags/2.8/images/playvideo-icon.png (added)
-
tags/2.8/images/rate-us.png (added)
-
tags/2.8/images/trash-icon.png (added)
-
tags/2.8/include (added)
-
tags/2.8/include/GPV-addimages.php (added)
-
tags/2.8/include/GPV-setting.php (added)
-
tags/2.8/include/css_gallery_1.php (added)
-
tags/2.8/include/gallery_1.php (added)
-
tags/2.8/include/get-thumbnil.php (added)
-
tags/2.8/include/our_product.php (added)
-
tags/2.8/include/shortcode.php (added)
-
tags/2.8/js (added)
-
tags/2.8/js/color_picker.js (added)
-
tags/2.8/js/folio (added)
-
tags/2.8/js/folio/GPV_grid.css (added)
-
tags/2.8/js/folio/GPV_grid.js (added)
-
tags/2.8/js/script.js (added)
-
tags/2.8/js/upload-image.js (added)
-
tags/2.8/languages (added)
-
tags/2.8/languages/gallery-photo-video-en.mo (added)
-
tags/2.8/languages/gallery-photo-video-fr.mo (added)
-
tags/2.8/languages/gallery-photo-video.pot (added)
-
tags/2.8/lightbox (added)
-
tags/2.8/lightbox/img (added)
-
tags/2.8/lightbox/img/icons.png (added)
-
tags/2.8/lightbox/img/icons.svg (added)
-
tags/2.8/lightbox/img/loader.gif (added)
-
tags/2.8/lightbox/swipebox (added)
-
tags/2.8/lightbox/swipebox/jquery.swipebox.js (added)
-
tags/2.8/lightbox/swipebox/swipebox.css (added)
-
tags/2.8/readme.txt (added)
-
trunk/gallery-photo-video.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gallery-photo-video/trunk/gallery-photo-video.php
r2809622 r2928981 2 2 /* 3 3 * Plugin Name: Gallery Photo Video 4 * Version: 2. 74 * Version: 2.8 5 5 * Description: Gallery Photo Video is an advanced responsive plugin with highly customizable features. You can use this plugin multiple times in posts and pages. 6 6 * Author: @webdzier … … 173 173 { 174 174 if(isset($post) && isset($_POST['GPVaction'])){ 175 $TOTAL_coun_image=count($_POST['GPV_img_url']); 176 if($TOTAL_coun_image){ 177 for($i=0; $i < $TOTAL_coun_image; $i++){ 178 $unique_id =$_POST['GPV_li_id'][$i]; 179 $GPV_image_array[]=array( 180 'GPV_li_id'=>sanitize_text_field($_POST['GPV_li_id'][$i]), 181 'GPV_image_title'=>sanitize_text_field($_POST['GPV_image_title'][$i]), 182 'GPV_select'=>sanitize_text_field($_POST['GPV_select'][$i]), 183 'GPV_video_url'=>sanitize_text_field($_POST['GPV_video_url'][$i]), 184 'GPV_video_iframe'=>sanitize_text_field($_POST['GPV_video_iframe'][$i]), 185 'GPV_link'=>sanitize_text_field($_POST['GPV_link'][$i]), 186 'GPV_button_text'=>sanitize_text_field($_POST['GPV_button_text'][$i]), 187 'GPV_description'=>sanitize_text_field(stripcslashes($_POST['GPV_description'][$i])), 188 'GPV_img_url'=>esc_url_raw($_POST['GPV_img_url'][$i]), 189 'gpv_img_300'=>esc_url_raw($_POST['gpv_img_300'][$i]), 190 'gpv_img_500'=>esc_url_raw($_POST['gpv_img_500'][$i]), 191 ); 175 176 $img_url = $_POST['GPV_img_url']; 177 178 if(isset($img_url)){ 179 180 $TOTAL_coun_image=count($_POST['GPV_img_url']); 181 if($TOTAL_coun_image){ 182 for($i=0; $i < $TOTAL_coun_image; $i++){ 183 $unique_id =$_POST['GPV_li_id'][$i]; 184 $GPV_image_array[]=array( 185 'GPV_li_id'=>sanitize_text_field($_POST['GPV_li_id'][$i]), 186 'GPV_image_title'=>sanitize_text_field($_POST['GPV_image_title'][$i]), 187 'GPV_select'=>sanitize_text_field($_POST['GPV_select'][$i]), 188 'GPV_video_url'=>sanitize_text_field($_POST['GPV_video_url'][$i]), 189 'GPV_video_iframe'=>sanitize_text_field($_POST['GPV_video_iframe'][$i]), 190 'GPV_link'=>sanitize_text_field($_POST['GPV_link'][$i]), 191 'GPV_button_text'=>sanitize_text_field($_POST['GPV_button_text'][$i]), 192 'GPV_description'=>sanitize_text_field(stripcslashes($_POST['GPV_description'][$i])), 193 'GPV_img_url'=>esc_url_raw($_POST['GPV_img_url'][$i]), 194 'gpv_img_300'=>esc_url_raw($_POST['gpv_img_300'][$i]), 195 'gpv_img_500'=>esc_url_raw($_POST['gpv_img_500'][$i]), 196 ); 197 update_post_meta($post, 'GPV_photos_details', base64_encode(serialize($GPV_image_array))); 198 update_post_meta($post, 'GPV_images_count', $TOTAL_coun_image); 199 } 200 }else{ 201 202 $TOTAL_coun_image=0; 203 $GPV_image_array[]=array(); 192 204 update_post_meta($post, 'GPV_photos_details', base64_encode(serialize($GPV_image_array))); 193 205 update_post_meta($post, 'GPV_images_count', $TOTAL_coun_image); 194 206 } 195 }else{196 197 $TOTAL_coun_image=0;198 $GPV_image_array[]=array();199 update_post_meta($post, 'GPV_photos_details', base64_encode(serialize($GPV_image_array)));200 update_post_meta($post, 'GPV_images_count', $TOTAL_coun_image);201 207 } 208 209 202 210 } 203 211 } -
gallery-photo-video/trunk/readme.txt
r2809622 r2928981 2 2 Contributors: webdzier 3 3 Donate link: https://www.webdzier.com/ 4 version: 2. 75 Tested up to: 6. 06 Stable tag: 2. 74 version: 2.8 5 Tested up to: 6.2 6 Stable tag: 2.8 7 7 Tags: gallery,wd photo gallery,photo,video,link, photo video gallery, gallery photo video link, gallery video,video gallery plugin, wp gallery, wordpress gallery, link gallery, video gallery, photo gallery, responsive gallery, description gallery, wordpress responsive gallery, wp gallery, wp gallery plugins,creative gallery, photo, photo albums,photo bank, description,wordpress gallery plugin,wordpress gallery,wordpress photo gallery plugin, images,image gallery, lightbox, media, media gallery,wordpress photo gallery,wordpress link gallery, best gallery plugin,wordpress best gallery plugin,albums,best video gallery,album,image captions,caption,thumbnail galleries,thumbnail gallery, thumbnails, Picture Gallery, pictures, responsive, responsive galleries, responsive gallery,lightbox,swipebox,prettyphoto,nivobox,fancybox,youtube gallery,vimeo gallery,blog gallery,blog type, blog, description, wp blog gallery,wordpress blog gallery,pro gallery, gallery pro,blogs, post show,post 8 8 Requires at least: 3.0 … … 147 147 == Changelog == 148 148 149 = Version 2.8 = 150 * Tested up to wp 6.2.2 151 149 152 = Version 2.7 = 150 153 * Checked Compatibility by WordPress 6.0.3
Note: See TracChangeset
for help on using the changeset viewer.