Repository navigation
Add a release page - #407
Open
StevenDufresne wants to merge 89 commits into
Open
StevenDufresne wants to merge 89 commits into
StevenDufresne wants to merge 89 commits into
Conversation
StevenDufresne
force-pushed
the
try/release-page
branch
from
October 28, 2024 04:48
9c14634 to
718e465
Compare
StevenDufresne
force-pushed
the
try/release-page
branch
from
November 18, 2024 00:35
0d01829 to
03f8c50
Compare
Contributor
|
@StevenDufresne I think the CPT code is kinda-sorta functional, thought not really hooked up to anything yet. I've added a bin script you can use to (re)generate CPT entries for a specific plugin for testing purposes: Next step is to properly hook this up to the main Plugin Directory class, and add some internal and REST APIs. |
Not sure this logic is quite right, since I'm only creating the draft when the version number doesn't already exist as a release. I think this probably needs to be a revision # check, but the revision isn't yet stored for all releases; I'll look at that tomorrow.
… release Needs more testing. Not sure if having the 'date' part is a good idea.
The tag and version values are both stored in postmeta if needed
…ges. It might be ok to run it synchronously like this; otherwise I'll move it to an async job. The Plugin_Check class isn't quite complete yet. It's copied from the code in the upload handler shortcode; we should replace that with a call to the class when it's complete.
Includes the initial trunk commit log for the first release. Also gets the order correct, and should handle plugins with no releases yet. Thanks Steve for the suggestions!
bazza
pushed a commit
that referenced
this pull request
Dec 18, 2024
See #407 git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14311 74240141-8908-4e6f-9713-ba540dce6ec7
bazza
pushed a commit
that referenced
this pull request
Dec 18, 2024
See #343. See #407. git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14314 74240141-8908-4e6f-9713-ba540dce6ec7
mahmudurrahmanlabib
approved these changes
Sep 22, 2025
This was referenced Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related https://meta.trac.wordpress.org/ticket/7783.
This PR adds the "Releases" tab behind a feature flag
show_release_betaso we can work together on the site.TODO:
Everything seems to be working properly, however, there seems to be a race condition where the first view doesn't reliably display. You can reproduce it sometimes by loading the release page often. The content will not be displayed.