From a93bfd1106d0ef469becd4a8e25b5d1c0dfdbcd6 Mon Sep 17 00:00:00 2001 From: Nick Freear Date: Thu, 19 Jan 2017 11:20:44 +0000 Subject: [PATCH] Bug #18, `work-in-progress` filter plugin; [iet:7791015][iet:7800747] * Plus, Guide-case study flag, in `Simple_Menu` plugin --- simple_menu.php | 3 +++ work-in-progress-filter.php | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 work-in-progress-filter.php diff --git a/simple_menu.php b/simple_menu.php index 31d1436..a78bdd6 100644 --- a/simple_menu.php +++ b/simple_menu.php @@ -103,6 +103,8 @@ protected function display_content( $sub_menu, $menu_id, $classes, $show_comment object_id )) ?> object_id, $show_comments ) ?> + +

@@ -110,6 +112,7 @@ protected function display_content( $sub_menu, $menu_id, $classes, $show_comment View more
+
Return to top of page
diff --git a/work-in-progress-filter.php b/work-in-progress-filter.php new file mode 100644 index 0000000..d4cbf29 --- /dev/null +++ b/work-in-progress-filter.php @@ -0,0 +1,38 @@ +' . $wp_post->post_content . ''; + } + + return $content; + } + +} +$plugin = new Work_In_Progress_Filter_Plugin();