Changeset 1708563
- Timestamp:
- 08/04/2017 06:18:44 PM (9 years ago)
- Location:
- fastdee/trunk
- Files:
-
- 5 edited
-
includes/core/class-fd-ofertas.php (modified) (2 diffs)
-
includes/core/class-fd-pages.php (modified) (1 diff)
-
includes/libraries/alv2/alv2.php (modified) (1 diff)
-
includes/pages/class-fd-options-page.php (modified) (1 diff)
-
readme.md (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fastdee/trunk/includes/core/class-fd-ofertas.php
r1708163 r1708563 48 48 // Security Check 49 49 if ( ! wp_verify_nonce( $_POST['fd_nonce'], '_nonce_fd_import_offers_ldk184' ) || ! defined( 'ABSPATH' ) ) { 50 echo json_encode( array( 'error' => true, 'msg' => ' WP Security check Error' ) );50 echo json_encode( array( 'error' => true, 'msg' => 'Erro de seguraça.</br>Verifique se está logado!' ) ); 51 51 wp_die(); 52 52 } … … 143 143 // Security Check 144 144 if ( ! wp_verify_nonce( $_POST['fd_nonce'], '_nonce_fd_import_offers_ldk184' ) || ! defined( 'ABSPATH' ) ) { 145 echo json_encode( array( 'error' => true, 'msg' => ' WP Security check Error' ) );145 echo json_encode( array( 'error' => true, 'msg' => 'Erro de seguraça.</br>Verifique se está logado!' ) ); 146 146 wp_die(); 147 147 } -
fastdee/trunk/includes/core/class-fd-pages.php
r1698293 r1708563 12 12 13 13 public function fd_getCategorias() { 14 $strRetorno = $this->getLomadeAccess()->findCategories( alv2::_ BESTSELLERS, array(14 $strRetorno = $this->getLomadeAccess()->findCategories( alv2::_ALL, array( 15 15 'size' => 1000, 16 'hasProduct' => true // TODO colocar na assinatura16 //'hasProduct' => true 17 17 ) ); 18 18 $arrRetorno = json_decode( $strRetorno ); -
fastdee/trunk/includes/libraries/alv2/alv2.php
r1697588 r1708563 41 41 $queryArgs = http_build_query( $args ); 42 42 $url = "https://{$this->getEnvironment()}.lomadee.com/v2/{$this->getAppToken()}/{$resourceName}/{$serviceName}/{$objectId}?{$queryArgs}"; 43 43 //echo $url;die; 44 44 $curl = curl_init(); 45 45 curl_setopt( $curl, CURLOPT_URL, $url ); -
fastdee/trunk/includes/pages/class-fd-options-page.php
r1708169 r1708563 66 66 $texto_sourceId = '*ID Lomadee'; 67 67 68 if ( $this->temSourceId() ) {69 $texto_sourceId .= ' (' . $this->getSourceID() . ')';70 }68 // if ( $this->temSourceId() ) { 69 // $texto_sourceId .= ' (' . $this->getSourceID() . ')'; 70 // } 71 71 add_settings_field( 72 72 'fd_sourceID', -
fastdee/trunk/readme.md
r1708169 r1708563 119 119 * Melhora de performance / Importação mais rápida. 120 120 * Exibição do source ID na página de opções. 121 * Todas as categorias da Lomadee nas opções. 121 122 122 123 = 2.3.0 =
Note: See TracChangeset
for help on using the changeset viewer.