Coding

MEAN Project

Here is a simple project I placed out on Heroku. It is an authenticated message list.  It features anthentication: signup, signin and logout.  Message posting which demonstrates the saving of data tied to a user. The backend is mongo, mongoose, expressjs and the frontend is Angular 4.

WP-o-Matic breaks WordPress Related Links

function adminInit() { auth_redirect(); // force display of a certain section $this->section = ($this->setup) ? ((isset($_REQUEST[‘s’]) && $_REQUEST[‘s’]) ? $_REQUEST[‘s’] : $this->sections[0]) : ‘setup’; // if (isset($_SERVER[‘HTTP_USER_AGENT’]) && (strpos($_SERVER[‘HTTP_USER_AGENT’], ‘MSIE’) !== false)) // die(‘Please switch to Firefox / Safari’); wp_enqueue_script(‘prototype’); wp_enqueue_script(‘wpoadmin’, $this->tplpath . ‘/admin.js’, array(‘prototype’), $this->version); if ($this->section == ‘list’)…

SlidePress Plugin Redirect Bug

When clicking on settings links for the SlidePress plugin in a multi-user WordPress site the plugin would redirect to /wp-admin/?c=1 for each domain except the parent site. [code lang=”php”]function get_current_user_role() { global $current_user, $wp_roles; $role_names = $wp_roles -> get_names(); /* UPDATED 11/2/2010 9:21 AM * by matt.thiessen@sourcemedia.net */ // modified…

Skip to toolbar