I hereby claim:
- I am rmccue on github.
- I am rmccue (https://keybase.io/rmccue) on keybase.
- I have a public key ASB1nf87pm0h0dkgm8ejxGL8KyOkkwbcA-7udP-D7I8qHwo
To claim this, I am signing this object:
<?php | |
/* Merge multiple RSS feeds with SimplePie | |
* | |
* Just modify the path to SimplePie and | |
* modify the $feeds array with the feeds you want | |
* | |
* You should probably also change the channel title, link and description, | |
* plus I added a CC license you may not want | |
* | |
* Help from: http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/ |
<?php | |
require('simplepie.inc'); | |
$feed = new SimplePie('http://example.com/feed/'); | |
foreach($feed->get_items() as $item) { | |
$new_item = (object) array( | |
'hash' => $item->get_id(true), | |
'timestamp' => $item->get_date('U'), | |
'title' => $item->get_title(), | |
'content' => $item->get_content(), |
<?php | |
/***** | |
All new versions will be posted at | |
https://github.com/rmccue/Rotor_WPPlugin | |
Please use that repository instead of this Gist. | |
******/ |
1-button-plugin | |
1g1g-music-bar | |
2performant-product-importer | |
302-moved-temporarily | |
3d-twitter-wall | |
3rd-party-authentication | |
404-not-found-report | |
404-plugin | |
4q-survey | |
5gig-concerts |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Plugin Name: WP REST API Strict Mode | |
* Description: Triggers an error when unregistered parameters are used. | |
* Author: Ryan McCue | |
* Author URI: http://rmccue.io/ | |
* Version: 0.1 | |
* | |
* Requires https://core.trac.wordpress.org/ticket/35507 | |
*/ |
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/"C0MBRXg5cCp7ImA9WhRXEk8.""><id>tag:blogger.com,1999:blog-8515187792149845150</id><updated>2011-12-18T16:17:34.628+01:00</updated><category term="Chaussures" /><category term="Pays Basque" /><category term="beauté" /><category term="sport" /><category term="lingerie" /><category term="Perso" /><category term="Article non sponsorisé" /><category term="Invitation" /><category term="Evénements" /><category term="Article Sponsorisé" /><category term="Bons plans" /><categ |
<?php | |
/** | |
* Plugin Name: HM Autoloader | |
* Description: Provides a standard autoloader utility for the site to use | |
* Author: Human Made Limited | |
* Author URI: http://hmn.md/ | |
*/ | |
namespace HM; |
I hereby claim:
To claim this, I am signing this object:
// Resolve custom components by calling .render() recursively. | |
const resolveComponents = element => { | |
// If the "component" is a string, it's static text. | |
if ( typeof element === 'string' ) { | |
return element; | |
} | |
// If the type is a string, it's already in DOM node form. | |
if ( typeof element.type === 'string' ) { | |
return element; |