Make WordPress Core


Ignore:
Timestamp:
04/28/2025 09:50:40 PM (2 months ago)
Author:
jorbin
Message:

Update Packages for 6.8.1 in trunk.

This includes the following changes:

This was done in the 6.8 branch in [60199]. Since trunk's packages have not yet been updated for 6.9, this will allow for bug fixes in the 6.8 branch to also be available to people testing trunk.

Props wildworks, 0mirka00, sourav08, mamaduka, megane9988, jorbin, dsawyers, iamkingsleyf, soean, sc0ttkclark, presstoke, yogeshbhutkar, joen, joedolson, talldanwp, jarekmorawski, yogeshbhutkar, fabiankaegy, justlevine, desrosj.
Fixes #63366.

File:
1 edited

Legend:

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

    r59775 r60205  
    2727    }
    2828
    29     if ( ! post_type_supports( $block->context['postType'], 'author' ) ) {
     29    if ( isset( $block->context['postType'] ) && ! post_type_supports( $block->context['postType'], 'author' ) ) {
    3030        return '';
    3131    }
Note: See TracChangeset for help on using the changeset viewer.