Plugin Directory

Changeset 2977120

Timestamp:
10/10/2023 03:49:00 PM (10 months ago)
Author:
tidevapps
Message:

Correção na exportação do PDF.

Location:
gerador-de-certificados-devapps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gerador-de-certificados-devapps/trunk/README.txt

    r2977112 r2977120  
    44Requires at least: 5.0
    55Tested up to: 6.3.1
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    7373== Changelog ==
    7474
     75
     76
     77
    7578= 1.3.0 =
    7679* Criação da tela de configurações
  • gerador-de-certificados-devapps/trunk/admin/class-devapps-certificate-generator-admin.php

    r2977112 r2977120  
    289289        global $wpdb;
    290290        // Executa uma consulta SQL para recuperar todos os certificados gerados
    291         return $wpdb->get_results("SELECT * FROM {$wpdb->prefix}devapps_certificates;", ARRAY_A);
     291        return $wpdb->get_results("SELECT * FROM {$wpdb->prefix}devapps_certificates;", ARRAY_A);
    292292    }
    293293
     
    735735            imagedestroy($image);
    736736
     737
    737738            if ($settings['width'] != '1811' && $settings != '1299') {
    738739                $this->resize_image($file_path, $settings['width'], $settings['height']);
    739740            }
    740741
     742
    741743            if ($settings['certificate_format'] == 'pdf') {
    742744                return $this->convert_to_pdf($file_path, $file_url);
     
    779781            // Escreve a imagem convertida em um arquivo PDF
    780782            $image->writeImage($pdf_file_name);
     783
     784
     785
    781786
    782787            // Retorna a URL do arquivo PDF convertido
  • gerador-de-certificados-devapps/trunk/devapps-certificate-generator.php

    r2977112 r2977120  
    1717 * Plugin URI:        https://devapps.com.br/plugins/devapps-certificate-generator
    1818 * Description:       Gerador de certificados para cursos e eventos.
    19  * Version:           1.3.0
     19 * Version:           1.3.
    2020 * Author:            DevApps Consultoria e Desenvolvimento de Sistemas
    2121 * Author URI:        https://devapps.com.br
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('DEVAPPS_CERTIFICATE_GENERATOR_VERSION', '1.3.0');
     38define('DEVAPPS_CERTIFICATE_GENERATOR_VERSION', '1.3.');
    3939
    4040
Note: See TracChangeset for help on using the changeset viewer.