-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
435 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Deploy to WordPress.org | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
tag: | ||
name: New release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: WordPress Plugin Deploy | ||
uses: 10up/action-wordpress-plugin-deploy@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | ||
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | ||
SLUG: ft-rockpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,36 @@ | ||
!function(e,o,n){window.HSCW=o,window.HS=n,n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={},t.readyQueue=[],t.config=function(e){this.userConfig=e},t.ready=function(e){this.readyQueue.push(e)},o.config={docs:{enabled:!1,baseUrl:""},contact:{enabled:!0,formId:"65c982c9-e34c-11e6-8789-0a5fecc78a4d"}};var r=e.getElementsByTagName("script")[0],c=e.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://djtflbt20bdde.cloudfront.net/",r.parentNode.insertBefore(c,r)}(document,window.HSCW||{},window.HS||{}); | ||
!(function (e, t, n) { | ||
function a() { | ||
var e = t.getElementsByTagName("script")[0], | ||
n = t.createElement("script"); | ||
(n.type = "text/javascript"), | ||
(n.async = !0), | ||
(n.src = "https://beacon-v2.helpscout.net"), | ||
e.parentNode.insertBefore(n, e); | ||
} | ||
if ( | ||
((e.Beacon = n = function (t, n, a) { | ||
e.Beacon.readyQueue.push({ method: t, options: n, data: a }); | ||
}), | ||
(n.readyQueue = []), | ||
"complete" === t.readyState) | ||
) | ||
return a(); | ||
e.attachEvent | ||
? e.attachEvent("onload", a) | ||
: e.addEventListener("load", a, !1); | ||
})(window, document, window.Beacon || function () {}); | ||
|
||
HS.beacon.config({ | ||
modal: false, | ||
color: '#333333', | ||
topics: rockpress_beacon_vars.topics, | ||
instructions: 'Please fill out this form and RockPress Support will get back to you as soon as possible.', | ||
attachment: false, | ||
poweredBy: false, | ||
icon: 'message', | ||
window.Beacon("init", "93088d45-1d39-4102-ae81-1a983a725c2d"); | ||
|
||
Beacon("prefill", { | ||
name: rockpress_beacon_vars.customer_name, | ||
email: rockpress_beacon_vars.customer_email, | ||
"RockPress Version": rockpress_beacon_vars.rockpress_ver, | ||
"WordPress Version": rockpress_beacon_vars.wp_ver, | ||
"PHP Version": rockpress_beacon_vars.php_ver, | ||
}); | ||
|
||
HS.beacon.ready(function() { | ||
HS.beacon.identify({ | ||
name: rockpress_beacon_vars.customer_name, | ||
email: rockpress_beacon_vars.customer_email, | ||
'RockPress Version' : rockpress_beacon_vars.ccbpress_ver, | ||
'WordPress Version' : rockpress_beacon_vars.wp_ver, | ||
'PHP Version' : rockpress_beacon_vars.php_ver, | ||
}); | ||
Beacon("config", { | ||
hideFABLabelOnMobile: true, | ||
enableFabAnimation: false, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,6 +198,9 @@ public function cleanup() { | |
} | ||
} | ||
|
||
// Flush the object cache. | ||
wp_cache_flush(); | ||
|
||
return true; | ||
|
||
} | ||
|
Oops, something went wrong.