Changeset 2592263
- Timestamp:
- 09/01/2021 05:54:25 PM (3 years ago)
- Location:
- cc-post-republisher
- Files:
-
- 23 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
cc-post-republisher/trunk/README.md
r2562208 r2592263 5 5 Requires at least: 4.0.0 6 6 Tested up to: 5.8.0 7 Stable tag: 1. 3.07 Stable tag: 1..0 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 15 15 1. Install and activate the plugin. 16 16 2. Navigate to the Creative Commons settings page under Settings in the WordPress dashboard. 17 3. Edit the terms text and select the license type that you want to use as a default.17 3. Edit the terms text and select the license type that you want to use as a default. 18 18 4. On individual posts, you can select a different license type to use, or set that particular post to not Creative Commons licensed. 19 19 … … 25 25 26 26 ## == Changelog == 27 28 29 30 27 31 28 32 ### = 1.3.0 = -
cc-post-republisher/trunk/cc-post-republisher.php
r2528522 r2592263 4 4 Plugin URI: https://davidwolfpaw.com/ 5 5 Description: Place a widget on post pages or after post content with a link to the Creative Commons license that you've applied to your site, as well as a republisher window that makes it easier for others to share your content while maintaining your licensing. 6 Version: 1. 3.06 Version: 1..0 7 7 Author: wolfpaw 8 8 Author URI: https://davidwolfpaw.com/plugins … … 30 30 } 31 31 32 define( 'CCPR_VERSION', '1. 3.0' );32 define( 'CCPR_VERSION', '1..0' ); 33 33 define( 'CCPR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 34 34 define( 'CCPR_ASSET_DIR', plugin_dir_url( __FILE__ ) . 'assets/' ); -
cc-post-republisher/trunk/class-cc-post-republisher-admin.php
r2528522 r2592263 8 8 9 9 $this->plugin_name = 'cc-post-republisher'; 10 $this->version = '1. 3.0';10 $this->version = '1..0'; 11 11 $this->assets_url = plugin_dir_url( __FILE__ ) . 'assets/'; 12 12 … … 22 22 public function cc_post_republisher_scripts() { 23 23 24 wp_enqueue_style( 'cc-post-republisher-admin-css', $this->assets_url . 'css/cc-post-republisher-admin.css', array(), '1. 3.0' );24 wp_enqueue_style( 'cc-post-republisher-admin-css', $this->assets_url . 'css/cc-post-republisher-admin.css', array(), '1..0' ); 25 25 26 26 } … … 306 306 <p><?php esc_html_e( 'This license is the most restrictive of our six main licenses, only allowing others to download your works and share them with others as long as they credit you, but they can’t change them in any way or use them commercially.', 'cc-post-republisher' ); ?></p> 307 307 <p><a href="<?php echo esc_url( __( 'https://creativecommons.org/licenses/by-nc-nd/4.0', 'cc-post-republisher' ) ); ?>" target="_blank"><?php esc_html_e( 'View License Deed', 'cc-post-republisher' ); ?></a> | <a href="<?php echo esc_url( __( 'https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode', 'cc-post-republisher' ) ); ?>" target="_blank"><?php esc_html_e( 'View Legal Code', 'cc-post-republisher' ); ?></a></p> 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 308 336 </div> 309 337 </div> -
cc-post-republisher/trunk/class-cc-post-republisher-meta-box.php
r2089540 r2592263 28 28 'cc-by-nc-sa' => __( '<strong>CC BY-NC-SA</strong> - Attribution-NonCommercial-ShareAlike', 'cc-post-republisher' ), 29 29 'cc-by-nc-nd' => __( '<strong>CC BY-NC-ND</strong> - Attribution-NonCommercial-NoDerivs', 'cc-post-republisher' ), 30 31 30 32 'no-cc-license' => __( 'Not Creative Commons Licensed', 'cc-post-republisher' ), 31 33 ), -
cc-post-republisher/trunk/class-cc-post-republisher.php
r2528522 r2592263 15 15 16 16 $this->plugin_name = 'cc-post-republisher'; 17 $this->version = '1. 3.0';17 $this->version = '1..0'; 18 18 $this->assets_url = plugin_dir_url( __FILE__ ) . 'assets/'; 19 19 … … 75 75 'license_legal_url' => __( 'https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode', 'cc-post-republisher' ), 76 76 ), 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 77 95 ); 78 96 … … 99 117 if ( is_single() ) { 100 118 101 wp_enqueue_style( 'cc-post-republisher-css', $this->assets_url . 'css/cc-post-republisher.css', array(), '1. 3.0' );102 wp_enqueue_script( 'cc-post-republisher-js', $this->assets_url . 'js/cc-post-republisher.js', array(), '1. 3.0', true );119 wp_enqueue_style( 'cc-post-republisher-css', $this->assets_url . 'css/cc-post-republisher.css', array(), '1..0' ); 120 wp_enqueue_script( 'cc-post-republisher-js', $this->assets_url . 'js/cc-post-republisher.js', array(), '1..0', true ); 103 121 104 122 } … … 198 216 $post_license = $this->get_license(); 199 217 218 219 220 221 222 223 224 225 226 227 228 229 230 200 231 if ( 'no-cc-license' !== $post_license ) { 201 232 -
cc-post-republisher/trunk/languages/cc-post-republisher.pot
r2528522 r2592263 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Creative Commons Post Republisher 1. 3.0\n"5 "Project-Id-Version: Creative Commons Post Republisher 1..0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cc-post-republisher\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2021-0 5-09T00:48:23+00:00\n"12 "POT-Creation-Date: 2021-0+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.5. 0-alpha-fe5f480\n"14 "X-Generator: WP-CLI 2.5.\n" 15 15 "X-Domain: cc-post-republisher\n" 16 16 … … 41 41 42 42 #: class-cc-post-republisher-admin.php:36 43 #: class-cc-post-republisher-meta-box.php:5 043 #: class-cc-post-republisher-meta-box.php:5 44 44 msgid "Creative Commons" 45 45 msgstr "" … … 91 91 #: class-cc-post-republisher-admin.php:293 92 92 #: class-cc-post-republisher-admin.php:307 93 94 93 95 msgid "View License Deed" 94 96 msgstr "" … … 105 107 #: class-cc-post-republisher-admin.php:293 106 108 #: class-cc-post-republisher-admin.php:307 109 107 110 msgid "View Legal Code" 108 111 msgstr "" … … 233 236 msgstr "" 234 237 235 #: class-cc-post-republisher-admin.php:315 236 #: class-cc-post-republisher-meta-box.php:30 238 #: class-cc-post-republisher-admin.php:316 239 #: class-cc-post-republisher.php:80 240 msgid "No Rights Reserved" 241 msgstr "" 242 243 #: class-cc-post-republisher-admin.php:317 244 msgid "CC0" 245 msgstr "" 246 247 #: class-cc-post-republisher-admin.php:320 248 #: class-cc-post-republisher.php:82 249 msgid "The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission." 250 msgstr "" 251 252 #: class-cc-post-republisher-admin.php:321 253 msgid "https://creativecommons.org/publicdomain/zero/1.0" 254 msgstr "" 255 256 #: class-cc-post-republisher-admin.php:321 257 #: class-cc-post-republisher.php:84 258 msgid "https://creativecommons.org/publicdomain/zero/1.0/legalcode" 259 msgstr "" 260 261 #: class-cc-post-republisher-admin.php:330 262 #: class-cc-post-republisher.php:90 263 msgid "Public Domain Mark" 264 msgstr "" 265 266 #: class-cc-post-republisher-admin.php:331 267 msgid "PDM" 268 msgstr "" 269 270 #: class-cc-post-republisher-admin.php:334 271 #: class-cc-post-republisher.php:91 272 msgid "The Public Domain Mark is recommended for works that are free of known copyright around the world. These will typically be very old works. It is not recommended for use with works that are in the public domain in some jurisdictions if they also known to be restricted by copyright in others." 273 msgstr "" 274 275 #: class-cc-post-republisher-admin.php:335 276 #: class-cc-post-republisher.php:92 277 #: class-cc-post-republisher.php:93 278 msgid "https://creativecommons.org/share-your-work/public-domain/pdm" 279 msgstr "" 280 281 #: class-cc-post-republisher-admin.php:343 282 #: class-cc-post-republisher-meta-box.php:32 237 283 msgid "Not Creative Commons Licensed" 238 284 msgstr "" 239 285 240 #: class-cc-post-republisher-admin.php:3 18286 #: class-cc-post-republisher-admin.php:3 241 287 msgid "Defaults to non-licensed, allowing you to individually set licensing on posts." 242 288 msgstr "" … … 270 316 msgstr "" 271 317 318 319 320 321 322 323 324 325 272 326 #. translators: admin url 273 #: class-cc-post-republisher-meta-box.php:7 2327 #: class-cc-post-republisher-meta-box.php:7 274 328 msgid "Assign a license to this post. If no license is selected, the post will have the default license that is set in the <a href=\"%s\">Creative Commons Post Republisher Settings</a>." 275 329 msgstr "" 276 330 277 #: class-cc-post-republisher.php:137 331 #: class-cc-post-republisher.php:81 332 msgid "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication" 333 msgstr "" 334 335 #: class-cc-post-republisher.php:83 336 msgid "https://creativecommons.org/publicdomain/zero/1.0/" 337 msgstr "" 338 339 #: class-cc-post-republisher.php:89 340 msgid "Public Domain Mark \"No Known Copyright\"" 341 msgstr "" 342 343 #: class-cc-post-republisher.php:155 278 344 msgid "Creative Commons License" 279 345 msgstr "" 280 346 281 #: class-cc-post-republisher.php:1 41347 #: class-cc-post-republisher.php:1 282 348 msgid "Republish" 283 349 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.