WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47954, comment 4


Ignore:
Timestamp:
09/03/2019 02:27:10 AM (2 years ago)
Author:
donmhico
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47954, comment 4

    initial v1  
    11Here's an initial code that should perform the second approach @Otto42 suggested.
    22> Second thought: when these change, email the admin user about them, with a revert link that will work no matter what.
    3 Feel free to try this code by adding in the theme's `functions.php`. It still needs unit testing and putting the code to a much suited place. I'll try to put it as a patch later.
     3Feel free to try this code by adding in your theme's `functions.php`. It still needs unit testing and putting the code to a much suited place. I'll try to put it as a patch later.
    44{{{#!php
    55<?php