🔥 HOT: Changeset/ - Uncensored 2025

Changeset 1688383


Ignore:
Timestamp:
06/30/2017 03:25:38 PM (9 years ago)
Author:
MrFlannagan
Message:

change array method for backwards php compatibility

Location:
wordpress-php-info/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wordpress-php-info/trunk/includes/classes/phpinfo-page.php

    r1675109 r1688383  
    1919                'manage_options',
    2020                PHPINFO_PREFIX . '_phpinfo',
    21                 [ 'PHPInfo_Page', 'display' ]
     21                array( 'PHPInfo_Page', 'display' )
    2222            );
    2323        } );
  • wordpress-php-info/trunk/includes/helper-functions.php

    r1675172 r1688383  
    3232 * Display phpinfo() function content
    3333 */
    34 function phpinfo_content( $option = - 1 ) {
     34function phpinfo_content( $option = 11 ) {
    3535    ob_start();
    36     phpinfo( 11 );
     36    phpinfo( $option );
    3737    $phpinfo = ob_get_clean();
    3838
  • wordpress-php-info/trunk/includes/templates/page.php

    r1675172 r1688383  
    4848                   type="text" name="emails" class="large-text" />
    4949            <input type="submit" value="Email This Information" class="button action" />
    50             <!-- Coming Soon <input type="button" value="Copy This Information" class="button action right" /> //-->
     50            <!--
     51            <input type="button" value="Copy This Information" class="button action right" />
     52            //-->
    5153        </form>
    5254    </div>
  • wordpress-php-info/trunk/readme.txt

    r1675172 r1688383  
    55Requires at least: 3.2.0
    66Tested up to: 4.8
    7 Stable tag: 16.1
     7Stable tag: 16.2
    88
    99It's important for a non technical administrator to be able to diagnose server related problems in WordPress and email the information through this plugin.
  • wordpress-php-info/trunk/wordpress-php-info.php

    r1675172 r1688383  
    55 * Description:  This simple plugin adds an option to an administrator's Tools menu which displays standard phpinfo() feedback details to the user and allows to send in email.
    66 * Author: Chris Flannagan
    7  * Version: 16.1
     7 * Version: 16.2
    88 * Author URI: https://whoischris.com/
    99 *
Note: See TracChangeset for help on using the changeset viewer.