{"id":35624149,"url":"https://github.com/badasswp/make-post-dirty","last_synced_at":"2026-02-27T07:00:13.939Z","repository":{"id":319809736,"uuid":"1019431140","full_name":"badasswp/make-post-dirty","owner":"badasswp","description":"A useful tool for populating the editor title and content.","archived":false,"fork":false,"pushed_at":"2026-02-20T05:46:15.000Z","size":547,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-20T09:29:44.928Z","etag":null,"topics":["block","dirty","editor","gutenberg","plugin","post","wordpress"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/make-post-dirty/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badasswp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-14T10:08:46.000Z","updated_at":"2026-02-16T18:38:04.000Z","dependencies_parsed_at":"2025-10-28T03:18:00.914Z","dependency_job_id":null,"html_url":"https://github.com/badasswp/make-post-dirty","commit_stats":null,"previous_names":["badasswp/make-post-dirty"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/badasswp/make-post-dirty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badasswp%2Fmake-post-dirty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badasswp%2Fmake-post-dirty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badasswp%2Fmake-post-dirty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badasswp%2Fmake-post-dirty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badasswp","download_url":"https://codeload.github.com/badasswp/make-post-dirty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badasswp%2Fmake-post-dirty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29887137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T05:38:26.446Z","status":"ssl_error","status_checked_at":"2026-02-27T05:38:25.235Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["block","dirty","editor","gutenberg","plugin","post","wordpress"],"created_at":"2026-01-05T07:25:26.678Z","updated_at":"2026-02-27T07:00:13.933Z","avatar_url":"https://github.com/badasswp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# make-post-dirty\n\nA useful tool for populating the WP block editor __title__ and __content__.\n\n\u003cimg width=\"348\" height=\"275\" alt=\"make-post-dirty-screenshot\" src=\"https://github.com/user-attachments/assets/b5c89f02-ab68-4967-b9c0-4f49c93ef540\" /\u003e\n\n## Download\n\nDownload from [WordPress plugin repository](https://wordpress.org/plugins/make-post-dirty/).\n\nYou can also get the latest version from any of our [release tags](https://github.com/badasswp/make-post-dirty/releases).\n\n## Why Make Post Dirty?\n\nAs a WP engineer, you may often find yourself creating posts to test a feature you're working on. This can get very tiresome, especially if you always have to create a __title__ and __content__ for every single post just to enable you accurately test a new feature.\n\nThis plugin makes it super easy for you to populate the `title` and `content` of your new post, so that you can just focus on testing out your new feature. It's that simple!\n\nhttps://github.com/user-attachments/assets/e93a055c-b495-4719-ae26-45637bc4da64\n\n### Hooks\n\n#### `make_post_dirty_admin_fields`\n\nThis custom hook (filter) provides a way to filter the admin fields presented on the options page of the plugin.\n\n```php\nadd_filter( 'make_post_dirty_admin_fields', [ $this, 'custom_admin_fields' ] );\n\npublic function custom_admin_fields( $fields ): array {\n    $fields[] = [\n        'name'    =\u003e 'name_of_your_control',\n        'label'   =\u003e __( 'Control Label', 'your-text-domain' ),\n        'cb'      =\u003e [ $this, 'name_of_your_control_callback' ],\n        'page'    =\u003e 'make-post-dirty',\n        'section' =\u003e 'make-post-dirty-section',\n    ];\n\n    return $fields;\n}\n```\n\n**Parameters**\n\n- fields _`{array}`_ By default this will be an array containing key, value options for the control.\n\u003cbr/\u003e\n\n#### `make_post_dirty_settings`\n\nThis custom hook (filter) provides a way to customise the settings used by the notification bar.\n\n```php\nadd_filter( 'make_post_dirty_settings', [ $this, 'custom_bar_settings' ] );\n\npublic function custom_bar_settings( $settings ): array {\n    $settings['title'] = esc_html(\n        'The Amazing Great Gatsby...'\n    );\n\n    return $settings;\n}\n```\n\n**Parameters**\n\n- settings _`{array}`_ By default this will be an associative array containing key, value options of the settings used by the notification bar on the front-end.\n\u003cbr/\u003e\n\n## Contribute\n\nContributions are __welcome__ and will be fully __credited__. To contribute, please fork this repo and raise a PR (Pull Request) against the `master` branch.\n\n### Pre-requisites\n\nYou should have the following tools before proceeding to the next steps:\n\n- Composer\n- Yarn\n- Docker\n\nTo enable you start development, please run:\n\n```bash\nyarn start\n```\n\nThis should spin up a local WP env instance for you to work with at:\n\n```bash\nhttp://make-post-dirty.localhost:9525\n```\n\nYou should now have a functioning local WP env to work with. To login to the `wp-admin` backend, please use `admin` for username \u0026 `password` for password.\n\n__Awesome!__ - Thanks for being interested in contributing your time and code to this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadasswp%2Fmake-post-dirty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadasswp%2Fmake-post-dirty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadasswp%2Fmake-post-dirty/lists"}