Plugin Directory

Changeset 2592263

Timestamp:
09/01/2021 05:54:25 PM (3 years ago)
Author:
wolfpaw
Message:

updates to v1.4.0

Location:
cc-post-republisher
Files:
23 added
6 edited

Legend:

Unmodified
Added
Removed
  • cc-post-republisher/trunk/README.md

    r2562208 r2592263  
    55Requires at least: 4.0.0
    66Tested up to: 5.8.0
    7 Stable tag: 1.3.0
     7Stable tag: 1..0
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    15151. Install and activate the plugin.
    16162. 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.
     173. Edit the terms text and select the license type that you want to use as a default.
    18184. On individual posts, you can select a different license type to use, or set that particular post to not Creative Commons licensed.
    1919
     
    2525
    2626## == Changelog ==
     27
     28
     29
     30
    2731
    2832### = 1.3.0 =
  • cc-post-republisher/trunk/cc-post-republisher.php

    r2528522 r2592263  
    44Plugin URI: https://davidwolfpaw.com/
    55Description: 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.0
     6Version: 1..0
    77Author: wolfpaw
    88Author URI: https://davidwolfpaw.com/plugins
     
    3030}
    3131
    32 define( 'CCPR_VERSION', '1.3.0' );
     32define( 'CCPR_VERSION', '1..0' );
    3333define( 'CCPR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    3434define( 'CCPR_ASSET_DIR', plugin_dir_url( __FILE__ ) . 'assets/' );
  • cc-post-republisher/trunk/class-cc-post-republisher-admin.php

    r2528522 r2592263  
    88
    99        $this->plugin_name = 'cc-post-republisher';
    10         $this->version     = '1.3.0';
     10        $this->version     = '1..0';
    1111        $this->assets_url  = plugin_dir_url( __FILE__ ) . 'assets/';
    1212
     
    2222    public function cc_post_republisher_scripts() {
    2323
    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' );
    2525
    2626    }
     
    306306                    <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>
    307307                    <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
    308336                </div>
    309337            </div>
  • cc-post-republisher/trunk/class-cc-post-republisher-meta-box.php

    r2089540 r2592263  
    2828                    'cc-by-nc-sa'   => __( '<strong>CC BY-NC-SA</strong> - Attribution-NonCommercial-ShareAlike', 'cc-post-republisher' ),
    2929                    'cc-by-nc-nd'   => __( '<strong>CC BY-NC-ND</strong> - Attribution-NonCommercial-NoDerivs', 'cc-post-republisher' ),
     30
     31
    3032                    'no-cc-license' => __( 'Not Creative Commons Licensed', 'cc-post-republisher' ),
    3133                ),
  • cc-post-republisher/trunk/class-cc-post-republisher.php

    r2528522 r2592263  
    1515
    1616        $this->plugin_name = 'cc-post-republisher';
    17         $this->version     = '1.3.0';
     17        $this->version     = '1..0';
    1818        $this->assets_url  = plugin_dir_url( __FILE__ ) . 'assets/';
    1919
     
    7575                'license_legal_url'   => __( 'https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode', 'cc-post-republisher' ),
    7676            ),
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
    7795        );
    7896
     
    99117        if ( is_single() ) {
    100118
    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 );
    103121
    104122        }
     
    198216        $post_license = $this->get_license();
    199217
     218
     219
     220
     221
     222
     223
     224
     225
     226
     227
     228
     229
     230
    200231        if ( 'no-cc-license' !== $post_license ) {
    201232
  • cc-post-republisher/trunk/languages/cc-post-republisher.pot

    r2528522 r2592263  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Creative Commons Post Republisher 1.3.0\n"
     5"Project-Id-Version: Creative Commons Post Republisher 1..0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cc-post-republisher\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2021-05-09T00:48:23+00:00\n"
     12"POT-Creation-Date: 2021-0+00:00\n"
    1313"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"
    1515"X-Domain: cc-post-republisher\n"
    1616
     
    4141
    4242#: class-cc-post-republisher-admin.php:36
    43 #: class-cc-post-republisher-meta-box.php:50
     43#: class-cc-post-republisher-meta-box.php:5
    4444msgid "Creative Commons"
    4545msgstr ""
     
    9191#: class-cc-post-republisher-admin.php:293
    9292#: class-cc-post-republisher-admin.php:307
     93
     94
    9395msgid "View License Deed"
    9496msgstr ""
     
    105107#: class-cc-post-republisher-admin.php:293
    106108#: class-cc-post-republisher-admin.php:307
     109
    107110msgid "View Legal Code"
    108111msgstr ""
     
    233236msgstr ""
    234237
    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
     240msgid "No Rights Reserved"
     241msgstr ""
     242
     243#: class-cc-post-republisher-admin.php:317
     244msgid "CC0"
     245msgstr ""
     246
     247#: class-cc-post-republisher-admin.php:320
     248#: class-cc-post-republisher.php:82
     249msgid "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."
     250msgstr ""
     251
     252#: class-cc-post-republisher-admin.php:321
     253msgid "https://creativecommons.org/publicdomain/zero/1.0"
     254msgstr ""
     255
     256#: class-cc-post-republisher-admin.php:321
     257#: class-cc-post-republisher.php:84
     258msgid "https://creativecommons.org/publicdomain/zero/1.0/legalcode"
     259msgstr ""
     260
     261#: class-cc-post-republisher-admin.php:330
     262#: class-cc-post-republisher.php:90
     263msgid "Public Domain Mark"
     264msgstr ""
     265
     266#: class-cc-post-republisher-admin.php:331
     267msgid "PDM"
     268msgstr ""
     269
     270#: class-cc-post-republisher-admin.php:334
     271#: class-cc-post-republisher.php:91
     272msgid "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."
     273msgstr ""
     274
     275#: class-cc-post-republisher-admin.php:335
     276#: class-cc-post-republisher.php:92
     277#: class-cc-post-republisher.php:93
     278msgid "https://creativecommons.org/share-your-work/public-domain/pdm"
     279msgstr ""
     280
     281#: class-cc-post-republisher-admin.php:343
     282#: class-cc-post-republisher-meta-box.php:32
    237283msgid "Not Creative Commons Licensed"
    238284msgstr ""
    239285
    240 #: class-cc-post-republisher-admin.php:318
     286#: class-cc-post-republisher-admin.php:3
    241287msgid "Defaults to non-licensed, allowing you to individually set licensing on posts."
    242288msgstr ""
     
    270316msgstr ""
    271317
     318
     319
     320
     321
     322
     323
     324
     325
    272326#. translators: admin url
    273 #: class-cc-post-republisher-meta-box.php:72
     327#: class-cc-post-republisher-meta-box.php:7
    274328msgid "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>."
    275329msgstr ""
    276330
    277 #: class-cc-post-republisher.php:137
     331#: class-cc-post-republisher.php:81
     332msgid "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"
     333msgstr ""
     334
     335#: class-cc-post-republisher.php:83
     336msgid "https://creativecommons.org/publicdomain/zero/1.0/"
     337msgstr ""
     338
     339#: class-cc-post-republisher.php:89
     340msgid "Public Domain Mark \"No Known Copyright\""
     341msgstr ""
     342
     343#: class-cc-post-republisher.php:155
    278344msgid "Creative Commons License"
    279345msgstr ""
    280346
    281 #: class-cc-post-republisher.php:141
     347#: class-cc-post-republisher.php:1
    282348msgid "Republish"
    283349msgstr ""
Note: See TracChangeset for help on using the changeset viewer.