Allow to set cookie path when setting cookies
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- web-dev
Research direction
Start in assets/js/wp-consent-api.js at line 65, where the cookie path is hardcoded. Trace the cookie-setting entry point and determine how an optional path parameter should be passed; done means existing callers retain the root path while multisite subdirectory callers can use a custom path.
Written by the indexing model from the issue text.
Description
In multisite subdirectory mode, we need to have custom cookie path as per sub-site.
Currently the cookie path is hardcoded to "/" in this line: https://github.com/rlankhorst/wp-consent-level-api/blob/master/assets/js/wp-consent-api.js#L65
Need an optional param to allow setting path.
- Dominant language
- PHP
- Stars
- 92
- Forks
- 36
- Avg merge
- 2m
- Merged PRs (30d)
- 7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WordPress/wp-consent-level-api
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
WordPress/wp-consent-level-api#103 · 4 comments ·
-
Tagged releases Open
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
WordPress/wp-consent-level-api#50 · 10 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
WordPress/wp-consent-level-api#49 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
All issues in WordPress/wp-consent-level-api
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·