View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
register_dropinthat can be used to add dropins.
simple_history/log/do_lognow pass 5 arguments instead of 3. Before this update in was not possible for multiple add_action()-calls to use this filter, because you would not now if any other code had canceled it and so on. If you have been using this filter you need to modify your code.
wp_logout()each time a user failed to login. Should fix all those mystery "Logged out"-entried some of you users had.
simple_history/log/do_logthat can be used to shortcut the log()-method.
simple_history/logger/interpolate/contextthat can be used to modify the variables sent to the message template.
if not existsand similar to only try to create the tables if they not already exists.
functions.php-file in a theme (filters where applied too early - they did however work from within a plugin!)
h2on admin screens. Reason for this the changes in 4.3: https://make.wordpress.org/core/2015/07/31/headings-in-admin-screens-change-in-wordpress-4-3/.
VERSIONis now removed. Use constant
SIMPLE_HISTORY_VERSIONinstead of you need to check the current version of Simple History.
SimpleHistoryFilterDropin/show_more_filters_on_loadthat is used to control if the search options should be expanded by default when the history page is loaded. Default is false, to have a less cluttered GUI.
SimpleHistoryFilterDropin/filter_default_user_idsthat is used to search/filter specific user ids by default (no need to search and select users). Should fix https://wordpress.org/support/topic/how-to-pass-array-of-user-ids-to-history-query.
SimpleHistoryFilterDropin/filter_default_loglevelthat is used to search/filter for log levels by default.
json_encode()on the value to make it a string. Previously is just tried to run `$wpdb->insert() with the array and that gave errors. Should fix https://wordpress.org/support/topic/mysql_real_escape_string.
glob()call anymore (just like plugins in the prev release)
register_loggerthat together are used to load external custom loggers. See example-logger.php for usage example.
NO_SELECT_FOUND_ROWSto the query. Should fix problems for users using HyperDB and also users using for example wpengine.com (that probably also is using HyperDB or a similar approach).
simple_history/loggers_dirremoved, because loggers are loaded from array instead of file listing generated from
glob(). Should be (however to the eye non-noticable) faster.
deletewhen clearing the database. Works much faster on large logs.
simple_history/log_html_output_details_single/html_after_context_table(and yes, I do fancy really long filter names).
simple_history/log_html_output_details_table/context_keys_to_show. Also added two usage examples for the filters.
simple_history/log_insert_contextto control what gets saved to the context table. Example on usage for this is also available in the example file.
SimpleHistoryLogitem--IPAddress-multipleadded for events that have more than one IP address detected. Happens when
http_x_forwarded_foror similar headers are included in response.
ESCkey or with a click outside it.
GitHub Plugin URIheader. Plugin install, deactivations, and activations should have correct view-info-links now.
composer.jsonadded, so Simple History can be pulled in to other projects via Composer. Actually untested, but at least the file is there. Please let me know if it works! :)
after_setup_themeso themes can actually use for example the load_dropin_*-filters...
simple_history/rss_item_link, so plugins can modify the link used in the RSS feed.
simple_history/dropin/load_dropinthat can be used to control the loading of each logger or dropin. See example file for usage examples.
_xmlrpc_requestis added to context of event when an event is initiated through a XML-RPC all.
SIMPLE_HISTORY_LOG_DEBUGis defined and true automatically adds
$_POST, and more info to each logged event. Mostly useful for the developer, but maybe some of you are a bit paranoid and want it too.
simple_history/simple_logger/log_message_keyadded, that can be used to shortcut log messages. See example file for usage. Fixes https://wordpress.org/support/topic/stop-logging-certain-types-of-activity.
SimpleLogger()->info( __("My log message") )that have translations now auto translated the message back to english before storing the message (together with the text domain). Then upon retrieval it uses the english message + the text domain to translate the message to the currently selected language. This makes it easier to make multilingual log entries. (Yeah, I know its hard to understand what the heck this does, but it's something good and cool, trust me!)
HTTP_X_FORWARDED_FORexists all valid IPs in that header is now stored.
SimpleHistory:logReloadStart. Fired when the log starts to reload, like when using the pagination or using the filter function.
simple_history/logrowhtmloutput/classes, to modify HTML classes added to each log row item
Added: WordPress 4.1 added the feature to log out a user from all their sessions. Simple History now logs when a user is logged out from all their sessions except the current browser, or if an admin destroys all sessions for a user. View screenshot of new session logout log item
Added: filter to shortcut loading of a dropin. Example that completely skips loading the RSS-feed-dropin:
Major update - Simple History is now better and nicer than ever before! :) I've spend hundreds of hours making this update, so if you use it and like it please donate to keep my spirit up or give it a nice review.
simple_history/rss_feed_show. Fixes more things in this thread: http://wordpress.org/support/topic/more-rss-feed-items.
simple_history/rss_feed_args. Fixes http://wordpress.org/support/topic/more-rss-feed-items.
Requires: 3.6.0 or higher
Compatible up to: 4.3.1
Last Updated: 1 week ago
Active Installs: 20,000+
11 of 18 support threads in the last two months have been resolved.
Got something to say? Need help?