Skip to content

Instantly share code, notes, and snippets.

View Sephsekla's full-sized avatar
💻
Tea => Code

Joe Bailey-Roberts Sephsekla

💻
Tea => Code
View GitHub Profile
@bkaminski
bkaminski / wp-pass-reset.php
Last active March 22, 2018 16:49 — forked from ivandoric/gist:e4e46294c4d35eac0ec8
wordpress: create custom reset password page
// With some Bootstrap 4 love. Of course, create a custom template for this.
<?php
/* do template stuff */
get_header(); ?>
<div class="card-body">
<?php
global $wpdb;
@ivandoric
ivandoric / gist:e4e46294c4d35eac0ec8
Created June 5, 2014 11:17
wordpress: create custom reset password page
<?php //Add all of this tu custom page template ?>
<?php
global $wpdb;
$error = '';
$success = '';
// check if we're in reset form
if( isset( $_POST['action'] ) && 'reset' == $_POST['action'] )
{
@joncave
joncave / plugin.php
Last active September 21, 2023 17:50
An intentionally vulnerable plugin developed for WordPress plugin author education. http://make.wordpress.org/plugins/2013/04/09/intentionally-vulnerable-plugin/
<?php
/* Plugin Name: Damn Vulnerable WordPress Plugin
* Description: Intentionally vulnerable plugin for plugin author education
* Version: 0.1
* Plugin URI: http://make.wordpress.org/plugins/2013/04/09/intentionally-vulnerable-plugin/
* Author: Jon Cave
* Author URI: http://joncave.co.uk
* License: GPLv2+
*
* DO NOT RUN THIS PLUGIN ON AN INTERNET ACCESSIBLE SITE
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@jo-snips
jo-snips / filter-custom-organizer-link.php
Created March 30, 2012 18:44
The Events Calendar: Filter tribe_get_organizer_link()