Make WordPress Core

Ticket #45880: edit-form-blocks.diff

File edit-form-blocks.diff, 402 bytes (added by atachibana, 7 years ago)

Added string check

  • edit-form-blocks.php

     
    189189                                        'css' => wp_remote_retrieve_body( $response ),
    190190                                );
    191191                        }
    192                 } else {
     192                } elseif( $style ) {
    193193                        $file = get_theme_file_path( $style );
    194194                        if ( file_exists( $file ) ) {
    195195                                $styles[] = array(