Simple History – user activity log, audit tool

Descrição

O Simple History mostra mudanças recentes feitas dentro do WordPress diretamente no seu painel, ou numa página separada.

O plugin funciona com um registro, histórico, registro de auditagem, ou histórico de versão dos eventos mais importantes que ocorrem no WordPress.

De início, o Simple History tem suporte para:

  • Posts e páginas
    veja quem adicionou, atualizou ou excluiu um post ou uma página
  • Anexos
    veja quem adicionou, atualizou ou excluiu um anexo
  • Taxonomias (taxonomias personalizadas, categorias, tags)
    veja quem adicionou, atualizou ou excluiu uma taxonomia
  • Comentários
    veja quem editou, aprovou ou removeu um comentário
  • Widgets
    saiba quando alguém adiciona, atualiza ou remove um widget numa barra lateral
  • Plugins
    ativação e desativação
  • Perfis de usuário
    informação sobre usuários adicionados, atualizados ou removidos
  • Acessos de usuário
    veja quando um usuário acessa & quando sai. E também quando um usuário não consegue acessar (boa maneira de pegar tentativas de acesso por força bruta).
  • Acessos impedidos
    veja quando alguém tentou acessar, mas não conseguiu. O registro nesse caso inclui o endereço IP do possível hacker.
  • Edições de menus
  • Telas de opções
    veja os detalhes de mudanças feitas em diversas seções de configuração do WordPress. Itens como mudanças no título do site e na estrutura de links permanentes são registrados.
  • Página de privacidade
    quando uma página de privacidade é criada ou atribuída a uma nova página.
  • Exportação de dados
    veja quando uma solicitação de exportação de dados de privacidade é adicionada, e quando a solicitação é aprovada pelo usuário, baixada por um administrador, ou enviada por e-mail ao usuário.
  • Solicitações de remoção de dados do usuário
    veja quando uma solicitação de exportação de dados de privacidade de usuário é adicionada, quando essa solicitação é aprovada pelo usuário e quando os dados do usuário são removidos.

Suporte para outros plugins

Por padrão, o Simple History já vem com suporte para os seguintes plugins:

Jetpack
O plugin Jetpack é um plugin da Automattic (a empresa por trás do serviço WordPress.com) que permite a você turbinar o site adicionando muitas funções extras.
No Simple History, você verá quais módulos do Jetpack são ativados e desativados.
(O criador do Simple History, a propósito, recomenda esse plugin e suas funções de proteção contra ataques de força bruta (em inglês). É uma maneira muito boa de bloquear tentativas indesejadas de acesso feitas por bots maliciosos e ataques distribuídos.)

Advanced Custom Fields (ACF)
O ACF adiciona campos em posts e páginas.
O Simple History registra as mudanças feitas em grupos de campos e nos campos dentro desses grupos. Você poderá ver quando um campo ou um grupo de campos for criado e modificado.

User Switching
O plugin User Switching permite que você rapidamente troque a conta de usuário usada no WordPress com um único clique.
O Simple History registra cada troca de usuário realizada.

WP Crontrol
O plugin WP Crontrol permite que você veja e controle o que está acontecendo no sistema WP-Cron.
O Simple History vai registrar quando eventos cron forem adicionados, editados, excluídos, e rodados manualmente, e quando tabelas cron forem adicionadas ou excluídas.

Enable Media Replace
O plugin Enable Media Replace permite que você substitua um arquivo na biblioteca de mídia fazendo o envio de um novo arquivo em seu lugar.
O Simple history registra detalhes sobre o arquivo que está sendo substituído e o novo arquivo.

Limit Login Attempts
O plugin Limit Login Attempts é antigo e não é atualizado há 4 anos. Entretanto, ele ainda tem mais de 1 milhão de instalações e assim muitos usuários vão se beneficiar de o
Simple History registrar as tentativas de acesso, bloqueios e as mudanças em configurações feitas no plugin Limit Login Attempts.

Redirection
O plugin Redirection gerencia redirecionamentos de URL, usando uma GUI legal.
O Simple History registra os redirecionamentos e grupos criados, alterados, ativados ou desativados, bem como quando as configurações globais do plugin são modificadas.

Duplicate Post
O plugin Duplicate Post permite aos usuários
clonar posts de qualquer tipo.
O Simple History registra quando um clone de um post ou uma página é criado.

Beaver Builder
O plugin Beaver Build é um criador de páginas para WordPress que acrescenta um flexível criador de página to tipo arrasta e solta à parte pública de seu website WordPress.
O Simple History vai registrar quando um layout ou modelo do Beaver Builder for salvo, ou quando as configurações do plugins forem salvas.

Feed RSS com as alterações

Há também um feed RSS das alterações, para que você acompanhe as mudanças feitas via seu leitor RSS favorito no celular, tablet ou computador.

É um plugin que é bom ter em sites em que várias pessoas estão envolvidas na edição do conteúdo.

O plugin também funciona bem nas instalações de multisites do WordPress (em inglês).

Exemplos de uso

Acompanhe o que outras pessoas estão fazendo:
“Alguém já fez alguma coisa hoje? Ah, a Sarah enviou o novo comunicado de imprensa e criou um artigo sobre ele. Ótimo! Agora eu não preciso fazer isso.”

Ou numa depuração:
“O site está meio lento desde ontem. Alguém fez alguma coisa diferente? … Ah, o Steven ativou o ‘plugin-ruim-x’, só pode ser isso.”

Uma API para que você possa acrescentar seu próprios eventos ao registro de auditagem

Se você é desenvolvedor de tema ou plugin e quiser adicionar seus próprios eventos ao Simple History, pode fazê-lo usando a função SimpleLogger(), dessa maneira:

<?php

if ( function_exists("SimpleLogger") ) {

        // Most basic example: just add some information to the log
        SimpleLogger()->info("This is a message sent to the log");

        // A bit more advanced: log events with different severities
        SimpleLogger()->info("User admin edited page 'About our company'");
        SimpleLogger()->warning("User 'Jessie' deleted user 'Kim'");
        SimpleLogger()->debug("Ok, cron job is running!");

}
?>

Consulte outros exemplos na pasta de exemplos.

Traduções/idiomas

Até agora, o Simple History foi traduzido para:

  • sueco;
  • alemão;
  • polonês;
  • dinamarquês;
  • holandês;
  • finlandês;
  • francês;
  • russo.

Eu gostaria de ver o Simple History traduzido para mais idiomas! Se você quiser traduzir o Simple History para o seu idioma, leia sobre como isso é feito no manual do Polyglots (em inglês).

Colabore no GitHub

Development of this plugin takes place at GitHub. Please join in with feature requests, bug reports, or even pull requests!
https://github.com/bonny/WordPress-Simple-History

Doações

Imagens de tela

  • The log view + it also shows the filter function in use - the log only shows event that are of type post and pages and media (i.e. images & other uploads), and only events initiated by a specific user.

  • The Post Quick Diff feature will make it quick and easy for a user of a site to see what updates other users have done to posts and pages.

  • When users are created or changed you can see details on what have changed.

  • Events have context with extra details - Each logged event can include useful rich formatted extra information. For example: a plugin install can contain author info and a the url to the plugin, and an uploaded image can contain a thumbnail of the image.

  • Click on the IP address of an entry to view the location of for example a failed login attempt.

  • See even more details about a logged event (by clicking on the date and time of the event).

  • A chart with some quick statistics is available, so you can see the number of events that has been logged each day. A simple way to see any uncommon activity, for example an increased number of logins or similar.

FAQ

Posso acrescentar meus próprios eventos ao registro?

Sim. Veja o arquivo de exemplos.

É possível excluir usuários do registro?

Sim, você exclui usuários por função ou e-mail usando o filtro simple_history/log/do_log.
Veja o arquivo de exemplo.

Os eventos são armazenados por quanto tempo?

Os eventos no registro são armazenados por 60 dias por padrão. Eventos anteriores serão removidos.

Avaliações

23 de junho de 2022
This seems to meet the needs of some financial-services clients who want to keep track of edits to their websites. It is also useful just in general to check on who-did-what-and-when. Also, when you have a host like WPengine that doesn't want your WordPress site to have Revisions enabled, this provides some level of "anecdotal backup" for peace of mind. And, when your client says they didn't mess up that page, you've got pretty clear evidence that, yes, they did: An audit trail from the point of login to the moment when they deleted that important Post they can't find for some reason. The 3.3.0 version keeps a log for a month, which is generally sufficient, but apparently with some code you can add to your functions.php in a theme, you can increase this duration. The reporting is really easy to understand, and there is a certain amount of filtering if you want to see only specific events, such as failed logins.
14 de junho de 2022
I can only recommand to use this plugin. He is simply amazing, been using it on many websites. If you see my message, do not hesitate much further, i was looking for a good history plugin and i found this gem. Thanks to the developper, you rock.
10 de maio de 2022
Simples? somente no nome! Extremamente completo e útil, minhas modificações de CSS em outro plugin estão aparecendo perfeitamente! Obrigado!
5 de maio de 2022
I do a lot of WordPress sites for clients who then "maintain" them. It is SO helpful to be able to look and see what each person on a team did if there is an issue so I can pinpoint the training deficit and repair it!
Leia todas as 340 avaliações

Colaboradores e desenvolvedores

“Simple History – user activity log, audit tool” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

“Simple History – user activity log, audit tool” foi traduzido para 16 localizações. Agradecemos aos tradutores por suas contribuições.

Traduzir “Simple History – user activity log, audit tool” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

3.3.0 (May 2022)

  • Fixed: Error when third party plugin passed arguments to the get_avatar filter. #288
  • Changed: If Gravatars are disabled in WordPress (“Discussion” -> “Show Avatars” is unchecked) then Simple History respects this and also does not show any user avatars in the activity feed. A new filter has been added that can be used to override this: simple_history/show_avatars. #288
  • Update translations. Props @kebbet. See https://docs.simple-history.com/translate for information how to update or add translations of the plugin.
  • Use constant() function to get constant values. Makes some linting errors go away.
  • Remove languages folder. #287

3.2.0 (February 2022)

  • Refactored detection of user profile updates. Order of updated user fields are now shown in the same order as they are in the edit user screen. Also the texts are updated to be more user friendly. And those “show toolbar”-messages that showed up at random times should be gone too. 🤞
  • Added: Creation and deletion (revoke) of Application Passwords are now logged.
  • Added: Role changes from users overview page are now logged.
  • Fixed: Password reset links was always attributed to “Anonymous web user”, even those that was sent from the users listing in the WordPress admin area.
  • Fixed: Increase contrast ratio on some texts.
  • Changed: sh_d() now tell you if a value is integer or numeric string or an empty string.
  • Changed: The log message “Found an update to WordPress” had a dot in it. No other log message had a dot so the dot is no more.

3.1.1 (January 2022)

  • Fixed: Error when uploading images when using WordPress 5.7.0 or earlier.

3.1.0 (January 2022)

  • Fixed: Use user selected language instead of selected site language when loading languages for JavaScript libraries. (#232)
  • Fixed: Theme deletions are now logged again. (#266)
  • Fixed: Theme installs are now logged again. (#265)
  • Fixed: Plugin deletions are now logged again. (#247, #122)
  • Fixed: Images and other attachments are now logged correctly when being inserted in the Block Editor.
  • Fixed: Some PHP notice messages in post logger.
  • Updated: JavaScript library TimeAgo updated to 1.6.7 from 1.6.3.
  • Added: Log when an admin verifies that the site admin adress is valid using the Site Admin Email Verification Screen that was added in WordPress 5.3. (#194, #225)
  • Added: Option “All days” to date range filter dropdown. (#196)
  • Added: Media and other attachments now display the post they were uploaded to, if any. (#274)
  • Added: Add class static variables $dbtable and $dbtable_contexts that contain full db name (existing class constants DBTABLE and DBTABLE_CONTEXTS needed to be prefixed manually).
  • Added: Plugin installs now save required version of PHP and WordPress.
  • Changed: Plugin install source is now assumed to be “web” by default.
  • Changed: Attachment updates are no longer logged from post logger since the media/attachment logger takes care of it.
  • Changed: Function sh_d() now does not escape output when running from CLI.
  • Removed: Plugin source files-listing removed from plugin installs, because the listing was incomplete, plus some more fields that no longer were able to get meaninful values (plugin rating, number or ratings, etc.).

3.0.0 (January 2022)

  • Fixed: Used wrong text domain for some strings in Limit Login Attempts logger.
  • Fixed: Post logger now ignores changes to the _encloseme meta key.
  • Fixed: Readme text loaded from GitHub repo is now filtered using wp_kses().
  • Fixed: Links in readme text loaded from GitHub repo now opens in new window/tab by default (instead of loading in the modal/thickbox iframe).
  • Added: Logger messages is shown when clicking number of message strings in settings debug tab.
  • Added: Num occasions in RSS feed is now wrapped in a <p> tag.
  • Removed: “Simple Legacy Logger” is removed because it has not been used for a very long time.
  • Removed: “GitHub Plugin URI” header removed from index file, so installs of Simple History from Github using Git Updater are not supported from now on.
  • Removed: Box with translations notice removed from sidebar because it did not work properly when using different languages as site language and user language.
  • Internal: Code formatting to better match the WordPress coding standards, code cleanup, text escaping. (#243)

2.43.0 (October 2021)

  • Fixed: PHP notices on menu save when there are ACF fields attached (#235)

  • Fixed: array_map and reset cause warning in PHP 8 (#263)

2.42.0 (April 2021)

  • Fixed: Quick diff table had to wrong sizes of the table cells. (#246)

2.41.2 (March 2021)

  • Fixed: Error when running on PHP version 7.2 or lower.

2.41.1 (March 2021)

  • Fixed: Get information for correct IP Address when multiple IP addresses are shown.

2.41.0 (March 2021)

  • Fixed: Error when visiting settings screen on PHP 8.
    Fixes https://wordpress.org/support/topic/simple-history-fatal-error/.
    #239

2.40.0 (March 2021)

  • Changed: IP address is now also shown when a user successfully logs in.
    Previously the IP address was only shown for failed login attempts. Note that the IP address/es of all events are always logged and can be seen in the “context data” table that is displayed when you click the date and time of an event.
    #233

  • Added: If multiple IP addresses are detected, for example when a website is running behind a proxy or similar, all IP addresses are now shown for failed and sucessful logins.

  • Added: Filter simple_history/row_header_output/display_ip_address that can be used to control when the IP address/es should be visible in the main log. By default sucessful and failed logins are shown.

  • Added: Show message when failing to get IP address due to for example ad blocker. IPInfo.io is for example blocked in the EasyList filter list that for example Chrome extension uBlock Origin uses.

  • Added: Filter simple_history/row_header_output/template that controls the output of the header row in the main event log.

2.39.0 (January 2021)

  • Added: Logging of events that a user performs via the WP Crontrol plugin (requires WP Crontrol version 1.9.0 or later). Simple History will log when cron events are added, edited, deleted, and manually ran, and when cron schedules are added and deleted. Props https://github.com/johnbillion.

2.38.0 (November 2020)

  • Changed: It’s now possible to log things before the after_setup_theme hook by using the SimpleLogger() function. Before this change calling SimpleLogger() before after_setup_theme, or on after_setup_theme with a prio smaller than 10, would result in a fatal error (Fatal error: Uncaught Error: Class 'SimpleLogger' not found). Props https://github.com/JoryHogeveen.

  • Changed: More custom post types that use the block editor (“Gutenberg”) should now have their changes logged. Props https://github.com/claytoncollie.

2.37.2 (September 2020)

  • Fixed: Even more code that was to new for PHP 5.6 (I do have some tests, I just didn’t look at them ¯\_(ツ)_/¯.)

2.37.1 (September 2020)

  • Fixed: Some code was to new for PHP 5.6.

2.37 (September 2020)

  • Added: Enabling or disabling plugin auto-updates is now logged.
  • Added: Function sh_d() that echoes any number of variables to the screen.
  • Fixed: User logouts did show “other” instead of username of user logging out. Fixes #206, https://wordpress.org/support/topic/suspicious-logged-out-events/, https://wordpress.org/support/topic/login-logout-tracking/.
  • Updated: lots of code to be formatted more according to PSR12.

2.36 (August 2020)

  • Fix plus and minus icons in quick diff.
  • Add filter for Post Logger context. (https://github.com/bonny/WordPress-Simple-History/pull/216)
  • Add link to my GitHub sponsors page in the sidebar.
  • Misc code cleanups and smaller fixes.

2.35.1 (August 2020)

Minor update to correct readme.

2.35 (August 2020)

You can now sponsor the developer of this plugin at GitHub.

Fixed

  • Fix PHP Warning when bulk editing items in the Redirection plugin. Fixes https://github.com/bonny/WordPress-Simple-History/issues/207, https://wordpress.org/support/topic/crashes-with-redirection-plugin/. (https://github.com/bonny/WordPress-Simple-History/commit/e8be051c4d95e598275a7ba17a01f76008eb7a5b)

Changed

  • Welcome text updated to be more correct. (https://github.com/bonny/WordPress-Simple-History/pull/211)

2.34 (June 2020)

Changed

  • Use flexbox for history page layout, so if all dropins are disabled then the content area
    spans the entire 100 % width (#199).

  • Adjust style of pagination to match WordPress core pagination.

2.33.2 (January 2020)

  • Fix history displaying blank white space on smaller screens. Fixes https://wordpress.org/support/topic/viewing-the-log-on-a-iphone/.

2.33.1 (January 2020)

  • Was just an internal test version.

2.33 (November 2019)

  • Melhor compatibilidade com o editor de blocos Gutenberg.
  • Corrige o URL para o qual se redireciona após limpeza do registro. Corrige #123.
  • Corrige o registro do histórico no painel deixando muito espaço em branco e às vezes se sobrepondo a outros widgets do painel.
    Corrige https://wordpress.org/support/topic/dashboard-block-cut-off/, https://wordpress.org/support/topic/simple-history-v2-32/, e https://wordpress.org/support/topic/new-update-not-working-10/.
  • Corrige a ordem de parâmetros na função join do PHP 7.4.
  • Atualiza o link de doação. Agora é https://www.paypal.me/eskapism.
    Se você gosta do plugin, considere fazer uma doação.
    Uma quantia muito pequena me faz muito mais feliz do que nada! 😉

2.32 (August 2019)

  • Corrige erro no registrador do Beaver Builder. Corrige https://wordpress.org/support/topic/conflict-with-beaver-builder-plugin-4/.
  • Adiciona o filtro simple_history/admin_location que torna possível mover a página principal do menu o painel para qualquer outra página de menu, por exemplo o menu Ferramentas. Corrige https://github.com/bonny/WordPress-Simple-History/issues/140. Exemplo de uso do filtro:

    php
    // Move a sub-página de registro do Simple History, do menu do "Painel" para o menu "Ferramentas".
    add_filter('simple_history/admin_location', function ($location) {
    $location = 'tools';
    return $location;
    });

  • Torna mais fácil estender o registrador SimplePostLogger tornando $old_post_data protegido, em vez de privado. https://github.com/bonny/WordPress-Simple-History/pull/173.

  • Tenta usar nome de taxonomia no lugar do slug de taxonomy quando mostra adições ou alterações de termos. Corrige https://github.com/bonny/WordPress-Simple-History/issues/164.
  • Corrige erro de alerta quando mostra a entrada no registro para um termo que foi excluído.
  • Remove a antiga e obsoleta função testlog_old().
  • Move as funções de ajuda para seu arquivo próprio.
  • Move o código de depuração para seu próprio arquivo.
  • Eleva a versão exigida do PHP para 5.6.20 (mesma versão que o próprio WordPress exige).

2.31 (May 2019)

2.30 (April 2019)

  • Adiciona uma melhor compatibilidade com o Gutenberg.
  • Não registra ações agendadas do WooCommerce. Corrige https://wordpress.org/support/topic/cant-use-flooded-with-deleted-scheduled-action-woocommerce-webhooks/.
  • Armazena se a senha do post foi criada, excluída ou alterada.
  • Armazena se uma entrada no registro vem da API REST. Armazenado no contexto do evento como _rest_api_request.
  • Confere se mensagens do registrador existem e são array antes de tentar usar.
  • Eleva a versão exigida no readme para 5.4. É simplesmente muito difícil manter o plugin compatível com PHP inferior ao PHP versão 5.4.
  • Atualizações para algumas strings de tradução.

2.29.2 (January 2019)

  • Correção para (o ainda excelente) plugin Advanced Custom Fields 5.7.10 que remove a função _acf_get_field_by_id que esse plugin usava. Corrige https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-_acf_get_field_by_id/.

2.29.1 (December 2018)

  • Corrige outro alerta do PHP 7.3. Deve corrigir https://wordpress.org/support/topic/php-7-3-compatibility-3/.

2.29 (December 2018)

  • Torna a mensagem de boas-vindas ao registro traduzível.
  • Adiciona dois filtros para tornar mais fácil controlar via filtros se um registrador e a combinação registrador + mensagem deva ser registrada. – "simple_history/log/do_log/{$this->slug}" controla se alguma mensagem para um registrador específico deva ser registrada. Simplesmente retorne falso para esse filtro para desativar todos os registros para esse registrador. – "simple_history/log/do_log/{$this->slug}/{$message_key}" controla se uma mensagem específica para um registrador específico deva ser registrada. Simplesmente retorne falso para esse filtro para desativar todos os registros para esse registrador. – Exemplos de código para os dois filtros acima:


    // Desativa o registro de toda mensagem de usuário, i.e. qualquer mensagem do registrador SimpleUserLogger.
    add_filter( ‘simple_history/log/do_log/SimpleUserLogger’, ‘__return_false’ );

        // Disable logging of updated posts, i.e. the message "post_updated" from the logger SimplePostLogger.
        add_filter( 'simple_history/log/do_log/SimplePostLogger/post_updated', '__return_false' );
            `
    

  • add_filter(‘simple_history/log/do_log/SimpleUserLogger’, ‘__return_false’);

  • Corrige notificação no registrador do plugin Redirection, já que o plugin Redirection pode ter múltiplos tipos de destino. Crédito a @MaximVanhove.
  • Corrige alerta devido a mensagens que faltavam no registro vindas do registrador de categorias/tags. Crédito a @JeroenSormani.
  • Corrige alerta na próxima versão do PHP, PHP 7.3.

2.28.1 (September 2018)

  • Remove uma mensagem de depuração que tinha ficado no código.

2.28 (September 2018)

  • Sempre mostra tempo e às vezes data antes de cada evento, além da data relativa. Corrige https://wordpress.org/support/topic/feature-request-granular-settings-changes-detailed-timestamp/.
  • Usa a função do próprio WordPress (wp_privacy_anonymize_ip, disponível desde o WordPress versão 4.9.6) para anonimizar endereços IP, em vez de nossa própria classe.
  • Atualiza timeago.js

2.27 (August 2018)

  • Fix notice errors when syncing an ACF field group. Fixes https://github.com/bonny/WordPress-Simple-History/issues/150.
  • Fix notice error when trying to read plugin info for a plugin that no longer exists or has changed name. Fixes https://github.com/bonny/WordPress-Simple-History/issues/146.
  • Always load the SimpleLogger logger. Fixes https://github.com/bonny/WordPress-Simple-History/issues/129.
  • Make more texts translatable.
  • Show plugin slug instead of name when translations are updated and a plugin name is not provided by the upgrader. This can happen when a plugin is using an external update service, like EDD.
  • Group translation updates in the log. Useful because sometimes you update a lot of translations at the same time and the log is full of just those messages.

2.26.1 (July 2018)

  • Fix 5.3 compatibility.

2.26 (July 2018)

  • Add support for the Jetpack plugin. To begin with, activation and deactivation of Jetpack modules is logged.
  • Add logging of translation updates, so now you can see when a plugin or a theme has gotten new translations. Fixes https://github.com/bonny/WordPress-Simple-History/issues/147.
  • Fix notice in Advanced Custom Fields logger when saving an ACF options page.
    Fixes https://wordpress.org/support/topic/problem-with-acf-options-pages/, https://wordpress.org/support/topic/problem-with-recent-version-and-acf/, https://github.com/bonny/WordPress-Simple-History/issues/145.

2.25 (July 2018)

  • Add wp_cron_current_filter to event context when something is logged during a cron job. This can help debugging thing like posts being added or deleted by some plugin and you’re trying to figure out which plugin it is.
  • Fix for event details not always being shown.
  • Fix for sometimes missing user name and user email in export file.

2.24 (July 2018)

  • Added user login and user email to CSV export file.
  • Fix notice in postlogger when a post was deleted from the trash.
  • Clear database in smaller steps. Fixes https://github.com/bonny/WordPress-Simple-History/issues/143.
  • Fix notice in ACF logger due to misspelled variable. Fixes https://wordpress.org/support/topic/problem-with-recent-version-and-acf/.

2.23.1 (May 2018)

  • Remove some debug messages that was outputed to the error log. Fixes https://wordpress.org/support/topic/errors-in-php-log-since-v2-23/.
  • Fix error beacuse function ucwords() does not allow a second argument on PHP versions before 5.4.32. Fixes https://wordpress.org/support/topic/error-message-since-last-update/, https://wordpress.org/support/topic/errors-related-to-php-version/.
  • Added new function sh_ucwords() that works like ucwords() but it also works on PHP 5.3.

2.23 (May 2018)

  • Acrescenta registro de funções relacionadas à privacidade e GDPR no WordPress. Algumas dos novos recursos relacionados à privacidade no WordPress 4.9.6 que são registrados: – A página de política de privacidade é criada ou alterada para uma nova página. – A exportação dos dados de privacidade é requerida para um usuário, quando essa requisição é confirmada pelo usuário, e quando os dados da requisição são baixados por um admin ou enviados por e-mail ao usuário. – Apagar Dados Pessoais: Uma requisição é adicionada para o usuário ter seus dados pessoais apagados, o usuário confirma a remoção dos dados, e quando a exclusão dos dados do usuário é feita.
  • Fix error when categories changes was shown in the log. Fixes https://wordpress.org/support/topic/php-notice-undefined-variable-term_object/.
  • Fix error when a ACF Field Group was saved.
  • Fix error when the IP address anonymization function tried to anonymize an empty IP adress. Could happen when for example running wp cron locally on your server.
  • Fix error when calling the REST API with an API endpoint with a closure as the callback. Fixes https://github.com/bonny/WordPress-Simple-History/issues/141.
  • Rewrote logger loading method so now it’s possible to name your loggers in a WordPress codings standard compatible way. Also: made a bit more code more WordPress-ish.
  • The post types in the skip_posttypes filter are now also applied to deleted posts.
  • Add function sh_get_callable_name() that returns a human readable name for a callback.

2.22.1 (May 2018)

  • Fix for some REST API Routes not working, for example when using WPCF7. Should fix https://wordpress.org/support/topic/errorexception-with-wpcf7/ and similar.

2.22 (May 2018)

  • IP addresses are now anonymized by default. This is mainly done because of the General Data Protection Regulation (GDPR)
    Both IPv4 and IPv6 addresses will be anonymized and the IP addresses are anonymized to their network ID.
    So for example the IPv4 address 192.168.123.124 is anonymized to 192.168.123.0 and
    the IPv6 address 2a03:2880:2110:df07:face:b00c::1 is anonymized by default to 2610:28:3090:3001::.

  • Added filter simple_history/privacy/anonymize_ip_address than can be used to disable ip address anonymization.

  • Added function sh_error_log() to easily log variables to the error log. Probably only of interest to developers.

  • Fixed logging for plugin Redirection. The logging of URL redirects and so on stopped working some while back because the Redirection plugin started using the WP REST API. But now it’s working again!

2.21.1 (May 2018)

  • Make sure support for Advanced Custom Fields is activated for all users – and not only for the developer of the plugin 😉

2.21 (May 2018)

  • Added support for Advanced Custom Fields (ACF): when a ACF Field or ACF Field Group is created or modified or deleted you will now get more details in the activity feed.
  • Changes to taxonomies/categories/tags now include a link to the modified term and to the category that the term belongs to.
  • The post types in the skip_posttypes filter are now also applied to trashed and untrashed posts (not only post edits, as before).
  • Don’t log Jetpack sitemap updates. (Don’t log updates to posttypes jp_sitemap, jp_sitemap_master and jp_img_sitemap, i.e. the post types used by Jetpack’s Sitemap function.) Should fix https://wordpress.org/support/topic/jetpack-sitemap-logging/.
  • Don’t log the taxonomies post_translations or term_translations, that are used by Polylang to store translation mappings. That contained md5-hashed strings and was not of any benefit (a separate logger for Polylang will come soon anyway).
  • Fix notice in theme logger because did not check if $_POST['sidebar'] was set. Fixes https://github.com/bonny/WordPress-Simple-History/issues/136.
  • Fix thumbnail title missing notice in post logger.
  • Fix PHP warning when a plugin was checked by WordPress for an update, but your WordPress install did not have the plugin folder for that plugin.
  • Fix unexpected single-quotations included in file name in Internet Explorer 11 (and possibly other versions) when exporting CSV/JSON file.
  • Fix filter/search log by specific users not working. Fixes https://wordpress.org/support/topic/show-activity-from-other-authors-only/.
  • Fix a notice in SimpleOptionsLogger.
  • Better CSS styling on dashboard.
  • Add filter simple_history/post_logger/post_updated/context that can be used to modify the context added by SimplePostLogger.
  • Add filter simple_history/post_logger/post_updated/ok_to_log that can be used to skip logging a post update.
  • Add filter simple_history/categories_logger/skip_taxonomies that can be used to modify what taxonomies to skip when logging updates to taxonomy terms.

2.20 (November 2017)

  • Add logging of post thumbnails.
  • Use medium size of image attachments when showing uploaded files in the log. Previously a custom size was used, a size that most sites did not have and instead the full size image would be outputed = waste of bandwidth.
  • Make image previews smaller because many uploaded images could make the log a bit to long and not so quick to overview.
  • Update Select2 to latest version. Fixes https://wordpress.org/support/topic/select2-js-is-outdated/.
  • Show a message if user is running to old WordPress version, and don’t continue running the code of this plugin.
    Should fix stuff like https://wordpress.org/support/topic/simple-history-i-cannot-login/.
  • Fix an error with PHP 7.1.

2.19 (November 2017)

  • Add filter simple_history/user_can_clear_log. Return false from this filter to disable the “Clear blog” button.
  • Remove static keyword from some methods in SimpleLogger, so now calls like SimpleLogger()->critical('Doh!'); works.
  • Don’t show link to WordPress updates if user is not allowed to view the updates page.
  • Fix notice error in SimpleOptionsLogger.
  • Fix for fatal errors when using the lost password form in Membership 2. Fixes https://wordpress.org/support/topic/conflict-with-simple-history-plugin-and-php-7/.
  • Code (a little bit) better formatted according to WordPress coding standard.

2.18 (August 2017)

  • Set from_term_description correctly, fixes https://github.com/bonny/WordPress-Simple-History/issues/127.
  • Add filter simple_history/post_logger/skip_posttypes.
  • Don’t log post type jetpack_migation because for some users that post type filled the log. Fixes https://wordpress.org/support/topic/updated-jetpack_migration-sidebars_widgets/.

2.17 (June 2017)

  • Fix search date range inputs not showing correctly.
  • Change the message for when a plugin is deactivated due to an error. Now the plugin slug is included, so you know exactly what plugin has been deactivated. Also the reason for the deactivation is included (one of “Invalid plugin path”, “Plugin file does not exist”, or “The plugin does not have a valid header.”).
  • Added more filters to log message. Now filter simple_history_log_debug exists, together with filters for all other 7 log levels. So you can use simple_history_log_{loglevel} where {loglevel} is any of emergency, alert, critical, error, warning, notice, info or debug.
  • Add support for logging the changing of “locale” on a user profile, something that was added in WordPress 4.7.
  • Add sidebar box with link to the settings page.
  • Don’t log when old posts are deleted from the trash during cron job wp_scheduled_delete.
  • HHVM is not used for any tests any longer because PHP 7 and Travis not supporting it or something. I dunno. Something like that.
  • When “development debug mode” is activated also log current filters.
  • Show an admin warning if a logger slug is longer than 30 chars.
  • Fix fatal error when calling log() method with null as context argument.

2.16 (May 2017)

  • Added WP-CLI command for Simple History. Now you can write wp simple-history list to see the latest entries from the history log. For now list is the only available command. Let me know if you need more commands!
  • Added support for logging edits to theme files and plugin files. When a file is edited you will also get a quick diff on the changes,
    so you can see what CSS styles a client changed or what PHP changes they made in a plugin file.
  • Removed the edit file logger from the plugin logger, because it did not always work (checked wrong wp path). Intead the new Theme and plugins logger mentioned above will take care of this.

2.15 (May 2017)

  • Use thumbnail version of PDF preview instead of full size image.
  • Remove Google Maps image when clicking IP address of failed login and similar, because Google Maps must be used with API key.
    Hostname, Network, City, Region and Country is still shown.
  • Fix notice in available updates logger.
  • Fix notice in redirection logger.

2.14.1 (April 2017)

  • Fix for users running on older PHP versions.

2.14 (April 2017)

  • Added support for plugin Duplicate Post.
    Now when a user clones a post or page you will se this in the history log, with links to both the original post and the new copy.
  • Removed log level info from title in RSS feed
  • Make date dropdown less “jumpy” when loading page (due to select element switching to Select2)
  • Only add filters for plugin Limit Login Attempts if plugin is active. This fixes problem with Limit Login Attempts Reloaded and possibly other forks of the plugin.
  • Debug page now displays installed plugins.

Changelog for 2016 and earlier