• Logs are filled with the error below.

    Scenario, enable Classic Editor / WooCommerce & HPOS feature. Latest of all the plugins. Load the edit order page.

    wp-content/plugins/classic-editor/classic-editor.php:667

    $edit_url = get_edit_post_link( $post->ID, 'raw' );

    This screen no longer has values set for the global/passed $post since HPOS, as such, this returns a null.

    $edit_url = add_query_arg( 'classic-editor__forget', '', $edit_url );

    Passing the null as the last param here, creates this endless log. Setting $edit_url to false if it’s empty fixes this.

    https://pastebin.com/8Hm4hc2G

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Deprecated Notice’ is closed to new replies.