diff --git a/README.md b/README.md index fdb3cb5..ce68984 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# fipf 2024 +# WORDPRESS PLUGIN MODEL - this project uses submodules recursively, so after cloning you need to do : `git submodule update --init --recursive` diff --git a/plugins/fipf_wp_plugin/utils/console_log.php b/plugins/fipf_wp_plugin/utils/console_log.php deleted file mode 100644 index 3b32e03..0000000 --- a/plugins/fipf_wp_plugin/utils/console_log.php +++ /dev/null @@ -1,11 +0,0 @@ -' . $js_code . ''; - echo $js_code; -} - -?> - diff --git a/plugins/fipf_wp_plugin/html/index.html b/plugins/wp_model_plugin/html/index.html similarity index 100% rename from plugins/fipf_wp_plugin/html/index.html rename to plugins/wp_model_plugin/html/index.html diff --git a/plugins/fipf_wp_plugin/html/index2.html b/plugins/wp_model_plugin/html/index2.html similarity index 100% rename from plugins/fipf_wp_plugin/html/index2.html rename to plugins/wp_model_plugin/html/index2.html diff --git a/plugins/fipf_wp_plugin/html/templates/presentation.html b/plugins/wp_model_plugin/html/templates/presentation.html similarity index 100% rename from plugins/fipf_wp_plugin/html/templates/presentation.html rename to plugins/wp_model_plugin/html/templates/presentation.html diff --git a/plugins/fipf_wp_plugin/fipf_wp_hooks.php b/plugins/wp_model_plugin/plugin_hooks.php similarity index 73% rename from plugins/fipf_wp_plugin/fipf_wp_hooks.php rename to plugins/wp_model_plugin/plugin_hooks.php index 2d117eb..ad7664c 100644 --- a/plugins/fipf_wp_plugin/fipf_wp_hooks.php +++ b/plugins/wp_model_plugin/plugin_hooks.php @@ -1,6 +1,6 @@ console.log(' . $json_output . ');'; + echo $js_code; +} + + +?> diff --git a/plugins/fipf_wp_plugin/utils/create_html.php b/plugins/wp_model_plugin/utils/create_html.php similarity index 100% rename from plugins/fipf_wp_plugin/utils/create_html.php rename to plugins/wp_model_plugin/utils/create_html.php diff --git a/wordpress_docker b/wordpress_docker index 846a410..e1c2d6c 160000 --- a/wordpress_docker +++ b/wordpress_docker @@ -1 +1 @@ -Subproject commit 846a41063ec205c889bf1a08779ea4bd8aa4d9c6 +Subproject commit e1c2d6c64a330543bd51755dfd023a1adc60aae2