Make WordPress Core


Ignore:
Timestamp:
02/07/2025 03:44:07 PM (21 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 pre-Betas.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, joemcgill, youknowriad, swissspidy, sergiomdgomes, gziolo.
See #62887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/post-author.php

    r58187 r59775  
    2424
    2525        if ( empty( $author_id ) ) {
     26                return '';
     27        }
     28
     29        if ( ! post_type_supports( $block->context['postType'], 'author' ) ) {
    2630                return '';
    2731        }
Note: See TracChangeset for help on using the changeset viewer.