Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pepe committed Jan 7, 2021
1 parent 73290c1 commit adcc0b9
Show file tree
Hide file tree
Showing 204 changed files with 22,205 additions and 3,234 deletions.
Binary file added TE2/Proyecto Teknovate/htdocs/img/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jQuery( function ( $ ) {
} );
}

$( '.checkforspam.enable-on-load' ).click( function( e ) {
$( '.checkforspam.enable-on-load' ).on( 'click', function( e ) {
if ( $( this ).hasClass( 'ajax-disabled' ) ) {
// Akismet hasn't been configured yet. Allow the user to proceed to the button's link.
return;
Expand All @@ -165,8 +165,7 @@ jQuery( function ( $ ) {
$('.checkforspam-spinner').addClass( 'spinner' ).addClass( 'is-active' );

akismet_check_for_spam(0, 100);
});
$( '.checkforspam.enable-on-load' ).removeClass( 'button-disabled' );
}).removeClass( 'button-disabled' );

var spam_count = 0;
var recheck_count = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Plugin Name: Akismet Anti-Spam
Plugin URI: https://akismet.com/
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
Version: 4.1.7
Version: 4.1.8
Author: Automattic
Author URI: https://automattic.com/wordpress-plugins/
License: GPLv2 or later
Expand Down Expand Up @@ -37,7 +37,7 @@
exit;
}

define( 'AKISMET_VERSION', '4.1.7' );
define( 'AKISMET_VERSION', '4.1.8' );
define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'AKISMET_DELETE_LIMIT', 100000 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,15 @@ public static function auto_check_comment( $commentdata ) {
do_action( 'akismet_comment_check_response', $response );

$commentdata['comment_as_submitted'] = array_intersect_key( $comment, self::$comment_as_submitted_allowed_keys );
$commentdata['akismet_result'] = $response[1];

// Also include any form fields we inject into the comment form, like ak_js
foreach ( $_POST as $key => $value ) {
if ( is_string( $value ) && strpos( $key, 'ak_' ) === 0 ) {
$commentdata['comment_as_submitted'][ 'POST_' . $key ] = $value;
}
}

$commentdata['akismet_result'] = $response[1];

if ( isset( $response[0]['x-akismet-pro-tip'] ) )
$commentdata['akismet_pro_tip'] = $response[0]['x-akismet-pro-tip'];
Expand Down Expand Up @@ -1284,10 +1292,9 @@ public static function set_form_js_async( $tag, $handle, $src ) {
return preg_replace( '/^<script /i', '<script async="async" ', $tag );
}

public static function inject_ak_js( $fields ) {
echo '<p style="display: none;">';
public static function inject_ak_js( $post_id ) {
echo '<input type="hidden" id="ak_js" name="ak_js" value="' . mt_rand( 0, 250 ) . '"/>';
echo '</p>';
echo '<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100" style="display: none !important;"></textarea>';
}

private static function bail_on_activation( $message, $deactivate = true ) {
Expand Down Expand Up @@ -1470,8 +1477,17 @@ private static function sanitize_comment_as_submitted( $meta_value ) {
$meta_value = (array) $meta_value;

foreach ( $meta_value as $key => $value ) {
if ( ! isset( self::$comment_as_submitted_allowed_keys[$key] ) || ! is_scalar( $value ) ) {
unset( $meta_value[$key] );
if ( ! is_scalar( $value ) ) {
unset( $meta_value[ $key ] );
} else {
// These can change, so they're not explicitly listed in comment_as_submitted_allowed_keys.
if ( strpos( $key, 'POST_ak_' ) === 0 ) {
continue;
}

if ( ! isset( self::$comment_as_submitted_allowed_keys[ $key ] ) ) {
unset( $meta_value[ $key ] );
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eo
Tags: comments, spam, antispam, anti-spam, contact form, anti spam, comment moderation, comment spam, contact form spam, spam comments
Requires at least: 4.6
Tested up to: 5.6
Stable tag: 4.1.7
Stable tag: 4.1.8
License: GPLv2 or later

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for WordPress and WooCommerce.
Expand All @@ -30,6 +30,12 @@ Upload the Akismet plugin to your blog, activate it, and then enter your Akismet

== Changelog ==

= 4.1.8 =
*Release Date - 6 January 2021*

* Fixed missing fields in submit-spam and submit-ham calls that could lead to reduced accuracy.
* Fixed usage of deprecated jQuery function.

= 4.1.7 =
*Release Date - 22 October 2020*

Expand Down
100 changes: 0 additions & 100 deletions TE2/Proyecto Teknovate/htdocs/wordpress/wp-content/plugins/hello.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
.wcppec-checkout-buttons {
text-align: center;
margin: 1em 0;
overflow: hidden;
}
.wcppec-checkout-buttons .woocommerce-error {
text-align: left;
}
.wcppec-checkout-buttons__separator {
display: block;
margin: 0 0 1em;
}
.wcppec-checkout-buttons__button {
display: inline-block;
text-decoration: none !important;
border: 0 !important;
padding-top: 1em;
}
.wcppec-checkout-buttons__button img {
margin: 0 auto;
}
.paypal-button-widget .paypal-button,
.paypal-button-widget .paypal-button:hover {
background: transparent;
box-shadow: none;
border: none;
}
.wcppec-cart-widget-button {
display: inline-block;
text-decoration: none !important;
border: 0 !important;
}
.site-header .widget_shopping_cart p.buttons.wcppec-cart-widget-spb {
padding: 0 1em 1em;
}
.site-header .widget_shopping_cart .woocommerce-mini-cart__empty-message + p.buttons.wcppec-cart-widget-spb {
display: none;
}

.payment_method_ppec_paypal img {
max-height: 68px !important;
border-radius: 0;
}

.wc-gateway-ppec-cancel {
display: block;
text-align: center;
padding: 10px;
}

#woo_pp_ec_button_checkout {
display: none;
}

#payment .place-order .button {
display: block;
}
/**
* PayPal Payment buttons generated via the SDK need to be styled via CSS.
* To be backwards compatible, these rules are inline with the widths used by PayPal JS.
*
* @see https://developer.paypal.com/docs/archive/checkout/how-to/customize-button/#size
* @see https://developer.paypal.com/docs/checkout/integration-features/customize-button/#size
*/
.wc_ppec_small_payment_buttons {
width: 150px;
display: inline-block;
}
.wc_ppec_medium_payment_buttons {
width: 250px;
display: inline-block;
}
.wc_ppec_large_payment_buttons {
width: 350px;
display: inline-block;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit adcc0b9

Please sign in to comment.