Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show draft and published Sponsors in sponsorship agreement dropdown #1349

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

daledupreez
Copy link

I was helping organise a local WordCamp, and we tripped over a situation where the Sponsorship Agreement doc generator only lists published sponsors. However, the handbook recommends that sponsors are only published after they have made payment. But that normally follows well after a sponsorship agreement has been signed. This changes makes it possible to generate sponsorship agreements for draft Sponsor posts.

How to test the changes in this Pull Request:

I wasn't able to get a Docker setup working on my machine, but this is a pretty straightforward change to the get_posts() arguments. So I have not been able to test this myself.

  1. Ensure that you have a test system with a Sponsor set as a draft. (You can create one via the Sponsors -> Add New menu on the left.)
  2. Navigate to the Docs section in the left nav.
  3. Select "Sponsorship Agreement" in the dropdown and click on the "Next" button.
  4. Expand the "Sponsor" dropdown, and verify that your draft sponsor is visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant