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 | |
class CSSLLC_MacOS_Beachball { | |
public const IMG = 'data:image/webp;base64,UklGRkg6AABXRUJQVlA4WAoAAAAQAAAA+QEA+AEAQUxQSK8cAAABEYdt20gS/Ozuvf0XfLNOMtdARP8nAL3ftAkOV5IKqKgBmYTWQF248Zj6sPhMwCT4O7EOWEAHN3uMaQw1aMxj5b/jBtc2VAvFy16xRQv36cZdCowyAShyCYAKrqlkO1MDuucoDtpGkqROij/qve3n7gBExARUE0CzTttwHqg2LkLHXXzLkubcs8/cVBWnYe4UcFpDwtQp85H4X7ORH1V57n1xcdV0NzSXuOKKd6eEp93MVXNLFqudTd6zD6hJbLONJKnRHjYxkH+I8NJFzroREzABvrZtUyTV2rbjvKKqDXf3FlpxaQEGbXPg7kx3d/efO+ftLkRcsdACXZ1ZUbUWERPg17Zt141t2yq1DwFFzZhae3MJS2u9rPXZ6xNWWubytF6LDCIIYozRqwGQaZKRiNboRcQE+Nq2TZlTbdu2o6pud/tP9y+73P26GAxFgrtDRnD3wCAhnkAMQly7jn0iStKdPmsuIiZAxWmxK3bFvQLEalGYBRIC297ziLZaCAlUcIQkea48uGmbdrHqu67tuk7V1VW1xcWlxaXlXFsRGw4BJKGiIky4s+Zs+e575xfnF+cX56vV0WrZNUVFhfvl2d1r81OTU1NTk9NTk1OTI2MLy6xrEUmodAgZKbNSfftPnjh64OAH77+76HnqS/Njw8MjwyPDI8PTK6wZAi5UJIQsJ1Y29w0Pnzpx4sSePtZ2tYUQegQJIYKZsf7KwlB3b09v9+CsszqaHJUEyYis3DM2OjQ8cmyA1d0REiCesgBJshBYuzbV29P7tr1jktUhyFEBkCwngB2j5yfPj+5i1eSSgdjsAklEY7UmOtpft78eywDRXKrwJMsJaA5dnzo3sZeVyU1CVKtArhBZPdfd3v706ShACC5VcTIS0 |
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 | |
/** | |
* Plugin URI: https://gist.github.com/crstauf/0180b506e43f9e3d8730b995afb11849 | |
* Author: Caleb Stauffer | |
* Author URI: https://develop.calebstauffer.com | |
*/ | |
defined( 'WPINC' ) || die(); | |
if ( ! defined( 'INIT_GITHUB_ACTION_TOKEN' ) || ! constant( 'INIT_GITHUB_ACTION_TOKEN' ) ) { |
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 declare( strict_types=1 ); | |
/** | |
* Plugin name: CSSLLC Gravity Forms JavaScript Prepopulation | |
* Plugin URI: https://gist.github.com/crstauf/5b6da3b818221ec0b408ae70a1cca232 | |
* Description: Populate Gravity Forms with dynamic population via JavaScript. | |
* Author URI: https://develop.calebstauffer.com | |
* Author: Caleb Stauffer | |
* Version: 1.0 | |
*/ |
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
.icon--play { | |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231F1F1F' d='M255.7 446.3c-53.3.3-106.6-.4-159.8-3.3-17.4-1-34.7-2.5-50.4-11C35 426.3 27 418.4 22 407.2 13.2 388.6 10.5 369 9 349c-3.4-41.3-3.6-82.6-1.8-123.8 1-22 1.6-44 6.8-65.5 2-8.4 5-16.6 8.8-24.4C32 117 48 108 67.3 104c16.2-3 32.8-3 49.3-3.7 56-2.3 112-3.5 168-3 43 .6 86.2 1.7 129.3 4 13.2.6 26.6.8 39.3 5.5 17.2 6.4 30 17.2 37 34.7 6.6 16.8 9.2 34.2 10.6 52 3.8 48.7 4 97.3.7 146-1 16.3-2.2 32.7-6.5 48.8-9.7 37-32.8 51.5-66.7 53.8-36.2 2.5-72.5 3.8-108.8 4.3-21.3.2-42.7 0-64 0zM203.2 344L348 264.7l-144.8-79.3V344z'/%3E%3Cpath fill='%23FEFDFD' d='M203.2 344V185.5L348 264.8 203.2 344z'/%3E%3C/svg%3E"); | |
} | |
.icon--play:hover { | |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23DD2C28' d='M255.7 446.3c-53.3.3-106.6-.4-159.8-3.3-17.4-1-34.7-2.5-50.4-11C35 426.3 27 418.4 22 407.2 13.2 388.6 10.5 369 |
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 | |
/** | |
* Plugin Name: WP CLI Flush Cloudflare Cache | |
* Description: Register a WP CLI command to flush Cloudflare cache. | |
* Author: Caleb Stauffer | |
* Author URI: https://develop.calebstauffer.com | |
* Plugin URI: https://gist.github.com/crstauf/07725140a81b88f331dc8c3c76d8bf1d | |
*/ | |
if ( !defined( 'WP_CLI' ) || !WP_CLI ) |
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 | |
if ( !defined( 'WP_CLI' ) || !WP_CLI ) | |
return; | |
if ( !function_exists( 'wpcli_flush_cloudflare_cache' ) ) { | |
function wpcli_flush_cloudflare_cache( array $args, array $assoc_args ) : void { | |
$zone_id = WP_CLI\Utils\get_flag_value( $assoc_args, 'zone_id', constant( 'CLOUDFLARE_ZONE_ID' ) ); | |
$email_address = WP_CLI\Utils\get_flag_value( $assoc_args, 'email', constant( 'CLOUDFLARE_EMAIL_ADDRESS' ) ); |
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: Deploy to WP Engine | |
on: | |
push: | |
branches: [ production ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
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
#!/bin/bash | |
################################################################## | |
## Set GitHub username and personal access token and uncomment. ## | |
################################################################## | |
# GitHub username | |
# user= | |
# GitHub personal access token |
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
diff --git a/classes/ActionScheduler_ListTable.php b/classes/ActionScheduler_ListTable.php | |
index b680054..d12667e 100644 | |
--- a/classes/ActionScheduler_ListTable.php | |
+++ b/classes/ActionScheduler_ListTable.php | |
@@ -559,6 +559,11 @@ class ActionScheduler_ListTable extends ActionScheduler_Abstract_ListTable { | |
'search' => $this->get_request_search_query(), | |
); | |
+ if ( 'past-due' === $this->get_request_status() ) { | |
+ $query['status'] = ActionScheduler_Store::STATUS_PENDING; |
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 | |
/** | |
* Description: WordPress enhancements from CSSLLC. | |
* Author URI: https://develop.calebstauffer.com | |
* Author: Caleb Stauffer | |
* Plugin URI: https://gist.github.com/crstauf/68b4d37ebdc0423d2275bce49527a2f4 | |
*/ | |
/** | |
* Action: wp_enqueue_scripts |
NewerOlder