Plugin Directory

Changeset 640277


Ignore:
Timestamp:
12/17/2012 12:54:12 AM (13 years ago)
Author:
Bit51
Message:

Placeholder for .csv download and minor bugfixes

Location:
better-wp-security/trunk/inc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • better-wp-security/trunk/inc/admin/common.php

    r634032 r640277  
    833833           
    834834        }
     835
     836        /**
     837         * Download the 404 log in .csv format
     838         *
     839         **/
     840        function log404csv() {
     841
     842
     843
     844        }
    835845               
    836846        /**
  • better-wp-security/trunk/inc/admin/content.php

    r640263 r640277  
    23262326         **/
    23272327        function logs_content_4() {
    2328             global $wpdb;
     2328            global $wpdb, $bwps;
    23292329           
    23302330            $log_content_4_table = new log_content_4_table();
    23312331            $log_content_4_table->prepare_items();
    23322332            $log_content_4_table->display();
     2333           
     2334            echo '<a href="admin.php?page=better-wp-security-logs&bit51_404_csv">' . __( 'Download 404 Log in .csv format', $this->hook ) . '</a>';
     2335
     2336            //Process 404 .csv file
     2337            if ( isset( $_GET['bit51_404_csv'] ) ) {
     2338                 $this->log404csv();
     2339            }
    23332340           
    23342341        }
  • better-wp-security/trunk/inc/setup.php

    r633727 r640277  
    8787            if ( defined( 'BWPS_NEW_INSTALL' ) && BWPS_NEW_INSTALL == true && is_multisite() && ! strpos( $_SERVER['REQUEST_URI'], 'wp-admin/network/plugins.php' ) ) {
    8888           
    89                 die ( __( '<strong>ERROR</strong>: You must activate this plugin from the network dashboard.', $bwps->hook ) );
     89                die ( __( '<strong>ERROR</strong>: You must activate this plugin from the network dashboard.', 'better-wp-security' ) );   
    9090           
    9191            }   
Note: See TracChangeset for help on using the changeset viewer.