- 
                Notifications
    You must be signed in to change notification settings 
- Fork 172
Add a release page #407
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
          
     Open
      
      
            StevenDufresne
  wants to merge
  89
  commits into
  WordPress:trunk
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
StevenDufresne:try/release-page
  
      
      
   
  
    
  
  
  
 
  
      
    base: trunk
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
                
     Open
            
            Add a release page #407
Conversation
  
    
      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
    
  
  
    
    9c14634    to
    718e465      
    Compare
  
    0d01829    to
    03f8c50      
    Compare
  
    | @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 
                  
              
              
            
            
  
    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.