- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.1k
 
Ticket 56780 #3851
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
      
      
            petitphp
  wants to merge
  10
  commits into
  WordPress:trunk
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
petitphp:ticket/56780
  
      
      
   
  
    
  
  
  
 
  
      
    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
                    Ticket 56780 #3851
Changes from all commits
      Commits
    
    
            Show all changes
          
          
            10 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      a117a89
              
                Update `block_template_part` to expand shortcodes in template parts
              
              
                petitphp 711d3af
              
                Expand test cases
              
              
                petitphp 189be9a
              
                Fix tests DocBlock formatting
              
              
                petitphp 2a81f49
              
                Merge branch 'trunk' into ticket/56780
              
              
                 7e3b231
              
                Merge branch 'trunk' into ticket/56780
              
              
                 a2ce3aa
              
                Tests: Switch `loading` and `decoding` attributes.
              
              
                 79adc0f
              
                Tests: Improve docs and method names.
              
              
                 0b5babb
              
                Tests: Use `get_echo()` for brevity.
              
              
                 1941241
              
                Tests: Use a closure for the shortcode callback.
              
              
                 4ce610b
              
                Move `global $wp_embed` and document its usage.
              
              
                 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      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
    
  
  
    
              
        
          
          
            18 changes: 18 additions & 0 deletions
          
          18 
        
  tests/phpunit/data/themedir1/block-theme/parts/template-part-shortcode.html
  
  
      
      
   
        
      
      
    
  
    
      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
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <!-- wp:group {"tagName":"header","layout":{"type":"flex","flexWrap":"wrap"}} --> | ||
| <header id="masthead" class="wp-block-group"> | ||
| <h4>wptexturize</h4> | ||
| <p>'cause today's effort makes it worth tomorrow's "holiday"...</p> | ||
| <h4>convert_smilies</h4> | ||
| <p>:)</p> | ||
| <h4>shortcode_unautop (shortcode wrapped in paragraph)</h4> | ||
| <p>[test_shortcode]_unautop</p> | ||
| <h4>wp_filter_content_tags</h4> | ||
| <img width="408" height="287" src="https://placekitten.com/408/287"> | ||
| <h4>do_shortcode</h4> | ||
| <!-- wp:shortcode --> | ||
| [test_shortcode]_shortcode_block | ||
| <!-- /wp:shortcode --> | ||
| <h4>$wp_embed->autoembed</h4> | ||
| https://youtube.com/shorts/_H4vwkGvWjE?feature=share | ||
| </header> | ||
| <!-- /wp:group --> | 
  
    
      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
    
  
  
    
              
  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.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixarntz Do you have any idea how this will effect fetch priority or other image