Skip to content

Instantly share code, notes, and snippets.

@trepmal
Created December 24, 2013 01:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trepmal/8107530 to your computer and use it in GitHub Desktop.
Save trepmal/8107530 to your computer and use it in GitHub Desktop.
<?php
//Plugin Name: Debug Edit Freedom
//Description: Edit underscore-prefixed and other protected meta from the admin
if ( defined( 'WP_DEBUG' ) && WP_DEBUG )
add_filter( 'is_protected_meta', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment