• Resolved ptomislav

    (@ptomislav)


    Installing the plugin loads ~40 scripts from wp-includes on every page load, due to the dependencies in gs_pin_gutenberg_boilerplate_block() function.

    The issue is in the hook
    add_action( 'enqueue_block_assets', 'gs_pin_gutenberg_boilerplate_block' );

    Please change to
    add_action( 'enqueue_block_editor_assets', 'gs_pin_gutenberg_boilerplate_block' );
    so it’s loaded only in the Gutenberg Editor.

Viewing 1 replies (of 1 total)
  • Plugin Contributor GS Plugins

    (@gsplugins)

    Hi @ptomislav

    Thanks for the concern.
    Lately released new version (1.2.2) with your recommendation.

    Please check & let us know if you find any other issue/s.

    Keep in touch.

    Thanks a ton again ??

Viewing 1 replies (of 1 total)
  • The topic ‘Fix the enqueue function’ is closed to new replies.