From 6d1f6bbae8c1ab6dd1eb3a996a74e7845794487a Mon Sep 17 00:00:00 2001 From: Nic-Sevic <47717887+Nic-Sevic@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:52:34 -0700 Subject: [PATCH 1/2] Add: documentation for FileName sniff --- WordPress/Docs/Files/FileNameStandard.xml | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 WordPress/Docs/Files/FileNameStandard.xml diff --git a/WordPress/Docs/Files/FileNameStandard.xml b/WordPress/Docs/Files/FileNameStandard.xml new file mode 100644 index 0000000000..6d6f45333a --- /dev/null +++ b/WordPress/Docs/Files/FileNameStandard.xml @@ -0,0 +1,32 @@ + + + + + + + -my-term.inc +echo somefile.inc +echo class-testsample.inc +echo other-punctuation.inc +echo general-template.php + ]]> + + + _term.inc. +echo SomeFile.inc +echo testsample-unit-2.inc +echo other+punctuation#.inc +echo general.php + ]]> + + + From 4f4f54135738d4d9caeda87d0aa9f687428f1f19 Mon Sep 17 00:00:00 2001 From: Nic-Sevic <47717887+Nic-Sevic@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:22:32 -0700 Subject: [PATCH 2/2] fix: syntax issues --- WordPress/Docs/Files/FileNameStandard.xml | 38 +++++++++++++---------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/WordPress/Docs/Files/FileNameStandard.xml b/WordPress/Docs/Files/FileNameStandard.xml index 6d6f45333a..fc255cb848 100644 --- a/WordPress/Docs/Files/FileNameStandard.xml +++ b/WordPress/Docs/Files/FileNameStandard.xml @@ -1,31 +1,35 @@ - - + + + -my-term.inc -echo somefile.inc -echo class-testsample.inc -echo other-punctuation.inc -echo general-template.php +taxonomy-my-term.inc +somefile.inc +class-testsample.inc +other-punctuation.inc +general-template.php ]]> _term.inc. -echo SomeFile.inc -echo testsample-unit-2.inc -echo other+punctuation#.inc -echo general.php +taxonomy-my_term.inc. +SomeFile.inc +testsample-unit-2.inc +other+punctuation#.inc +general.php ]]>