Make WordPress Core


Ignore:
Timestamp:
04/28/2025 04:45:50 PM (3 months ago)
Author:
jorbin
Message:

Update Packages for 6.8.1

This includes the following changes:

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

File:
1 edited

Legend:

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

    r59775 r60199  
    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.