From 1a08be5090c598310f5725a6cf6b4befed8a03c6 Mon Sep 17 00:00:00 2001 From: chiara aiola Date: Thu, 13 Jun 2024 14:21:40 +0200 Subject: [PATCH 1/2] DontExtractStandard.xml file creation --- WordPress/Docs/PHP/DontExtractStandard.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 WordPress/Docs/PHP/DontExtractStandard.xml diff --git a/WordPress/Docs/PHP/DontExtractStandard.xml b/WordPress/Docs/PHP/DontExtractStandard.xml new file mode 100644 index 0000000000..dc03e8ac42 --- /dev/null +++ b/WordPress/Docs/PHP/DontExtractStandard.xml @@ -0,0 +1,33 @@ + + + + + + + + "My title", + "content" => "My content", + "ID" => 123 +); +my_extract( $var_array, EXTR_OVERWRITE ); + ]]> + + + "My title", + "content" => "My content", + "ID" => 123 +); +extract( $var_array, EXTR_OVERWRITE ); + ]]> + + + From c9c9d3d36862292bcd76897684bc60c3d82876e9 Mon Sep 17 00:00:00 2001 From: Chiara Aiola Date: Wed, 19 Jun 2024 15:47:45 +0200 Subject: [PATCH 2/2] Update DontExtractStandard.xml fix incomplete description of invalid use case description --- WordPress/Docs/PHP/DontExtractStandard.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/Docs/PHP/DontExtractStandard.xml b/WordPress/Docs/PHP/DontExtractStandard.xml index dc03e8ac42..721cdaaa8a 100644 --- a/WordPress/Docs/PHP/DontExtractStandard.xml +++ b/WordPress/Docs/PHP/DontExtractStandard.xml @@ -19,7 +19,7 @@ $var_array = array( my_extract( $var_array, EXTR_OVERWRITE ); ]]> - + "My title",