git init
or
| <?php | |
| add_action('admin_init', function () { | |
| // Redirect any user trying to access comments page | |
| global $pagenow; | |
| if ($pagenow === 'edit-comments.php') { | |
| wp_redirect(admin_url()); | |
| exit; | |
| } |
| #!/bin/sh | |
| # PATH TO YOUR HOSTS FILE | |
| ETC_HOSTS=/etc/hosts | |
| # DEFAULT IP FOR HOSTNAME | |
| IP="127.0.0.1" | |
| # Hostname to add/remove. | |
| HOSTNAME=$1 |
| <!doctype html> | |
| <html ng-app="Demo" ng-controller="AppController"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title> | |
| Lazy Loading Images With AngularJS | |
| </title> | |
| <style type="text/css"> |
| /** | |
| * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. | |
| * For licensing, see LICENSE.html or http://ckeditor.com/license | |
| */ | |
| (function() { | |
| var imageDialog = function( editor, dialogType ) { | |
| // Load image preview. | |
| var IMAGE = 1, | |
| LINK = 2, |