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
curl --data @xmlrpc.xml http://src.wordpress-develop.dev/xmlrpc.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
~/code/jetpack $ grunt addtextdomain | |
Running "addtextdomain:jetpack" (addtextdomain) task | |
Warning: Cannot use 'in' operator to search for 'src' in *.php Use --force to continue. | |
Aborted due to warnings. |
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
<table> | |
<tr> | |
<th scope="row">Jeanne:</th> | |
<td>Parish records pre 1837.</td> | |
</tr> | |
<tr> | |
<th scope="row">Sheila:</th> | |
<td>Beginner - help with getting started</td> | |
</tr> | |
<tr> |
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
<dl> | |
<dt>Jeanne:</dt> | |
<dd>Parish records pre 1837.</dd> | |
<dt>Sheila:</dt> | |
<dd>Beginner - help with getting started</dd> | |
<dt>Joan:</dt> | |
<dd>How to organise records; Furthering research through paper based documents</dd> |
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_action( 'template_redirect', 'my_stats_template_redirect_tweak', 2 ); | |
function my_stats_template_redirect_tweak() { | |
global $stats_footer; | |
// If we don't have a $stats_footer global ... maybe Stats or Jetpack isn't active? | |
if ( empty( $stats_footer ) ) { | |
return; | |
} |
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( 'contact_form_subject', 'filter_meetup_contact_form_subject' ); | |
function filter_meetup_contact_form_subject( $subject ) { | |
if ( false === strpos( $subject, '{city}' ) ) { | |
return $subject; | |
} | |
if ( empty( $_REQUEST['g766-yourcitystatecountry'] ) ) { | |
return $subject; |
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: Custom Taxonomy Listing Pages | |
* Plugin URI: http://github.com/georgestephanis/tax-listing-page | |
* Description: How to make custom taxonomy listing pages. | |
* Author: George Stephanis | |
* Author URI: http://stephanis.info | |
* Version: 0.1 | |
*/ |
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
du -hs ~/Library/Containers/com.twitter.twitter-mac/Data/Library/Caches/com.atebits.tweetie.profile-images |
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
$.getJSON( 'http://target-domain.com/wp-admin/admin-ajax.php?action=get_my_user_data', function(data) { | |
console.log( data ); | |
} ); |
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 | |
/** | |
* The base configuration for WordPress. | |
* | |
* This file has the following configurations: | |
* - MySQL settings | |
* - Authentication Unique Keys and Salts | |
* - Table Prefix | |
* - Secret Keys | |
* - WordPress Language |