Make WordPress Core


Ignore:
Timestamp:
03/28/2024 02:27:40 AM (11 months ago)
Author:
desrosj
Message:

Editor: Merge Editor bug fixes ahead of 6.5 RC4.

This merges several high priority bug fixes for the editor ahead of WordPress 6.5:

Props youknowriad, annezazu, mcsf, jsnajdr, mmaattiiaass, get_dave, scruffian, mikachan, grantmkin, andraganescu, scruffian, antosguillamot, fabiankaegy, huzaifaalmesbah, krupajnanda, colorful-tones, liviopv, mamaduka, kim88, poena, peterwilsoncc, wildworks, swissspidy, desrosj, jorbin.
Fixes #60315.

File:
1 edited

Legend:

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

    r57851 r57888  
    14731473    }
    14741474
     1475    /**
     1476     * Skip meta generation when consumers intentionally update specific Navigation fields
     1477     * and omit the content update.
     1478     */
     1479    if ( ! isset( $post->post_content ) ) {
     1480        return $post;
     1481    }
     1482
    14751483    /*
    14761484     * We run the Block Hooks mechanism to inject the `metadata.ignoredHookedBlocks` attribute into
Note: See TracChangeset for help on using the changeset viewer.