A style guide for using GitHub issue tracker labels effectively for basic project management in the context of collaboration on open source web software (e.g. a WordPress plugin).
Color/Notation | Purpose |
---|---|
red | problems |
yellow | holdups |
/* | |
* Migrating your DB with Migrate DB Pro | |
* your "Disable Search Engines" setting | |
* can get pushed to your live site | |
* This is how you can automate that | |
* Ref: https://deliciousbrains.com/tweaking-wp-migrate-db-pro-actions-filters/ | |
* AWP Link: https://www.facebook.com/groups/advancedwp/permalink/951660888229459/ | |
* Care of Chris Perryman www.revelationconcept.com | |
*/ |
<?php | |
$my_theme = TEMPLATEPATH . '/inc/'; | |
$includes = array( | |
$my_theme . 'theme-functions.php', // Custom Theme Functions | |
$my_theme . 'theme-custom-post-types.php', // CPT's | |
$my_theme . 'fields/init.php', // Custom Fields | |
$my_theme . 'stripe/lib.php' // Integrate Stripe | |
); |
#!/bin/sh | |
# | |
# Erstellt eine lokale Sicherung von /home/username, /var/www/virtual/username und der Datenbanken des Benutzers | |
# | |
# Voraussetzungen: | |
# Auf dem lokalen Computer sind die uberspaces in ~/.ssh/config wie folgt konfiguriert: | |
# Host uberspacename | |
# HostName sternenkonstellation.uberspace.de | |
# User uberspacename | |
# |
<?php | |
/** | |
* Plugin Name: wpSEO Icon Fix | |
* Description: Admin icon hack for wpSEO. | |
* Version: 2018.08 | |
* Author: Simon Kraft, Caspar Hübinger, Torsten Landsiedel | |
* License: GNU General Public License v3 | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
<?php | |
add_filter('enable_post_by_email_configuration', '__return_false'); |
# Beispiel-Codeschnipsel für die WordPress-htaccess-Datei | |
# https://www.wp-sicherheit.info | |
# Marc Nilius, info@wp-sicherheit.info | |
# Mit Material von Zodiac1978, siehe auch https://gist.github.com/Zodiac1978/d25a8f3aebba7cd1c01c | |
# | |
# Diese Codeschnipsel gehören in die .htaccess-Datei im Hauptverzeichnis von WordPress | |
# Jeder einzelne Bestandteil kann einzeln kopiert und genutzt werden. | |
# Bitte die Verwendungshinweise (Kommentare) an jedem Schnipsel beachten |
<?php | |
// if product is already in global space | |
global $product; | |
// or fetch product attributes by ID | |
if( empty( $product->id ) ){ | |
$wc_pf = new WC_Product_Factory(); | |
$product = $wc_pf->get_product($id); | |
} |
<?php | |
/** | |
* Plugin Name: Translation Updates Table | |
* | |
* @author Pascal Birchler <pascal@required.ch> | |
* @license GPL2+ | |
*/ | |
/** | |
* Displays a table with available translation updates. |
<? | |
function rgbToHsl( $r, $g, $b ) { | |
$oldR = $r; | |
$oldG = $g; | |
$oldB = $b; | |
$r /= 255; | |
$g /= 255; | |
$b /= 255; |