### Eclipse Workspace Patch 1.0
#P Shortcode Patch Development
Index: wp-includes/shortcodes.php
===================================================================
--- wp-includes/shortcodes.php	(revision 18627)
+++ wp-includes/shortcodes.php	(working copy)
@@ -43,6 +43,21 @@
 $shortcode_tags = array();
 
 /**
+ * Retrieving array of all shortcodes previously run and saved to point to a output a default shortcode
+ * which does nothing more that return the $content passed to the shortcode.
+ */
+add_option('wp_shortcodes', array(), '', 'yes');
+$shortcode_tags = get_option('wp_shortcodes');
+
+/**
+ * Blank shortcode which outputs nothing but the $content for all shortcodes whose code no longer exists.
+ * 
+ * @param array $atts
+ * @param string $content
+ */
+function unregistered_shortcode($atts = null, $content = null) { return $content; }
+
+/**
  * Add hook for shortcode tag.
  *
  * There can only be one hook for each shortcode. Which means that if another
@@ -95,6 +110,11 @@
 
 	if ( is_callable($func) )
 		$shortcode_tags[$tag] = $func;
+		$shortcode_registrations = $shortcode_tags;
+		foreach($shortcode_registrations as $k => $v) {
+			$shortcode_registrations[$k] = "unregistered_shortcode";
+		}
+		update_option('wp_shortcodes', $shortcode_registrations);	
 }
 
 /**
