From 01388cbb8596b8da8e9e2db03d55dfca42273c10 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 27 Apr 2018 10:46:02 +0100 Subject: [PATCH] Build Tools: Fix the package plugin script (#6463) --- bin/get-vendor-scripts.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/get-vendor-scripts.php b/bin/get-vendor-scripts.php index 681e813409299..c3248152abb72 100755 --- a/bin/get-vendor-scripts.php +++ b/bin/get-vendor-scripts.php @@ -11,11 +11,17 @@ // Hacks to get lib/client-assets.php to load. define( 'ABSPATH', dirname( dirname( __FILE__ ) ) ); + /** * Hi, phpcs */ function add_action() {} +/** + * Hi, phpcs + */ +function wp_add_inline_script() {} + // Instead of loading script files, just show how they need to be loaded. define( 'GUTENBERG_LIST_VENDOR_ASSETS', true );