google / google/site-kit-wp

Update `Module_With_Tag` and `Module_Tag`

Open
#8,117 0 comments 0 reactions 1 assignee Claimed by @zutigrm View on GitHub
Type: Enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
384
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Feature Description

Update `Module_With_Tag` to include `get_tag()` method which returns `Module_Tag` instance.

Update `Module_Tag` to have `get_comment_text_before` and `get_comment_text_before` methods for returning translatable string placed in comment above module tag. For more info check this [comment](https://github.com/google/site-kit-wp/pull/8098#discussion_r1459435627)

---------------

_Do not alter or remove anything below. The following sections will be managed by moderators only._

## Acceptance criteria

*

## Implementation Brief

* [ ]

### Test Coverage

*

## QA Brief

*

## Changelog entry

*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.