Skip to content

Commit 6b4eeac

Browse files
committed
Un-ignore public methods
1 parent 07889cb commit 6b4eeac

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/wp-includes/html-api/class-wp-html-processor.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5203,7 +5203,6 @@ public function get_namespace(): string {
52035203
* $processor->get_tag() === null;
52045204
*
52055205
* @since 6.4.0
5206-
* @ignore
52075206
*
52085207
* @return string|null Name of currently matched tag in input HTML, or `null` if none found.
52095208
*/
@@ -5241,7 +5240,6 @@ public function get_tag(): ?string {
52415240
* but only if the self-closing flag is present in the syntax.
52425241
*
52435242
* @since 6.6.0 Subclassed for the HTML Processor.
5244-
* @ignore
52455243
*
52465244
* @return bool Whether the currently matched tag contains the self-closing flag.
52475245
*/
@@ -5266,7 +5264,6 @@ public function has_self_closing_flag(): bool {
52665264
* of the document without matching a token.
52675265
*
52685266
* @since 6.6.0 Subclassed for the HTML Processor.
5269-
* @ignore
52705267
*
52715268
* @return string|null Name of the matched token.
52725269
*/
@@ -5295,7 +5292,6 @@ public function get_token_name(): ?string {
52955292
* - `#funky-comment` when matched on a funky comment.
52965293
*
52975294
* @since 6.6.0 Subclassed for the HTML Processor.
5298-
* @ignore
52995295
*
53005296
* @return string|null What kind of token is matched, or null.
53015297
*/
@@ -5338,7 +5334,6 @@ public function get_token_type(): ?string {
53385334
* $p->get_attribute( 'class' ) === null;
53395335
*
53405336
* @since 6.6.0 Subclassed for HTML Processor.
5341-
* @ignore
53425337
*
53435338
* @param string $name Name of attribute whose value is requested.
53445339
* @return string|true|null Value of attribute or `null` if not available. Boolean attributes return `true`.
@@ -5374,7 +5369,6 @@ public function get_attribute( $name ) {
53745369
*
53755370
* @since 6.6.0 Subclassed for the HTML Processor.
53765371
* @since 6.9.0 Escapes all character references instead of trying to avoid double-escaping.
5377-
* @ignore
53785372
*
53795373
* @param string $name The attribute name to target.
53805374
* @param string|bool $value The new attribute value.
@@ -5388,7 +5382,6 @@ public function set_attribute( $name, $value ): bool {
53885382
* Remove an attribute from the currently-matched tag.
53895383
*
53905384
* @since 6.6.0 Subclassed for HTML Processor.
5391-
* @ignore
53925385
*
53935386
* @param string $name The attribute name to remove.
53945387
* @return bool Whether an attribute was removed.
@@ -5417,7 +5410,6 @@ public function remove_attribute( $name ): bool {
54175410
* $p->get_attribute_names_with_prefix( 'data-' ) === null;
54185411
*
54195412
* @since 6.6.0 Subclassed for the HTML Processor.
5420-
* @ignore
54215413
*
54225414
* @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2:ascii-case-insensitive
54235415
*
@@ -5432,7 +5424,6 @@ public function get_attribute_names_with_prefix( $prefix ): ?array {
54325424
* Adds a new class name to the currently matched tag.
54335425
*
54345426
* @since 6.6.0 Subclassed for the HTML Processor.
5435-
* @ignore
54365427
*
54375428
* @param string $class_name The class name to add.
54385429
* @return bool Whether the class was set to be added.
@@ -5445,7 +5436,6 @@ public function add_class( $class_name ): bool {
54455436
* Removes a class name from the currently matched tag.
54465437
*
54475438
* @since 6.6.0 Subclassed for the HTML Processor.
5448-
* @ignore
54495439
*
54505440
* @param string $class_name The class name to remove.
54515441
* @return bool Whether the class was set to be removed.
@@ -5458,7 +5448,6 @@ public function remove_class( $class_name ): bool {
54585448
* Returns if a matched tag contains the given ASCII case-insensitive class name.
54595449
*
54605450
* @since 6.6.0 Subclassed for the HTML Processor.
5461-
* @ignore
54625451
*
54635452
* @todo When reconstructing active formatting elements with attributes, find a way
54645453
* to indicate if the virtually-reconstructed formatting elements contain the
@@ -5486,7 +5475,6 @@ public function has_class( $wanted_class ): ?bool {
54865475
* // Outputs: "free <egg> lang-en "
54875476
*
54885477
* @since 6.6.0 Subclassed for the HTML Processor.
5489-
* @ignore
54905478
*/
54915479
public function class_list() {
54925480
return $this->is_virtual() ? null : parent::class_list();
@@ -5509,7 +5497,6 @@ public function class_list() {
55095497
* have an empty string (e.g. a comment with no contents).
55105498
*
55115499
* @since 6.6.0 Subclassed for the HTML Processor.
5512-
* @ignore
55135500
*
55145501
* @return string
55155502
*/
@@ -5533,7 +5520,6 @@ public function get_modifiable_text(): string {
55335520
* @see self::COMMENT_AS_PI_NODE_LOOKALIKE
55345521
*
55355522
* @since 6.6.0 Subclassed for the HTML Processor.
5536-
* @ignore
55375523
*
55385524
* @return string|null
55395525
*/
@@ -5548,7 +5534,6 @@ public function get_comment_type(): ?string {
55485534
* performance overhead it requires.
55495535
*
55505536
* @since 6.4.0
5551-
* @ignore
55525537
*
55535538
* @param string $bookmark_name Name of the bookmark to remove.
55545539
* @return bool Whether the bookmark already existed before removal.
@@ -5570,7 +5555,6 @@ public function release_bookmark( $bookmark_name ): bool {
55705555
* @throws Exception When unable to allocate a bookmark for the next token in the input HTML document.
55715556
*
55725557
* @since 6.4.0
5573-
* @ignore
55745558
*
55755559
* @param string $bookmark_name Jump to the place in the document identified by this bookmark name.
55765560
* @return bool Whether the internal cursor was successfully moved to the bookmark's location.
@@ -5787,7 +5771,6 @@ public function seek( $bookmark_name ): bool {
57875771
* the original HTML and cannot be used as bookmarks.
57885772
*
57895773
* @since 6.4.0
5790-
* @ignore
57915774
*
57925775
* @param string $bookmark_name Identifies this particular bookmark.
57935776
* @return bool Whether the bookmark was successfully created.
@@ -5808,7 +5791,6 @@ public function set_bookmark( $bookmark_name ): bool {
58085791
* Checks whether a bookmark with the given name exists.
58095792
*
58105793
* @since 6.5.0
5811-
* @ignore
58125794
*
58135795
* @param string $bookmark_name Name to identify a bookmark that potentially exists.
58145796
* @return bool Whether that bookmark exists.

0 commit comments

Comments
 (0)