This file contains hidden or 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
Moved to https://github.com/xwp/vip-quickstart/pull/3 |
This file contains hidden or 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_action( 'widgets_init', 'nbclatino_top_posts_widget_init' ); | |
function nbclatino_top_posts_widget_init() { | |
// Check if our vip stats function is available | |
if ( !function_exists( 'wpcom_vip_get_stats_array' ) && ! function_exists( 'stats_get_csv' ) ) | |
return; | |
unregister_widget( 'Jetpack_Top_Posts_Widget' ); |
This file contains hidden or 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 | |
OPTIND=1 | |
verbose=0 | |
dbuser="" | |
dbpasswd="" | |
while getopts "vh?U:P:H:" opt; do | |
case "$opt" in |