Skip to content

Commit

Permalink
Simplify license info, remove debugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarr committed Nov 27, 2013
1 parent 3dcfb8a commit a56eb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ wp-oembedui
===========

A simple UI for native WordPress oEmbed functionality.

(Best with WordPress 3.8+)
19 changes: 0 additions & 19 deletions oc-functionality-videoembeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,6 @@
Author URI: http://chriscarr.me
License: GPLv2 or later
------------------------------------------------------------------------
Copyright 2009-2013 C2 IT, LLC
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

add_action('media_buttons', 'oc_embedvideo_addbutton', 25);
Expand Down Expand Up @@ -70,7 +52,6 @@ function oc_embedvideo_addscripts() {
function OCInsertVideo() {
var htmlcode;
htmlcode = '[embed type="oEmbed"]' + jQuery('#TB_ajaxContent .oc_video_url').val() + '[/embed]';
console.log(htmlcode);
console.log(jQuery('#TB_ajaxContent .oc_video_url').val());
window.send_to_editor(htmlcode);
return false;
Expand Down

0 comments on commit a56eb95

Please sign in to comment.