{"id":13534728,"url":"https://github.com/liquidweb/wp-orphans","last_synced_at":"2026-01-04T20:50:35.298Z","repository":{"id":72633098,"uuid":"137838231","full_name":"liquidweb/wp-orphans","owner":"liquidweb","description":"WP-CLI command to automatically detect orphaned media files","archived":false,"fork":false,"pushed_at":"2018-06-19T04:04:08.000Z","size":76,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-03-25T07:08:10.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liquidweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-19T04:03:27.000Z","updated_at":"2023-06-14T10:17:55.000Z","dependencies_parsed_at":"2023-04-15T22:06:00.197Z","dependency_job_id":null,"html_url":"https://github.com/liquidweb/wp-orphans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fwp-orphans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fwp-orphans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fwp-orphans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fwp-orphans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidweb","download_url":"https://codeload.github.com/liquidweb/wp-orphans/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246734853,"owners_count":20825210,"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":[],"created_at":"2024-08-01T08:00:37.861Z","updated_at":"2026-01-04T20:50:35.242Z","avatar_url":"https://github.com/liquidweb.png","language":"PHP","funding_links":[],"categories":["WP-CLI Commands and Packages"],"sub_categories":[],"readme":"WP Orphans\n==========\n\nLocate and remove orphaned media from the WordPress media library.\n\n[![Build Status](https://travis-ci.org/liquidweb/wp-orphans.svg?branch=master)](https://travis-ci.org/liquidweb/wp-orphans)\n\nQuick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)\n\n## Using\n\nTo locate orphaned media — files in your uploads directory that aren't recognized within WordPress as attachments — you may run the following command.\n```\n$ wp media find-orphans\n```\n\nThis will locate orphaned media. If you wish to automatically remove these files, you may use the `--cleanup` flag to automatically purge the orphaned media from the filesystem.\n\n## Installing\n\nInstalling this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with `wp cli update`.\n\nOnce you've done so, you can install this package with:\n\n    wp package install git@github.com:liquidweb/wp-orphans.git\n\n## Contributing\n\nWe appreciate you taking the initiative to contribute to this project.\n\nContributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.\n\nFor a more thorough introduction, [check out WP-CLI's guide to contributing](https://make.wordpress.org/cli/handbook/contributing/). This package follows those policy and guidelines.\n\n### Reporting a bug\n\nThink you’ve found a bug? We’d love for you to help us get it fixed.\n\nBefore you create a new issue, you should [search existing issues](https://github.com/liquidweb/wp-orphans/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.\n\nOnce you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/liquidweb/wp-orphans/issues/new). Include as much detail as you can, and clear steps to reproduce if possible. For more guidance, [review our bug report documentation](https://make.wordpress.org/cli/handbook/bug-reports/).\n\n### Creating a pull request\n\nWant to contribute a new feature? Please first [open a new issue](https://github.com/liquidweb/wp-orphans/issues/new) to discuss whether the feature is a good fit for the project.\n\nOnce you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See \"[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)\" for details specific to working on this package locally.\n\n## Support\n\nGithub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidweb%2Fwp-orphans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidweb%2Fwp-orphans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidweb%2Fwp-orphans/lists"}