|
16 | 16 | * unsupported markup, it aborts early to avoid unintentionally breaking |
17 | 17 | * the document. The HTML Processor should never break an HTML document. |
18 | 18 | * |
19 | | - * While the {@see WP_HTML_Tag_Processor} is a valuable tool for modifying |
| 19 | + * While the `WP_HTML_Tag_Processor` is a valuable tool for modifying |
20 | 20 | * attributes on individual HTML tags, the HTML Processor is more capable |
21 | 21 | * and useful for the following operations: |
22 | 22 | * |
|
47 | 47 | * |
48 | 48 | * Breadcrumbs represent the stack of open elements from the root |
49 | 49 | * of the document or fragment down to the currently-matched node, |
50 | | - * if one is currently selected. Call {@see WP_HTML_Processor::get_breadcrumbs} |
| 50 | + * if one is currently selected. Call WP_HTML_Processor::get_breadcrumbs() |
51 | 51 | * to inspect the breadcrumbs for a matched tag. |
52 | 52 | * |
53 | 53 | * Breadcrumbs can specify nested HTML structure and are equivalent |
|
121 | 121 | * |
122 | 122 | * @since 6.4.0 |
123 | 123 | * |
| 124 | + * @see WP_HTML_Tag_Processor |
124 | 125 | * @see https://html.spec.whatwg.org/ |
125 | 126 | */ |
126 | 127 | class WP_HTML_Processor extends WP_HTML_Tag_Processor { |
@@ -926,10 +927,11 @@ private function generate_implied_end_tags( $except_for_this_element = null ) { |
926 | 927 | * Closes elements that have implied end tags, thoroughly. |
927 | 928 | * |
928 | 929 | * See the HTML specification for an explanation why this is |
929 | | - * different from {@see WP_HTML_Processor::generate_implied_end_tags}. |
| 930 | + * different from generating end tags in the normal sense. |
930 | 931 | * |
931 | 932 | * @since 6.4.0 |
932 | 933 | * |
| 934 | + * @see WP_HTML_Processor::generate_implied_end_tags |
933 | 935 | * @see https://html.spec.whatwg.org/#generate-implied-end-tags |
934 | 936 | */ |
935 | 937 | private function generate_implied_end_tags_thoroughly() { |
@@ -1306,7 +1308,7 @@ public static function is_void( $tag_name ) { |
1306 | 1308 | /** |
1307 | 1309 | * Unlock code that must be passed into the constructor to create this class. |
1308 | 1310 | * |
1309 | | - * This class extends {@see WP_HTML_Tag_Processor}, which has a public class |
| 1311 | + * This class extends the WP_HTML_Tag_Processor, which has a public class |
1310 | 1312 | * constructor. Therefore, it's not possible to have a private constructor here. |
1311 | 1313 | * |
1312 | 1314 | * This unlock code is used to ensure that anyone calling the constructor is |
|
0 commit comments