Changeset 1429808
- Timestamp:
- 06/03/2016 11:33:59 AM (10 years ago)
- Location:
- copyfight
- Files:
-
- 52 added
- 6 edited
-
tags/1.4.7 (added)
-
tags/1.4.7/LICENSE.txt (added)
-
tags/1.4.7/_inc (added)
-
tags/1.4.7/_inc/copyfight-admin.css (added)
-
tags/1.4.7/_inc/copyfight-admin.js (added)
-
tags/1.4.7/_inc/copyfight-cdn.css (added)
-
tags/1.4.7/_inc/copyfight.css (added)
-
tags/1.4.7/_inc/copyfight.js (added)
-
tags/1.4.7/_inc/copyfight.php (added)
-
tags/1.4.7/_inc/img (added)
-
tags/1.4.7/_inc/img/certificate-background.png (added)
-
tags/1.4.7/_inc/img/copyfight-logo-color.svg (added)
-
tags/1.4.7/_inc/img/copyfight-logo-dark.svg (added)
-
tags/1.4.7/_inc/img/copyfight-logo-light.svg (added)
-
tags/1.4.7/_inc/img/copyfight-logo.png (added)
-
tags/1.4.7/_inc/img/copyfight_business_plan.png (added)
-
tags/1.4.7/_inc/img/copyfight_enterprise_plan.png (added)
-
tags/1.4.7/_inc/img/copyfight_freemium_plan.png (added)
-
tags/1.4.7/_inc/img/copyfight_premium_plan.png (added)
-
tags/1.4.7/_inc/img/icn-green.png (added)
-
tags/1.4.7/_inc/img/icn-grey-black.png (added)
-
tags/1.4.7/_inc/img/icn-red.png (added)
-
tags/1.4.7/_inc/img/icn-yellow.png (added)
-
tags/1.4.7/cache (added)
-
tags/1.4.7/cache/9 (added)
-
tags/1.4.7/cache/9/98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e1784bb.woff (added)
-
tags/1.4.7/cache/98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e17.woff (added)
-
tags/1.4.7/cache/fontlist.txt (added)
-
tags/1.4.7/cache/index.php (added)
-
tags/1.4.7/class.copyfight-admin.php (added)
-
tags/1.4.7/class.copyfight.php (added)
-
tags/1.4.7/copyfight.php (added)
-
tags/1.4.7/copyright.data (added)
-
tags/1.4.7/copyright.html (added)
-
tags/1.4.7/index.php (added)
-
tags/1.4.7/languages (added)
-
tags/1.4.7/languages/copyfight-es_ES.mo (added)
-
tags/1.4.7/languages/copyfight-es_ES.po (added)
-
tags/1.4.7/languages/copyfight-nl_NL.mo (added)
-
tags/1.4.7/languages/copyfight-nl_NL.po (added)
-
tags/1.4.7/readme.txt (added)
-
tags/1.4.7/uninstall.php (added)
-
tags/1.4.7/views (added)
-
tags/1.4.7/views/config.php (added)
-
tags/1.4.7/views/index.php (added)
-
tags/1.4.7/views/notice.php (added)
-
tags/1.4.7/views/plans.php (added)
-
tags/1.4.7/widgets.php (added)
-
trunk/cache/9 (added)
-
trunk/cache/9/98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e1784bb.woff (added)
-
trunk/cache/98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e17.woff (added)
-
trunk/class.copyfight-admin.php (modified) (3 diffs)
-
trunk/class.copyfight.php (modified) (2 diffs)
-
trunk/copyfight.php (modified) (2 diffs)
-
trunk/copyright.data (added)
-
trunk/copyright.html (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/uninstall.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
copyfight/trunk/class.copyfight-admin.php
r1428593 r1429808 26 26 $slug = 'copyfight'; 27 27 $title = 'Copyfight'; 28 $content = file_get_contents( COPYFIGHT_PLUGIN_DIR . 'copyright.html' ); 29 $content = str_replace('{year}', date('Y'), $content); 30 $content = str_replace('{bloginfo}', get_bloginfo(), $content); 28 $html = file_get_contents( COPYFIGHT_PLUGIN_DIR . 'copyright.html' ); 29 $data = file_get_contents( COPYFIGHT_PLUGIN_DIR . 'copyright.data' ); 31 30 32 31 if ( null == get_page_by_title( $title ) ) { … … 38 37 'post_name' => $slug, 39 38 'post_title' => $title, 40 'post_content' => $ content,39 'post_content' => $html, 41 40 'post_status' => 'publish', 42 41 'post_type' => 'post' … … 48 47 update_post_meta( $post_id, '_copyfight_tags', 'enabled' ); 49 48 update_post_meta( $post_id, '_copyfight_blur', 'enabled' ); 50 call_user_func( COPYFIGHT_CLASS_ADMIN . '::copyfight_save_post', $post_id ); 49 update_post_meta( $post_id, '_copyfight_hash', '98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e1784bb' ); 50 update_post_meta( $post_id, '_copyfight_typeface', '98efb6cb4790f7d5e8118561fcc91b1f13d4686af28df206ef1402145e1784bb' ); 51 update_post_meta( $post_id, '_copyfight_content', $data ); 51 52 } 52 53 } -
copyfight/trunk/class.copyfight.php
r1428593 r1429808 37 37 add_filter( 'the_content_feed', array( COPYFIGHT_CLASS, 'copyfight_the_content_feed' ) ); 38 38 add_filter( 'the_excerpt_rss', array( COPYFIGHT_CLASS, 'copyfight_the_excerpt_rss' ) ); 39 40 add_shortcode( 'copyfight', array( COPYFIGHT_CLASS, 'copyfight_shortcode' ) ); 39 41 40 42 wp_register_style( 'copyfight', COPYFIGHT_PLUGIN_URL . '_inc/copyfight.css', array(), COPYFIGHT_VERSION ); … … 193 195 return $content; 194 196 } 197 198 /** 199 * Copyfight shortcode 200 */ 201 public static function copyfight_shortcode( $atts, $content = null ) { 202 return $content; 203 } 195 204 } 196 205 -
copyfight/trunk/copyfight.php
r1428593 r1429808 4 4 Plugin URI: https://getcopyfight.com/ 5 5 Description: Copyright protection 6 Version: 1.4. 66 Version: 1.4.7 7 7 Author: Copyfight 8 8 Author URI: https://getcopyfight.com/ … … 35 35 add_action( 'plugins_loaded', 'copyfight_textdomain' ); 36 36 37 define( 'COPYFIGHT_VERSION', '1.4. 6' );37 define( 'COPYFIGHT_VERSION', '1.4.7' ); 38 38 define( 'COPYFIGHT_MINIMUM_WP_VERSION', '3.3.0' ); 39 39 define( 'COPYFIGHT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
copyfight/trunk/copyright.html
r1428593 r1429808 1 Copyright © {year} {bloginfo}.1 All rights reserved. No part of this website may be reproduced, redistributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the owner, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. For permission requests, contact the owner. 2 2 3 All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law. For permission requests, write to the publisher. 4 5 This page is a demo of how you can embed the <a target="_blank" href="https://getcopyfight.com/">Copyfight</a> protection into your blog. 3 This website is protected by <a target="_blank" href="https://getcopyfight.com/">Copyfight</a>. -
copyfight/trunk/readme.txt
r1428593 r1429808 7 7 Requires at least: 3.3.0 8 8 Tested up to: 4.5.2 9 Stable tag: 1.4. 69 Stable tag: 1.4.7 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
copyfight/trunk/uninstall.php
r1428593 r1429808 12 12 delete_option( 'copyfight_blur' ); 13 13 delete_option( 'copyfight_typeface' ); 14 delete_option( 'copyfight_cdn' );15 14 delete_option( 'copyfight_excerpt' ); 16 15 delete_option( 'copyfight_fouc' ); … … 18 17 delete_option( 'copyfight_sev' ); 19 18 delete_option( 'copyfight_copyright' ); 19 delete_option( 'copyfight_cdn' );
Note: See TracChangeset
for help on using the changeset viewer.