Changeset 1330929
- Timestamp:
- 01/19/2016 01:17:57 AM (10 years ago)
- Location:
- magic-fields-2/trunk
- Files:
-
- 4 edited
-
admin/mf_upload.php (modified) (1 diff)
-
main.php (modified) (1 diff)
-
mf_front_end.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
magic-fields-2/trunk/admin/mf_upload.php
r1326142 r1330929 79 79 $info = pathinfo(MF_FILES_DIR . $filename); 80 80 81 $thumb = aux_image($filename,"w=150&h=120&zc=1",'image_alt');81 $thumb = ($_GET['type'] == 'image') ? aux_image($filename,"w=150&h=120&zc=1",'image_alt') : ""; 82 82 $resp = array( 83 83 'error' => false, -
magic-fields-2/trunk/main.php
r1326142 r1330929 4 4 * Plugin URI: http://magicfields.org 5 5 * Description: Create custom fields for your post types 6 * Version: 2.3.2. 36 * Version: 2.3.2.4 7 7 * Author: Hunk 8 8 * Author URI: http://magicfields.org -
magic-fields-2/trunk/mf_front_end.php
r1321819 r1330929 343 343 //generate or check de thumb 344 344 $field_value = aux_image($field_value,$field_param,$field_type); 345 if ( is_wp_error($field_value) && defined('WP_DEBUG') && WP_DEBUG == true ){ 346 return sprintf("%s: %s",__('Error generating thumbnail, reason',$mf_domain),$field_value->get_error_message()); 347 } 348 349 return ""; 345 if ( is_wp_error($field_value)){ 346 if (defined('WP_DEBUG') && WP_DEBUG == true) { 347 return sprintf("%s: %s",__('Error generating thumbnail, reason',$mf_domain),$field_value->get_error_message()); 348 } else { 349 return ""; 350 } 351 } 350 352 351 353 } -
magic-fields-2/trunk/readme.txt
r1326142 r1330929 5 5 Requires at least: 3.1 6 6 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=edgar%40programador%2ecom&lc=GB&item_name=Donation%20Magic%20Fields¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest 7 Stable tag: 2.3.2. 37 Stable tag: 2.3.2.4 8 8 Description: Magic Fields 2 is a feature rich Wordpress CMS plugin 9 9 … … 28 28 29 29 == Changelog == 30 31 = 2.3.2.4 = 32 * fix problem with upload file field 33 * fix problem with get_image and gen_image, sorry 30 34 31 35 = 2.3.2.3 =
Note: See TracChangeset
for help on using the changeset viewer.