Changeset 3158718
- Timestamp:
- 09/27/2024 11:10:46 AM (18 months ago)
- Location:
- ai-content-creator/trunk
- Files:
-
- 2 edited
-
admin/opciones.php (modified) (1 diff)
-
ai-content-creator.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ai-content-creator/trunk/admin/opciones.php
r3157211 r3158718 511 511 if ( ! empty( $input[ $setting ] ) ) { 512 512 // Comprueba si la clave API tiene el formato correcto. 513 if ( ! preg_match( '/^(sk\-)?[a-z 0-9]{32,96}$/i', $input[ $setting ] ) &&514 ! preg_match( '/^(sk\-project\-)?[a-z 0-9]{32,96}$/i', $input[ $setting ] ) &&515 ! preg_match( '/^(sk\-proj\-)?[a-z 0-9]{32,96}$/i', $input[ $setting ] )513 if ( ! preg_match( '/^(sk\-)?[a-zA-Z0-9_]{32,96}$/', $input[ $setting ] ) && 514 ! preg_match( '/^(sk\-project\-)?[a-zA-Z0-9_]{32,96}$/', $input[ $setting ] ) && 515 ! preg_match( '/^(sk\-proj\-)?[a-zA-Z0-9_]{32,96}$/', $input[ $setting ] ) 516 516 ) { 517 517 $error_code = 'aicc_apikoai defectuosa'; -
ai-content-creator/trunk/ai-content-creator.php
r3157211 r3158718 4 4 * Plugin URI: https://taller.abcdatos.net/ai-content-creator-wordpress/ 5 5 * Description: Creates new posts content using AI API 6 * Version: 1.2. 46 * Version: 1.2.5-dev 7 7 * Author: ABCdatos 8 8 * Author URI: https://taller.abcdatos.net/
Note: See TracChangeset
for help on using the changeset viewer.