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
<?php | |
function change_version($pattern, $version) { | |
// Iterate over each file and its patterns in the pattern array | |
foreach ($pattern as $file => $patterns) { | |
// Check if the file exists before proceeding | |
if (file_exists($file)) { | |
// Get the file content | |
$content = file_get_contents($file); |
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
{ | |
"name": "wp-simple-pay-lite", | |
"title": "WP Simple Pay Lite for Stripe", | |
"description": "Add high conversion Stripe Checkout forms to your WordPress site and start accepting payments in minutes. **Lite Version**", | |
"version": "4.10.0", | |
"license": "GPL-2.0-or-later", | |
"homepage": "https://wpsimplepay.com/", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/wpsimplepay/wp-simple-pay-lite" |
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
<?php | |
// enqueue these scripts and styles before admin_head | |
wp_enqueue_script( 'jquery-ui-dialog' ); // jquery and jquery-ui should be dependencies, didn't check though... | |
wp_enqueue_style( 'wp-jquery-ui-dialog' ); | |
?> | |
<!-- The modal / dialog box, hidden somewhere near the footer --> | |
<div id="my-dialog" class="hidden" style="max-width:800px"> | |
<h3>Dialog content</h3> | |
<p>This is some terribly exciting content inside this dialog. Don't you agree?</p> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Home</title> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<style> | |
body { | |
font-family: sans-serif; | |
} |
This file has been truncated, but you can view the full file.
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
(function(Qi,Pu){typeof exports=="object"&&typeof module<"u"?Pu(exports):typeof define=="function"&&define.amd?define(["exports"],Pu):(Qi=typeof globalThis<"u"?globalThis:Qi||self,Pu(Qi.labelbaker=Qi.labelbaker||{}))})(this,function(Qi){"use strict";const Pu="";var Xx=(A,t,e)=>{if(!t.has(A))throw TypeError("Cannot "+e)},Im=(A,t,e)=>{if(t.has(A))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(A):t.set(A,e)},Tu=(A,t,e)=>(Xx(A,t,"access private method"),e),Yx=Math.PI/180;function Jx(){return typeof window<"u"&&({}.toString.call(window)==="[object Window]"||{}.toString.call(window)==="[object global]")}const is=typeof global<"u"?global:typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:{},Wt={_global:is,version:"8.4.2",isBrowser:Jx(),isUnminified:/param/.test(function(A){}.toString()),dblClickWindow:400,getAngle(A){return Wt.angleDeg?A*Yx:A},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseLis |
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
#!/usr/bin/env sh | |
# Original author: Michalis Georgiou <[email protected]> | |
# Modified by Andrew http://www.webupd8.org <[email protected]> | |
# Current version by Kassius Iacchus https://github.com/iacchus/ | |
# Depends on: `wget` | |
# | |
# Install `wget` on Debian/Ubuntu with: | |
# apt install wget |
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
{ | |
"plugins": ["."], | |
"config": { | |
"WP_DEBUG": true, | |
"WP_DEBUG_LOG": true, | |
"SCRIPT_DEBUG": true, | |
"WP_DEBUG_DISPLAY": true, | |
"WP_PHP_BINARY": "php" | |
}, | |
"mappings": { |
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
version: "3.7" | |
services: | |
traefik: | |
image: traefik:v2.0 | |
command: --providers.docker | |
ports: | |
- "80:80" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:rw | |
web1: |
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
version: "3.3" | |
services: | |
db: | |
container_name: 'wordpress-database' | |
image: 'mysql:5.7' | |
volumes: | |
- './database/mysql:/var/lib/mysql' | |
ports: | |
- 18766:3306 | |
environment: |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
NewerOlder