- OS : Ubuntu Server 16.04 LTS
- Web Server : Nginx via Easy Engine
Ref :
<?php | |
/* | |
Plugin Name: Gutenberg Audit | |
Plugin URI: http://highbrow.com.au/plugins/gutenberg-audit | |
description: What blocks is your site using? | |
Version: 0.1 | |
Author: Hugh Campbell | |
Author URI: http://highbrow.com.au/ | |
License: GPL2 | |
*/ |
Ref :
#!/bin/bash | |
if [[ $# -eq 0 ]] ; then | |
echo "Please enter a version number:" | |
read VERSION | |
else | |
VERSION=$1 | |
fi | |
if [[ -z "$VERSION" ]] ; then | |
echo "Sorry, I need a version number!" |
<?php | |
/* | |
Plugin Name: bbPress Optimize | |
Plugin URI: https://www.scottkclark.com/ | |
Description: Optimizes bbPress queries for large bbPress forums | |
Version: 1.1 | |
Author: Scott Kingsley Clark | |
Author URI: https://www.scottkclark.com/ | |
*/ |
<?php | |
Copied from http://fatlabmusic.com/blog/2009/08/12/how-to-fix-wp-http-error-name-lookup-timed-out/ | |
//adjustments to wp-includes/http.php timeout values to workaround slow server responses | |
add_filter('http_request_args', 'bal_http_request_args', 100, 1); | |
function bal_http_request_args($r) //called on line 237 | |
{ | |
$r['timeout'] = 15; | |
return $r; | |
} | |
<?php # -*- coding: utf-8 -*- | |
/* | |
Plugin Name: All Actions List | |
Description: Lists all actions run during one request. | |
Version: 1.0 | |
Required: 3.1 | |
Author: Thomas Scholz | |
Author URI: http://toscho.de | |
License: GPL | |
*/ |