{"id":15937172,"url":"https://github.com/log1x/allow-unsafe-links","last_synced_at":"2026-05-04T05:44:34.134Z","repository":{"id":62518628,"uuid":"188407237","full_name":"Log1x/allow-unsafe-links","owner":"Log1x","description":"Prevents WordPress from automatically adding noopener and noreferrer to outbound links.","archived":false,"fork":false,"pushed_at":"2019-05-24T11:17:30.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T08:17:08.809Z","etag":null,"topics":["affiliate-tracking","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/Log1x/allow-unsafe-links","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Log1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-24T11:03:40.000Z","updated_at":"2024-04-12T11:11:53.000Z","dependencies_parsed_at":"2022-11-02T10:31:40.451Z","dependency_job_id":null,"html_url":"https://github.com/Log1x/allow-unsafe-links","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fallow-unsafe-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fallow-unsafe-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fallow-unsafe-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fallow-unsafe-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/allow-unsafe-links/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070781,"owners_count":20878581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["affiliate-tracking","wordpress","wordpress-plugin"],"created_at":"2024-10-07T05:00:45.492Z","updated_at":"2026-05-04T05:44:34.086Z","avatar_url":"https://github.com/Log1x.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allow Unsafe Links\n\n[![Latest Stable Version](https://poser.pugx.org/log1x/allow-unsafe-links/v/stable)](https://packagist.org/packages/log1x/allow-unsafe-links) \n[![Total Downloads](https://poser.pugx.org/log1x/allow-unsafe-links/downloads)](https://packagist.org/packages/log1x/allow-unsafe-links)\n\nStarting in WordPress 4.7.4 and 5.1, WordPress now automatically adds `rel=\"noopener noreferrer` to external links that open in a new window (e.g. `_blank`) when adding a link from TinyMCE (4.7.4) as well as on post save (5.1). With the introduction of it passing your content through a filter on post save, it is no longer possible to publish a post without the tags even when manually removing them.\n\nWhile I 100% endorse this behavior deeming the potential [security concerns](https://developers.google.com/web/tools/lighthouse/audits/noopener) when not including these tags (especially `noopener`), this can lead to unwanted behavior on URL's such as affiliate and referral links due to a variety of networks poor implementation of tracking.\n\nIf you are not using an advertiser network that has the potential issues stated above, **you should not be using this**. Otherwise, please use this with caution and for the safety of you and your users, please add `rel=\"noopener noreferrer\"` on outbound links manually that are not affiliate-related.\n\n## Installation\n\n### Composer \n\n```sh\n$ composer require log1x/allow-unsafe-links\n```\n\n### Manually\n\n[Download](https://github.com/log1x/allow-unsafe-links/archive/v1.0.1.zip) and install the plugin as you would any other WordPress plugin.\n\n## Usage\n\nOnce activated, you're good to go. For existing posts, you will need to go through and manually remove the `rel=\"noopener noreferrer\"` on your URL's and re-save.\n\nThis can also be done via [`wp-cli`](https://wp-cli.org/) using `search-replace` such as:\n\n```sh\n$ wp search-replace ' rel=\"noopener noreferrer\" ' ''\n```\n\n## License\n\nAllow Unsafe Links is provided under the [MIT License](https://github.com/Log1x/allow-unsafe-links/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fallow-unsafe-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog1x%2Fallow-unsafe-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fallow-unsafe-links/lists"}