Changeset 3310220
- Timestamp:
- 06/12/2025 07:05:25 AM (10 months ago)
- Location:
- petmatchpro/trunk
- Files:
-
- 2 deleted
- 7 edited
-
CHANGE-LOG.docx (modified) (previous)
-
CHANGE-LOG.pdf (modified) (previous)
-
CHANGE-LOG.txt (modified) (1 diff)
-
README.txt (modified) (1 diff)
-
includes/rg/class-pet-match-pro-rg-api.php (modified) (1 diff)
-
pet-match-pro.php (modified) (2 diffs)
-
public/class-pet-match-pro-public.php (modified) (3 diffs)
-
public/video/lib/adaptor (deleted)
-
public/video/src/adaptor (deleted)
Legend:
- Unmodified
- Added
- Removed
-
petmatchpro/trunk/CHANGE-LOG.txt
r3308820 r3310220 1 Version 6.0.7 - June 11, 2025 2 + /includes/rg/class-pet-match-pro-rg-api.pp 3 * Correct error processing videos when no videos exist. 4 + /public/class-pet-match-pro-public.php 5 * Require integration partner include file before initializing new class. 6 1 7 Version 6.0.6 - June 7, 2025 2 8 + /public/templates/af/adopt-profile-3-column.php -
petmatchpro/trunk/README.txt
r3308820 r3310220 6 6 Requires at least: 6.0 7 7 Tested up to: 6.8 8 Stable tag: 6.0. 68 Stable tag: 6.0.7 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
petmatchpro/trunk/includes/rg/class-pet-match-pro-rg-api.php
r3308820 r3310220 1311 1311 $numThumbs = $numPhotos; 1312 1312 1313 if ( ($numThumbs <= $maxThumbs) && (array_key_exists(0, $detailsItem[constant('RESCUEGROUPS_VIDEOS')])) ) { 1314 $videoCount = count($detailsItem[constant('RESCUEGROUPS_VIDEOS')]); 1315 //echo 'There is/are ' . $videoCount . ' Video(s).<br>'; 1316 $videoCount = $videoCount - 1; 1317 $counter = 0; 1318 while ( ($numThumbs <= $maxThumbs) && ($counter <= $videoCount) ){ 1319 //echo 'Processing Video Counter ' . $counter . ' with Thumb ' . $numThumbs . '<br>'; 1320 if (!empty($detailsItem[constant('RESCUEGROUPS_VIDEOS')][$counter][constant('RESCUEGROUPS_VIDEO_URL')])) { 1321 $animalDetails[constant('RESCUEGROUPS_VIDEOS')][] = $detailsItem[constant('RESCUEGROUPS_VIDEOS')][$counter][constant('RESCUEGROUPS_VIDEO_URL')]; 1322 //echo 'Added Animal Video.<br>'; 1323 $numThumbs = $numThumbs + 1; 1324 } 1325 $counter = $counter + 1; 1313 if ( ($numThumbs <= $maxThumbs) && (is_array($detailsItem[constant('RESCUEGROUPS_VIDEOS')])) ) { 1314 if (array_key_exists(0, $detailsItem[constant('RESCUEGROUPS_VIDEOS')])) { 1315 $videoCount = count($detailsItem[constant('RESCUEGROUPS_VIDEOS')]); 1316 //echo 'There is/are ' . $videoCount . ' Video(s).<br>'; 1317 $videoCount = $videoCount - 1; 1318 $counter = 0; 1319 while ( ($numThumbs <= $maxThumbs) && ($counter <= $videoCount) ){ 1320 //echo 'Processing Video Counter ' . $counter . ' with Thumb ' . $numThumbs . '<br>'; 1321 if (!empty($detailsItem[constant('RESCUEGROUPS_VIDEOS')][$counter][constant('RESCUEGROUPS_VIDEO_URL')])) { 1322 $animalDetails[constant('RESCUEGROUPS_VIDEOS')][] = $detailsItem[constant('RESCUEGROUPS_VIDEOS')][$counter][constant('RESCUEGROUPS_VIDEO_URL')]; 1323 //echo 'Added Animal Video.<br>'; 1324 $numThumbs = $numThumbs + 1; 1325 } 1326 $counter = $counter + 1; 1327 } 1326 1328 } 1327 1329 } -
petmatchpro/trunk/pet-match-pro.php
r3308820 r3310220 14 14 * Plugin URI: https://petmatchpro.com/plans 15 15 * Description: Integrates animal search and details from your PetPoint/Petango, AnimalsFirst or RescueGroups account into your animal shelter or rescue website with simple shortcodes. 16 * Version: 6.0. 616 * Version: 6.0.7 17 17 * Requires at least: 6.0 18 18 * Requires PHP: 7.4 … … 32 32 * Current plugin version. 33 33 */ 34 define('PET_MATCH_PRO_VERSION', '6.0. 6');34 define('PET_MATCH_PRO_VERSION', '6.0.7'); 35 35 36 36 /* Define Global Variables */ -
petmatchpro/trunk/public/class-pet-match-pro-public.php
r3308820 r3310220 51 51 if ($this->integrationPartner == constant('PETPOINT')) { 52 52 $this->includePath = constant("PET_MATCH_PRO_PATH") . '/' . constant('INCLUDE_DIR') . '/' . constant('PETPOINT_DIR') . '/'; 53 $apiFile = 'class-' . constant('PMP_PLUGIN_NAME') . '-' . constant('PETPOINT_DIR') . '-api.php'; 54 require_once $this->includePath . $apiFile; 53 55 $this->PMP_API = new Pet_Match_Pro_PP_Api($this->PartnerAPIKey, $this->PMPlicense); 54 56 $this->animalID = 'animal' . strtoupper(constant('PETPOINT_ID')); … … 56 58 $this->includePath = constant("PET_MATCH_PRO_PATH") . '/' . constant('INCLUDE_DIR') . '/' . constant('RESCUEGROUPS_DIR') . '/'; 57 59 //echo 'Partner API Key ' . $this->PartnerAPIKey . '<br>'; 60 $apiFile = 'class-' . constant('PMP_PLUGIN_NAME') . '-' . constant('RESCUEGROUPS_DIR') . '-api.php'; 61 require_once $this->includePath . $apiFile; 58 62 $this->PMP_API = new Pet_Match_Pro_RG_Api($this->PartnerAPIKey, $this->PMPlicense); 59 63 $this->animalID = str_replace(constant('ID'), strtoupper(constant('ID')), constant('RESCUEGROUPS_ID')); … … 61 65 $this->includePath = constant("PET_MATCH_PRO_PATH") . '/' . constant('INCLUDE_DIR') . '/' . constant('ANIMALSFIRST_DIR') . '/'; 62 66 //echo 'Partner API Key ' . $this->PartnerAPIKey . '<br>'; 67 $apiFile = 'class-' . constant('PMP_PLUGIN_NAME') . '-' . constant('ANIMALSFIRST_DIR') . '-api.php'; 68 require_once $this->includePath . $apiFile; 63 69 $this->PMP_API = new Pet_Match_Pro_AF_Api($this->PartnerAPIKey, $this->PMPlicense); 64 70 $this->animalID = constant('ANIMALSFIRST_ID');
Note: See TracChangeset
for help on using the changeset viewer.