Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Extensibility: Add publish panels support for plugins #6798
Continues work started by @c-shultz in #5795. To make it easier to proceed I moved those changes to the upstream repository. Sorry, for losing commits history @c-shultz and thanks for your initial work which made this change very easy.
How has this been tested?
Code to paste into your browser: https://gist.github.com/gziolo/fd8141f2cde7fcb1b513c09eea45d27f.
Types of changes
New feature (non-breaking change which adds functionality).
referenced this pull request
May 17, 2018
I tested the PrePublish with the follwing code block and it worked well:
Regarding post publish it also worked well but only when post publish panel appears e.g.: scheduled posts. I think we may need to add a mechanism that allows plugins to change the rules of when post publish appears so they can make the post publish appear even in more common publishing situations.
Yes, this was confusing also for me. I don't know the details why it works how it works, but it would be nice to be able to change it.
It's a regression. You should always see the post publish panel. It gets immediately closed when publish a post in here: