WordPress.org

Plugin Directory

Changeset 860782


Ignore:
Timestamp:
02/19/14 09:23:18 (4 years ago)
Author:
ianarmstrong
Message:

Plugin Deprecated

Location:
tpc-memory-usage-updated
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tpc-memory-usage-updated/tags/0.9.3/readme.txt

    r831018 r860782  
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html 
    99 
    10 The best memory reporting plugin for WordPress, originally by Chris Strosser, updated to work with the newest version (original worked through 2.9.2) 
     10This Plugin is Deprecated 
    1111 
    1212== Description == 
    1313 
    14 Three years ago, Chris Strosser released the last version of his awesome [TPC Memory Usage plugin (out of date)](http://wordpress.org/plugins/tpc-memory-usage/ "TPC Memory Usage - only valid through WP 2.9.2"). It continues to work to this day, but not without both PHP and CSS errors. These have all been resolved in this version of the plugin. I have attempted to contact the original author about implementing the changes. After receiving no reply, I have pushed a few minor updates to the WordPress plugin repository so that the community can once again make use of his work. Additional developers are welcome to contact me about jumping on this project. 
    15  
    16 = This version does not yet contain any new features = 
    17  
    18 TPC! Memory Usage allows WordPress administrators to view the current and peak memory usage of the application. This is extremely helpful when testing new plugins, or if there are a lot of modifications, plugins, or large language files. As of version 0.4, administrators now have the ability to view detailed system information about their web server, MySQL, PHP, and WordPress software. (Requires PHP5) 
    19  
    20 Please leave requests and suggestions in the WordPress support forum. 
    21  
    22 = A strategic dashboard widget will provide a snapshot which includes the following information: = 
    23  
    24 * Current memory usage 
    25 * Current peak memory usage 
    26 * Logging for all-time highest memory usage 
    27 * File logging for memory usage at checkpoints, when usage exceeds set threshold, both, or none. 
    28 * Ability to add custom checkpoints (checkpoint - a WordPress core, language or plugin action at which memory usage is measured) 
    29 * Send e-mail notification if memory usage reaches threshold setting 
    30 * Customize permissions to show certain users the memory usage widget and display mechanisms 
    31 * View PHP and WordPress memory limit (defined in wp-settings.php) 
    32 * View PHP version, User Agent tag, server software information 
    33  
    34 = A detailed system information page allows you to keep a close watch on: = 
    35  
    36 * Server, host, and client information 
    37 * PHP information 
    38 * MySQL uptime, version, and more 
    39 * Common and advanced WordPress settings 
    40 * Completes basic security check to help prevent attacks 
    41  
    42 == Installation == 
    43  
    44 1. Download TPC! Memory Usage. 
    45 2. Upload all files into `/wp-content/plugins/tpc-memory-usage/`. 
    46 3. Activate the plugin using the WordPress plugin administration panel. 
    47 4. In the left-hand navigation menu, an item entitled Memory Usage should appear. 
    48 5. Customize your TPC! Memory Usage installation by adding checkpoints, and using the on-screen options. 
    49 6. If you choose to enable file logging, you must make sure that `/wp-content/plugins/tpc-memory-usage/logs/tpcmem.log` is writable on the server. 
    50  
    51 == Screenshots == 
    52  
    53 1. The default dashboard widget with the lower information panel extended 
    54 2. The Security Check located within the System Overview 
    55  
    56 == Changelog == 
    57  
    58 = 0.9.2 = 
    59 * Updated the way scripts/styles are called. Old plugin had referenced the plugin by name instead of grabbing the full path. 
    60  
    61 = 0.9.2 = 
    62 * This is the official re-release of the plugin as an update from the original 
    63 * Changed default memory usage notification level from 32MB to 48MB (tcpmem-core.php:102). 
    64 * Added an entry for 48MB in the settings array (settings.php:235) 
    65 * Added entries up to 1024MB for high-volume websites (settings.php:235) 
    66  
    67 = 0.9.1 = 
    68 * library/Tpcmem/Log.php 
    69 ** 214: made getInstance() a static function 
    70 * tpcmem.css 
    71 ** 7: floated progress bar to the left 
    72 ** Corrected all relative image paths 
    73 * tpcmem-admin.php 
    74 ** 31-52: removed script enqueue logic 
    75 * tcpmem.php 
    76 ** Added script registration and enqueue to the admin_enqueue_scripts hook 
    77 ** Retained old conditional logic 
    78 ** Added a default condition when $_GET['page'] is not set 
    79      
    80 = 0.9 = 
    81 * Database logging implemented. 
    82 * Reports administration page added for viewing database log. 
    83 * Added load averages to dashboard and overview (Linux only). 
    84 * Added Apache modules to overview. 
    85 * Added `allow_url_fopen`, `allow_url_include`, and `open_basedir` to Security Check. 
    86  
    87 = 0.8.3 = 
    88 * Added Tpcmem_Log_Adapter_Interface for increased extensibility. 
    89 * Use dependency injection to implement logging, reducing coupling between objects. 
    90 * Changed directory structure for class files to fit ZF coding conventions. 
    91 * Trimmed number of plugin files. 
    92  
    93 = 0.8.2 = 
    94 * Adjusted memory limit for graphs, and footer. 
    95 * Improved ModSecurity detection. 
    96 * Switched to object-oriented model for security check. 
    97  
    98 = 0.8.1 = 
    99 * Added WordPress unique authentication key detection to Security Check. 
    100 * Improved System Overview UI. 
    101 * Additional WordPress configuration settings added to System Overview. 
    102 * Fixed bugs related to 'magic_quotes_gpc' and ModSecurity detection. 
    103  
    104 = 0.8 = 
    105 * File logging for tracking memory usage at checkpoints, and also when usage exceeds threshold. 
    106 * Number of database queries shown in high memory usage notification e-mail. 
    107  
    108 = 0.7.2 = 
    109 * Pull PHP 'memory_limit' directly from php.ini instead of using runtime value. 
    110  
    111 = 0.7.1 = 
    112 * Fixed bug related to default checkpoints. 
    113  
    114 = 0.7 = 
    115 * Added support for custom checkpoints, which is defined as a WordPress core, language or plugin action at which memory usage is measured. 
    116 * Ability to add multiple recipients of high memory usage notification e-mail. 
    117  
    118 = 0.6.1 = 
    119 * Fixed high memory usage notification e-mail function. 
    120  
    121 = 0.6 = 
    122 * Updated architecture application architecture (PHP5 object model). 
    123 * Changed default memory usage notification level from 16MB to 32MB. 
    124  
    125 = 0.5.1 = 
    126 * Added check for apache_get_modules(). 
    127  
    128 = 0.5 = 
    129 * Added Security tab to System Overview page (helps prevent security-related vulnerabilities). 
    130 * Under Server tab, Server Signature says OFF when it is blank. 
    131  
    132 = 0.4 = 
    133 * Added detailed system information page (MySQL, WordPress, PHP, server/client) 
    134 * Added System Overview link to dashboard widget 
    135 * Moved TPC! Memory Usage menu item from Settings to top-level menu called Memory Usage 
    136  
    137 = 0.3.1 = 
    138 * Added confirmation for settings page when update completed. 
    139  
    140 = 0.3 = 
    141 * Send e-mail notification to admin if memory usage reaches threshold setting 
    142 * Reduced database queries (peak usage only logged at shutdown) 
    143 * Moved checkpoint registration to separate function 
    144 * Added checkpoint counters to count how many memory usage samples are taken 
    145  
    146 = 0.2.1 = 
    147 * Fixed script and style path bug. 
    148  
    149 = 0.2 = 
    150 * Ability to log historically highest memory usage 
    151 * Ability to block certain users from viewing the dashboard widget and other display mechanisms 
    152  
    153 = 0.1 = 
    154 * Initial release 
    155 * Dashboard widget with peak and current memory usage 
    156 * Option to show memory usage in administration panel footer 
    157 * Option to show memory usage in comments within the WP site pages and posts 
    158  
    159 == Frequently Asked Questions == 
    160  
    161 = Why do I keep getting messages saying my memory limit has been exceeded? = 
    162 This is actually a feature of TPC! Memory Usage that you can adjust or turn off at will. TPC! Memory Usage will send notifications if the memory usage of PHP exceeds the preset amount (defaults to 32MB). You can change this under Notifications on the Settings page. 
    163  
    164 = What is a checkpoint? = 
    165 A checkpoint is any WordPress action (also known as a hook) at which memory usage is measured. A list of WordPress actions can be found at <a href="http://codex.wordpress.org/Plugin_API/Action_Reference" title="Plugin API/Action Reference">http://codex.wordpress.org/Plugin_API/Action_Reference</a>. Most plugins also use their own actions, and a checkpoint can be created using those as well. 
    166  
    167 = Why can't I see the memory usage within the HTML on the pages/posts? = 
    168 This can happen for either one of two reasons. First, make sure that this feature has been enabled and you are looking in the correct place. A quick search for 'Memory Usage' (w/o the quotes) may help you find the data; however, if this doesn't work you will have to make sure that the `wp_head()` or `wp_footer()` functions or actions are called within the theme you are using. Some themes do not include out-of-the-box support, so you may have to add the `wp_head()` or `wp_footer()` functions to the theme templates yourself. 
     14Chris has returned to maintain the original plugin. Please download it here: http://wordpress.org/plugins/tpc-memory-usage/ 
  • tpc-memory-usage-updated/trunk/tpcmem-security.php

    r830977 r860782  
    1 <?php 
     1    <?php 
    22/** 
    33 * TPC! Memory Usage Security API 
Note: See TracChangeset for help on using the changeset viewer.