Plugin Directory

Changeset 3083558 for classic-editor


Ignore:
Timestamp:
05/08/2024 08:33:25 PM (23 months ago)
Author:
ironprogrammer
Message:

classic-editor add admin notice to blueprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classic-editor/assets/blueprints/blueprint.json

    r3065779 r3083558  
    1919                "activate": true
    2020            }
     21        },
     22        {
     23            "step": "writeFile",
     24            "path": "/wordpress/wp-content/mu-plugins/playground-notice.php",
     25            "data": "<?php add_action( 'admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>This is a live preview of <strong>Classic Editor</strong>, powered by <a href=\"https://wordpress.org/playground/\" target=\"_blank\">WordPress Playground</a>.</p></div>'; } );"
    2126        }
    2227    ]
Note: See TracChangeset for help on using the changeset viewer.