Miguel пре 10 месеци
родитељ
комит
1ac182b798

+ 1 - 0
grammer/functions.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Grammer functions and definitions

+ 1 - 0
grammer/patterns/footer.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: footer

+ 1 - 0
grammer/patterns/header.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: header

+ 1 - 0
grammer/patterns/home.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: home

+ 1 - 0
grammer/patterns/index.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: index

+ 1 - 0
grammer/patterns/simple-header-with-image.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: simple-header-with-image

+ 1 - 0
layover/functions.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Layover functions and definitions

+ 1 - 0
layover/patterns/404.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: 404

+ 1 - 0
layover/patterns/comments.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Comments

+ 1 - 0
layover/patterns/footer.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: footer

+ 1 - 0
layover/patterns/header.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: header

+ 1 - 0
layover/patterns/hidden-no-results-content.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Hidden No Results Content

+ 1 - 0
layover/patterns/home.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: home

+ 2 - 2
theme-utils.mjs

@@ -8,8 +8,8 @@ import progressbar from 'string-progressbar';
 import semver from 'semver';
 
 const remoteSSH = 'wpcom-sandbox';
-const sandboxPublicThemesFolder = '/home/wpdev/public_html/wp-content/themes/pub';
-const sandboxRootFolder = '/home/wpdev/public_html/';
+const sandboxPublicThemesFolder = '/home/wpcom/public_html/wp-content/themes/pub';
+const sandboxRootFolder = '/home/wpcom/public_html/';
 const glotPressScript = '~/public_html/bin/i18n/create-glotpress-project-for-theme.php';
 const isWin = process.platform === 'win32';
 const coreThemes = ['twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen', 'twentynineteen', 'twentytwenty', 'twentytwentyone', 'twentytwentytwo', 'twentytwentythree', 'twentytwentyfour'];

+ 1 - 0
wp-dos/functions.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * WP-DOS functions and definitions

+ 1 - 0
wp-dos/patterns/404.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: 404

+ 1 - 0
wp-dos/patterns/archive.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: archive

+ 1 - 0
wp-dos/patterns/comments.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Comments

+ 1 - 0
wp-dos/patterns/footer.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: footer

+ 1 - 0
wp-dos/patterns/header.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: header

+ 1 - 0
wp-dos/patterns/hidden-no-results-content.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: Hidden No Results Content

+ 1 - 0
wp-dos/patterns/home.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: home

+ 1 - 0
wp-dos/patterns/index.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: index

+ 1 - 0
wp-dos/patterns/page.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: page

+ 1 - 0
wp-dos/patterns/search.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: search

+ 1 - 0
wp-dos/patterns/single.php

@@ -1,3 +1,4 @@
+<?php declare( strict_types = 1 ); ?>
 <?php
 /**
  * Title: single