ソースを参照

:sparkles: added serious cache-ing for the API

tags/0.9.0
j 5年前
コミット
8308f53526
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      vue-theme/functions.php

+ 2
- 2
vue-theme/functions.php ファイルの表示

@@ -8,8 +8,8 @@
8 8
  // Load WP stuff as needed
9 9
  // https://www.smashingmagazine.com/2018/10/headless-wordpress-decoupled/#improving-performance-decoupled-json-approach
10 10
 define( 'SHORTINIT', true );
11
-$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
12
-// require_once filter_var( $parse_uri[0] . 'wp-load.php', FILTER_SANITIZE_STRING );
11
+// $parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
12
+// require_once( $parse_uri[0] . 'wp-load.php' );
13 13
 
14 14
 $path = $_SERVER['DOCUMENT_ROOT'];
15 15
 

読み込み中…
キャンセル
保存