- 2010 or newer Mac
- OS X 10.10.3 or later
- Uninstall VirtualBox if you have version 4.3.30 or earlier
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
RUN | |
apk add --update \ | |
autoconf \ | |
file \ | |
g++ \ | |
gcc \ | |
libc-dev \ | |
make \ | |
pkgconf \ | |
re2c \ |
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
# ************************************************************ | |
# Sequel Pro SQL dump | |
# Version 4541 | |
# | |
# http://www.sequelpro.com/ | |
# https://github.com/sequelpro/sequelpro | |
# | |
# Host: docker (MySQL 5.5.52) | |
# Database: wordpress | |
# Generation Time: 2016-09-19 02:06:44 +0000 |
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
# Use Alpine Linux | |
FROM alpine:latest | |
# Environments | |
ENV TIMEZONE Etc/UTC | |
ENV PHP_MEMORY_LIMIT 512M | |
ENV MAX_UPLOAD 50M | |
ENV PHP_MAX_FILE_UPLOAD 200 | |
ENV PHP_MAX_POST 100M |
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: Force Plugin Activation/Deactivation (except if WP_DEBUG is on) | |
Plugin URI: http://tri.be/ | |
Description: Make sure the required plugins are always active. | |
Version: 1.0 | |
Author: Modern Tribe, Inc. | |
Author URI: http://tri.be/ | |
*/ |
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 | |
add_filter( 'tribe_get_list_widget_events', 'cc_tribe_get_list_widget_events' ); | |
function cc_tribe_get_list_widget_events( $posts ) { | |
$output_posts = []; | |
$used_posts = []; | |
$query = new WP_Query([ | |
'eventDisplay' => 'list', | |
'posts_per_page' => 3, |
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: Memcached Redux | |
Description: The real Memcached (not Memcache) backend for the WP Object Cache. | |
Version: 0.2 | |
Plugin URI: http://wordpress.org/extend/plugins/memcached/ | |
Author: Scott Taylor - uses code from Ryan Boren, Denis de Bernardy, Matt Martz | |
Contributors: jbrinley, Modern Tribe | |
Install this file to wp-content/object-cache.php |
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: Mail to Text | |
Description: Sends all WP emails to text files in the uploads directory | |
*/ | |
if ( !function_exists( 'wp_mail' ) ) : |
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
location / { | |
proxy_http_version 1.1; | |
proxy_buffering off; | |
proxy_set_header Host $http_host; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $proxy_connection; | |
proxy_set_header X-Real-IP $proxy_remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_remote_addr; |
WordPress 4.2 introduces a significant reworking of action and filter iteration to address bugs that arose from recursive callbacks and from callbacks that changed the hooked callbacks on currently running actions/filters.
What does this mean for you, the plugin or theme developer? In almost all cases, nothing. Everything should continue to run as expected, and this should fix a number of hard-to-trace bugs when different plugins are stepping on each others callbacks.
If your plugin directly accesses the $wp_filter
global rather than using the public hooks API, you might run into compatibility issues.