Plugin Directory

Changeset 2824968

Timestamp:
11/27/2022 09:52:52 PM (21 months ago)
Author:
jeremyfelt
Message:

Update to version 1.4.0 from GitHub

Location:
shortnotes
Files:
4 added
13 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shortnotes/assets/icon.svg

    • Property svn:mime-type set to image/svg+xml
  • shortnotes/tags/1.4.0/includes/common.php

    r2571529 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\Common;
     
    2328        true
    2429    );
    25 
    2630}
  • shortnotes/tags/1.4.0/includes/post-type-note.php

    r2719713 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\PostType\Note;
     
    2833            'name'                     => __( 'Notes', 'shortnotes' ),
    2934            'singular_name'            => __( 'Note', 'shortnotes' ),
    30             'add_new'                  => __( 'Add New' ),
     35            'add_new'                  => __( 'Add New' ),
    3136            'add_new_item'             => __( 'Add New Note', 'shortnotes' ),
    3237            'edit_item'                => __( 'Edit Note', 'shortnotes' ),
     
    284289    }
    285290
    286     if ( 'publish' === $post_data['post_status'] ) {
     291    if ( ) {
    287292        $post_data['post_title'] = get_formatted_title( $post_data );
    288293    }
     
    327332    $reply_to_name = apply_filters( 'shortnotes_reply_to_name', $reply_to_name, $post, $reply_to_url );
    328333
    329     $reply_to_markup = '<p class="shortnotes-reply-to">' . __( 'In reply to:' ) . ' <a class="u-in-reply-to" href="' . esc_url( $reply_to_url ) . '">' . esc_html( $reply_to_name ) . '</a></p>';
     334    $reply_to_markup = '<p class="shortnotes-reply-to">' . __( 'In reply to:' ) . ' <a class="u-in-reply-to" href="' . esc_url( $reply_to_url ) . '">' . esc_html( $reply_to_name ) . '</a></p>';
    330335
    331336    return $reply_to_markup;
  • shortnotes/tags/1.4.0/includes/webmention.php

    r2492784 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\Webmention;
  • shortnotes/tags/1.4.0/languages/shortnotes.pot

    r2494488 r2824968  
    1 # Copyright (C) 2021 jeremyfelt
     1# Copyright (C) 202 jeremyfelt
    22# This file is distributed under the same license as the Shortnotes plugin.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Shortnotes 1.0.2\n"
     5"Project-Id-Version: Shortnotes 1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortnotes\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-03-12T20:01:18+00:00\n"
     12"POT-Creation-Date: 202+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.4.0\n"
     14"X-Generator: WP-CLI 2..0\n"
    1515"X-Domain: shortnotes\n"
    1616
     
    2020
    2121#. Plugin URI of the plugin
    22 msgid "https://wordpress.org/plugins/shortnotes/"
     22msgid "https://"
    2323msgstr ""
    2424
     
    3535msgstr ""
    3636
    37 #: includes/post-type-note.php:31
     37#: includes/post-type-note.php:3
    3838msgid "Notes"
    3939msgstr ""
    4040
    41 #: includes/post-type-note.php:32
    42 #: includes/post-type-note.php:155
     41#: includes/post-type-note.php:3
     42#: includes/post-type-note.php:1
    4343msgid "Note"
    4444msgstr ""
    4545
    46 #: includes/post-type-note.php:34
     46#: includes/post-type-note.php:35
     47msgid "Add New"
     48msgstr ""
     49
     50#: includes/post-type-note.php:36
    4751msgid "Add New Note"
    4852msgstr ""
    4953
    50 #: includes/post-type-note.php:35
     54#: includes/post-type-note.php:3
    5155msgid "Edit Note"
    5256msgstr ""
    5357
    54 #: includes/post-type-note.php:36
     58#: includes/post-type-note.php:3
    5559msgid "New Note"
    5660msgstr ""
    5761
    58 #: includes/post-type-note.php:37
     62#: includes/post-type-note.php:3
    5963msgid "View Note"
    6064msgstr ""
    6165
    62 #: includes/post-type-note.php:38
     66#: includes/post-type-note.php:
    6367msgid "View Notes"
    6468msgstr ""
    6569
    66 #: includes/post-type-note.php:39
     70#: includes/post-type-note.php:
    6771msgid "Search Notes"
    6872msgstr ""
    6973
    70 #: includes/post-type-note.php:40
     74#: includes/post-type-note.php:4
    7175msgid "No notes found."
    7276msgstr ""
    7377
    74 #: includes/post-type-note.php:41
     78#: includes/post-type-note.php:4
    7579msgid "No notes found in Trash."
    7680msgstr ""
    7781
    78 #: includes/post-type-note.php:42
     82#: includes/post-type-note.php:4
    7983msgid "All Notes"
    8084msgstr ""
    8185
    82 #: includes/post-type-note.php:43
     86#: includes/post-type-note.php:4
    8387msgid "Note Archives"
    8488msgstr ""
    8589
    86 #: includes/post-type-note.php:44
     90#: includes/post-type-note.php:4
    8791msgid "Note Attributes"
    8892msgstr ""
    8993
    90 #: includes/post-type-note.php:45
     94#: includes/post-type-note.php:4
    9195msgid "Insert into note"
    9296msgstr ""
    9397
    94 #: includes/post-type-note.php:46
     98#: includes/post-type-note.php:4
    9599msgid "Uploaded to this note"
    96100msgstr ""
    97101
    98 #: includes/post-type-note.php:47
     102#: includes/post-type-note.php:4
    99103msgid "Filter notess list"
    100104msgstr ""
    101105
    102 #: includes/post-type-note.php:48
     106#: includes/post-type-note.php:
    103107msgid "Notes list navigation"
    104108msgstr ""
    105109
    106 #: includes/post-type-note.php:49
     110#: includes/post-type-note.php:
    107111msgid "Notes list"
    108112msgstr ""
    109113
    110 #: includes/post-type-note.php:50
     114#: includes/post-type-note.php:5
    111115msgid "Note published."
    112116msgstr ""
    113117
    114 #: includes/post-type-note.php:51
     118#: includes/post-type-note.php:5
    115119msgid "Note published privately."
    116120msgstr ""
    117121
    118 #: includes/post-type-note.php:52
     122#: includes/post-type-note.php:5
    119123msgid "Note reverted to draft."
    120124msgstr ""
    121125
    122 #: includes/post-type-note.php:53
     126#: includes/post-type-note.php:5
    123127msgid "Note scheduled."
    124128msgstr ""
    125129
    126 #: includes/post-type-note.php:54
     130#: includes/post-type-note.php:5
    127131msgid "Note updated."
    128132msgstr ""
    129133
    130 #: includes/post-type-note.php:103
     134#: includes/post-type-note.php:118
     135msgid "The type of note."
     136msgstr ""
     137
     138#: includes/post-type-note.php:132
    131139msgid "The URL this note is a reply to."
    132140msgstr ""
    133141
    134 #: includes/post-type-note.php:117
     142#: includes/post-type-note.php:1
    135143msgid "A name this note is a reply to"
    136144msgstr ""
    137145
    138 #: includes/post-type-note.php:190
     146#: includes/post-type-note.php:
    139147msgid "Image posted on"
    140148msgstr ""
    141149
    142 #: includes/post-type-note.php:192
     150#: includes/post-type-note.php:
    143151msgid "Images posted on"
    144152msgstr ""
    145153
    146 #: includes/post-type-note.php:242
    147 msgid "Your note"
    148 msgstr ""
    149 
    150 #: includes/post-type-note.php:270
     154#: includes/post-type-note.php:320
    151155msgid "this post"
    152156msgstr ""
    153157
    154 #: plugin.php:26
     158#: includes/post-type-note.php:334
     159msgid "In reply to:"
     160msgstr ""
     161
     162#: plugin.php:28
    155163msgid "The Shortnotes WordPress plugin requires PHP 5.6 to function properly. Please upgrade PHP or deactivate the plugin."
    156164msgstr ""
    157165
    158166#: build/index.js:1
    159 #: src/index.js:23
    160 msgid "Reply to"
     167#: src/index.js:
     168msgid ""
    161169msgstr ""
    162170
    163171#: build/index.js:1
    164 #: src/index.js:27
    165 msgid "Reply to URL (optional)"
     172#: src/index.js:
     173msgid ""
    166174msgstr ""
    167175
    168176#: build/index.js:1
    169 #: src/index.js:28
    170 msgid "Enter a URL if this note is a reply"
     177#: src/index.js:
     178msgid ""
    171179msgstr ""
    172180
    173181#: build/index.js:1
    174 #: src/index.js:33
     182#: src/index.js:62
     183msgid "Enter the URL to which this note is a reply"
     184msgstr ""
     185
     186#: build/index.js:1
     187#: src/index.js:72
    175188msgid "Reply to name (optional)"
    176189msgstr ""
    177190
    178191#: build/index.js:1
    179 #: src/index.js:34
    180 msgid "Enter a name this reply is directed to"
     192#: src/index.js:
     193msgid "Enter a name this reply is directed to"
    181194msgstr ""
  • shortnotes/tags/1.4.0/plugin.php

    r2741908 r2824968  
    88 * Text Domain:     shortnotes
    99 * Domain Path:     /languages
    10  * Version:         1.3.1
     10 * Version:         1.4.0
     11 *
     12 * @package shortnotes
    1113 */
    1214
     
    3335require_once __DIR__ . '/includes/common.php';
    3436require_once __DIR__ . '/includes/post-type-note.php';
     37
    3538require_once __DIR__ . '/includes/webmention.php';
  • shortnotes/tags/1.4.0/readme.txt

    r2741908 r2824968  
    33Tags: indieweb, notes, replies, short
    44Requires at least: 5.6
    5 Tested up to: 6.0
    6 Stable tag: 1.3.1
     5Tested up to: 6.
     6Stable tag: 1.
    77License: GPLv2 or Later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6464## Changelog
    6565
     66
     67
     68
     69
     70
     71
     72
     73
     74
    6675### 1.3.1
    6776
  • shortnotes/trunk/includes/common.php

    r2571529 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\Common;
     
    2328        true
    2429    );
    25 
    2630}
  • shortnotes/trunk/includes/post-type-note.php

    r2719713 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\PostType\Note;
     
    2833            'name'                     => __( 'Notes', 'shortnotes' ),
    2934            'singular_name'            => __( 'Note', 'shortnotes' ),
    30             'add_new'                  => __( 'Add New' ),
     35            'add_new'                  => __( 'Add New' ),
    3136            'add_new_item'             => __( 'Add New Note', 'shortnotes' ),
    3237            'edit_item'                => __( 'Edit Note', 'shortnotes' ),
     
    284289    }
    285290
    286     if ( 'publish' === $post_data['post_status'] ) {
     291    if ( ) {
    287292        $post_data['post_title'] = get_formatted_title( $post_data );
    288293    }
     
    327332    $reply_to_name = apply_filters( 'shortnotes_reply_to_name', $reply_to_name, $post, $reply_to_url );
    328333
    329     $reply_to_markup = '<p class="shortnotes-reply-to">' . __( 'In reply to:' ) . ' <a class="u-in-reply-to" href="' . esc_url( $reply_to_url ) . '">' . esc_html( $reply_to_name ) . '</a></p>';
     334    $reply_to_markup = '<p class="shortnotes-reply-to">' . __( 'In reply to:' ) . ' <a class="u-in-reply-to" href="' . esc_url( $reply_to_url ) . '">' . esc_html( $reply_to_name ) . '</a></p>';
    330335
    331336    return $reply_to_markup;
  • shortnotes/trunk/includes/webmention.php

    r2492784 r2824968  
    11<?php
     2
     3
     4
     5
     6
    27
    38namespace ShortNotes\Webmention;
  • shortnotes/trunk/languages/shortnotes.pot

    r2494488 r2824968  
    1 # Copyright (C) 2021 jeremyfelt
     1# Copyright (C) 202 jeremyfelt
    22# This file is distributed under the same license as the Shortnotes plugin.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Shortnotes 1.0.2\n"
     5"Project-Id-Version: Shortnotes 1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortnotes\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-03-12T20:01:18+00:00\n"
     12"POT-Creation-Date: 202+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.4.0\n"
     14"X-Generator: WP-CLI 2..0\n"
    1515"X-Domain: shortnotes\n"
    1616
     
    2020
    2121#. Plugin URI of the plugin
    22 msgid "https://wordpress.org/plugins/shortnotes/"
     22msgid "https://"
    2323msgstr ""
    2424
     
    3535msgstr ""
    3636
    37 #: includes/post-type-note.php:31
     37#: includes/post-type-note.php:3
    3838msgid "Notes"
    3939msgstr ""
    4040
    41 #: includes/post-type-note.php:32
    42 #: includes/post-type-note.php:155
     41#: includes/post-type-note.php:3
     42#: includes/post-type-note.php:1
    4343msgid "Note"
    4444msgstr ""
    4545
    46 #: includes/post-type-note.php:34
     46#: includes/post-type-note.php:35
     47msgid "Add New"
     48msgstr ""
     49
     50#: includes/post-type-note.php:36
    4751msgid "Add New Note"
    4852msgstr ""
    4953
    50 #: includes/post-type-note.php:35
     54#: includes/post-type-note.php:3
    5155msgid "Edit Note"
    5256msgstr ""
    5357
    54 #: includes/post-type-note.php:36
     58#: includes/post-type-note.php:3
    5559msgid "New Note"
    5660msgstr ""
    5761
    58 #: includes/post-type-note.php:37
     62#: includes/post-type-note.php:3
    5963msgid "View Note"
    6064msgstr ""
    6165
    62 #: includes/post-type-note.php:38
     66#: includes/post-type-note.php:
    6367msgid "View Notes"
    6468msgstr ""
    6569
    66 #: includes/post-type-note.php:39
     70#: includes/post-type-note.php:
    6771msgid "Search Notes"
    6872msgstr ""
    6973
    70 #: includes/post-type-note.php:40
     74#: includes/post-type-note.php:4
    7175msgid "No notes found."
    7276msgstr ""
    7377
    74 #: includes/post-type-note.php:41
     78#: includes/post-type-note.php:4
    7579msgid "No notes found in Trash."
    7680msgstr ""
    7781
    78 #: includes/post-type-note.php:42
     82#: includes/post-type-note.php:4
    7983msgid "All Notes"
    8084msgstr ""
    8185
    82 #: includes/post-type-note.php:43
     86#: includes/post-type-note.php:4
    8387msgid "Note Archives"
    8488msgstr ""
    8589
    86 #: includes/post-type-note.php:44
     90#: includes/post-type-note.php:4
    8791msgid "Note Attributes"
    8892msgstr ""
    8993
    90 #: includes/post-type-note.php:45
     94#: includes/post-type-note.php:4
    9195msgid "Insert into note"
    9296msgstr ""
    9397
    94 #: includes/post-type-note.php:46
     98#: includes/post-type-note.php:4
    9599msgid "Uploaded to this note"
    96100msgstr ""
    97101
    98 #: includes/post-type-note.php:47
     102#: includes/post-type-note.php:4
    99103msgid "Filter notess list"
    100104msgstr ""
    101105
    102 #: includes/post-type-note.php:48
     106#: includes/post-type-note.php:
    103107msgid "Notes list navigation"
    104108msgstr ""
    105109
    106 #: includes/post-type-note.php:49
     110#: includes/post-type-note.php:
    107111msgid "Notes list"
    108112msgstr ""
    109113
    110 #: includes/post-type-note.php:50
     114#: includes/post-type-note.php:5
    111115msgid "Note published."
    112116msgstr ""
    113117
    114 #: includes/post-type-note.php:51
     118#: includes/post-type-note.php:5
    115119msgid "Note published privately."
    116120msgstr ""
    117121
    118 #: includes/post-type-note.php:52
     122#: includes/post-type-note.php:5
    119123msgid "Note reverted to draft."
    120124msgstr ""
    121125
    122 #: includes/post-type-note.php:53
     126#: includes/post-type-note.php:5
    123127msgid "Note scheduled."
    124128msgstr ""
    125129
    126 #: includes/post-type-note.php:54
     130#: includes/post-type-note.php:5
    127131msgid "Note updated."
    128132msgstr ""
    129133
    130 #: includes/post-type-note.php:103
     134#: includes/post-type-note.php:118
     135msgid "The type of note."
     136msgstr ""
     137
     138#: includes/post-type-note.php:132
    131139msgid "The URL this note is a reply to."
    132140msgstr ""
    133141
    134 #: includes/post-type-note.php:117
     142#: includes/post-type-note.php:1
    135143msgid "A name this note is a reply to"
    136144msgstr ""
    137145
    138 #: includes/post-type-note.php:190
     146#: includes/post-type-note.php:
    139147msgid "Image posted on"
    140148msgstr ""
    141149
    142 #: includes/post-type-note.php:192
     150#: includes/post-type-note.php:
    143151msgid "Images posted on"
    144152msgstr ""
    145153
    146 #: includes/post-type-note.php:242
    147 msgid "Your note"
    148 msgstr ""
    149 
    150 #: includes/post-type-note.php:270
     154#: includes/post-type-note.php:320
    151155msgid "this post"
    152156msgstr ""
    153157
    154 #: plugin.php:26
     158#: includes/post-type-note.php:334
     159msgid "In reply to:"
     160msgstr ""
     161
     162#: plugin.php:28
    155163msgid "The Shortnotes WordPress plugin requires PHP 5.6 to function properly. Please upgrade PHP or deactivate the plugin."
    156164msgstr ""
    157165
    158166#: build/index.js:1
    159 #: src/index.js:23
    160 msgid "Reply to"
     167#: src/index.js:
     168msgid ""
    161169msgstr ""
    162170
    163171#: build/index.js:1
    164 #: src/index.js:27
    165 msgid "Reply to URL (optional)"
     172#: src/index.js:
     173msgid ""
    166174msgstr ""
    167175
    168176#: build/index.js:1
    169 #: src/index.js:28
    170 msgid "Enter a URL if this note is a reply"
     177#: src/index.js:
     178msgid ""
    171179msgstr ""
    172180
    173181#: build/index.js:1
    174 #: src/index.js:33
     182#: src/index.js:62
     183msgid "Enter the URL to which this note is a reply"
     184msgstr ""
     185
     186#: build/index.js:1
     187#: src/index.js:72
    175188msgid "Reply to name (optional)"
    176189msgstr ""
    177190
    178191#: build/index.js:1
    179 #: src/index.js:34
    180 msgid "Enter a name this reply is directed to"
     192#: src/index.js:
     193msgid "Enter a name this reply is directed to"
    181194msgstr ""
  • shortnotes/trunk/plugin.php

    r2741908 r2824968  
    88 * Text Domain:     shortnotes
    99 * Domain Path:     /languages
    10  * Version:         1.3.1
     10 * Version:         1.4.0
     11 *
     12 * @package shortnotes
    1113 */
    1214
     
    3335require_once __DIR__ . '/includes/common.php';
    3436require_once __DIR__ . '/includes/post-type-note.php';
     37
    3538require_once __DIR__ . '/includes/webmention.php';
  • shortnotes/trunk/readme.txt

    r2741908 r2824968  
    33Tags: indieweb, notes, replies, short
    44Requires at least: 5.6
    5 Tested up to: 6.0
    6 Stable tag: 1.3.1
     5Tested up to: 6.
     6Stable tag: 1.
    77License: GPLv2 or Later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6464## Changelog
    6565
     66
     67
     68
     69
     70
     71
     72
     73
     74
    6675### 1.3.1
    6776
Note: See TracChangeset for help on using the changeset viewer.