Plugin Directory

Changeset 3076648

Timestamp:
04/24/2024 06:57:40 PM (3 months ago)
Author:
helgatheviking
Message:

Update to version 4.0.1 from GitHub

Location:
kia-subtitle
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • kia-subtitle/assets/banner-772x250.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • kia-subtitle/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • kia-subtitle/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • kia-subtitle/assets/screenshot-3.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • kia-subtitle/tags/4.0.1/assets/js/dist/index.asset.php

    r3061381 r3076648  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '89467c066d9bed63b867');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '');
  • kia-subtitle/tags/4.0.1/assets/js/dist/index.js

    r3061381 r3076648  
    1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const r=window.React,l=window.wp.components,o=window.wp.data,a=window.wp.coreData,i=window.wp.editPost,s=window.wp.plugins,u=window.wp.i18n;(0,s.registerPlugin)("kia-subtitle",{render:e=>{const{getCurrentPostType:t}=(0,o.useSelect)("core/editor"),n=t();if(!n)return null;const[s,c]=(0,a.useEntityProp)("postType",n,"meta"),p=s?.kia_subtitle||"";return(0,r.createElement)(i.PluginDocumentSettingPanel,{name:"kia-subtitle-panel",title:(0,u.__)("Subtitle","kia-subtitle"),className:"kia-subtitle-panel"},(0,r.createElement)(l.TextControl,{value:p,onChange:e=>{c({...s,kia_subtitle:e})}}))},icon:"edit"});const c=window.wp.blocks,p=window.wp.primitives,d=(0,r.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(p.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"}));var g=n(942),m=n.n(g);const b=window.wp.blockEditor,k=window.wp.hooks,v=(0,window.wp.compose.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:l}=t;return"kia/post-subtitle"!=n?(0,r.createElement)(e,{...t}):(0,r.createElement)(e,{...t,className:"subtitle"})}),"addSubtitleBlockClass");(0,k.addFilter)("editor.BlockListBlock","kia-subtitle/subtitle-block-class",v);const w=JSON.parse('{"UU":"kia/post-subtitle"}');(0,c.registerBlockType)(w.UU,{edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:i,linkTarget:s},setAttributes:p,context:{postType:d,postId:g,queryId:k},insertBlocksAfter:v}){const w="h"+e,h=Number.isFinite(k),_=(f="postType",E=!h&&d,y=g,(0,o.useSelect)((e=>e("core").canUserEditEntityRecord(f,E,y)),[f,E,y]));var f,E,y;const[x,C]=(0,a.useEntityProp)("postType",d,"meta"),S=x?.kia_subtitle||"",T=e=>{C({...x,kia_subtitle:e})},[O]=(0,a.useEntityProp)("postType",d,"link",g),P=()=>{v((0,c.createBlock)((0,c.getDefaultBlockName)()))},B=(0,b.useBlockProps)({className:m()({[`has-text-align-${t}`]:t})}),N=(0,b.useBlockEditingMode)();console.debug("blockEditingMode",N);let A=(0,r.createElement)(w,{...B},(0,u.__)("Subtitle","kia-subtitle"));return d&&g&&(A=_?(0,r.createElement)(b.PlainText,{tagName:w,placeholder:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P,...B}):(0,r.createElement)(w,{...B,dangerouslySetInnerHTML:{__html:S?.rendered}})),n&&d&&g&&(A=_?(0,r.createElement)(w,{...B},(0,r.createElement)(b.PlainText,{tagName:"a",href:O,target:s,rel:i,placeholder:S.length?null:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P})):(0,r.createElement)(w,{...B},(0,r.createElement)("a",{href:O,target:s,rel:i,onClick:e=>e.preventDefault(),dangerouslySetInnerHTML:{__html:S?.rendered}}))),(0,r.createElement)(r.Fragment,null,"default"===N&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.BlockControls,{group:"block"},(0,r.createElement)(b.HeadingLevelDropdown,{value:e,onChange:e=>p({level:e})}),(0,r.createElement)(b.AlignmentControl,{value:t,onChange:e=>{p({textAlign:e})}})),(0,r.createElement)(b.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:(0,u.__)("Settings")},(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Make subtitle a link","kia-subtitle"),onChange:()=>p({isLink:!n}),checked:n}),n&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Open in new tab"),onChange:e=>p({linkTarget:e?"_blank":"_self"}),checked:"_blank"===s}),(0,r.createElement)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Link rel"),value:i,onChange:e=>p({rel:e})}))))),A)},icon:d,save:()=>null})},942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var l=n[e];if(void 0!==l)return l.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,l,o)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,l,o]=e[c],i=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(i=!1,o<a&&(a=o));if(i){e.splice(c--,1);var u=l();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,l,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var l,o,[a,i,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(l in i)r.o(i,l)&&(r.m[l]=i[l]);if(s)var c=s(r)}for(t&&t(n);u<a.length;u++)o=a[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=globalThis.webpackChunkkia_subtitle=globalThis.webpackChunkkia_subtitle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l=r.O(void 0,[350],(()=>r(582)));l=r.O(l)})();
     1(()=>{var e,t={582:(e,t,n)=>{"use strict";const )})();
  • kia-subtitle/tags/4.0.1/assets/js/dist/style-index.css

    r3061381 r3076648  
    1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block}
     1.wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block}
  • kia-subtitle/tags/4.0.1/assets/js/subtitle.min.js

    r3061381 r3076648  
    1 /*! kia-subtitle 4.0.0 */
     1/*! kia-subtitle 4.0. */
    22!function(e){e("#the_subtitle").insertAfter("#title"),e(document).on("keydown","#title, #the_subtitle",function(t){9==(t.keyCode||t.which)&&(t.preventDefault(),"#the_subtitle"==(t="title"==e(this).attr("id")?"#the_subtitle":"textarea#content")||e("#wp-content-wrap").hasClass("html-active")?e(t).focus():tinymce.execCommand("mceFocus",!1,"content"))}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert(),tag_id=e(this).parents("tr").attr("id"),posttitlelabel=e(':input[name="post_title"]',".inline-edit-row").parents("label"),subtitle=e("div.kia-subtitle-value","#"+tag_id).text(),e("input.kia-subtitle-input",".inline-edit-row").val(subtitle).parents("label").insertAfter(posttitlelabel)})}(jQuery);
  • kia-subtitle/tags/4.0.1/kia-subtitle.php

    r3061381 r3076648  
    55 * Description: Adds a subtitle field to WordPress' Post editor
    66 * Author: Kathy Darling
    7  * Version: 4.0.0
     7 * Version: 4.0.
    88 * Author URI: http://www.kathyisawesome.com
    99 * License: GPL3
     
    4848     * @since 1.6
    4949     */
    50     public $version = '4.0.0';
     50    public $version = '4.0.';
    5151
    5252    /**
  • kia-subtitle/tags/4.0.1/languages/kia-subtitle.pot

    r3061381 r3076648  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: KIA Subtitle 4.0.0\n"
     5"Project-Id-Version: KIA Subtitle 4.0.\n"
    66"Report-Msgid-Bugs-To: https://github.com/helgatheviking/kia-subtitle/issues/new/\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: 2024-03-29T20:52:11-04:00\n"
     12"POT-Creation-Date: 2024-0:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.9.0\n"
     14"X-Generator: WP-CLI 2..0\n"
    1515"X-Domain: kia-subtitle\n"
    1616
    1717#. Plugin Name of the plugin
     18
    1819#: includes/views/plugin-options.php:12
    1920#: kia-subtitle.php:203
     
    2223
    2324#. Plugin URI of the plugin
     25
    2426msgid "http://www.kathyisawesome.com/436/kia-subtitle/"
    2527msgstr ""
    2628
    2729#. Description of the plugin
     30
    2831msgid "Adds a subtitle field to WordPress' Post editor"
    2932msgstr ""
    3033
    3134#. Author of the plugin
     35
    3236msgid "Kathy Darling"
    3337msgstr ""
    3438
    3539#. Author URI of the plugin
     40
    3641msgid "http://www.kathyisawesome.com"
    3742msgstr ""
  • kia-subtitle/tags/4.0.1/readme.txt

    r3065687 r3076648  
    55Requires at least: 6.1
    66Tested up to: 6.5.0
    7 Stable tag: 4.0.0
     7Stable tag: 4.0.
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3838This plugin does _not_ attempt to output the subtitle. With an infinite number of themes, it is not possible for us to support that. The onus is on the user to customize their theme accordingly. The plugin provides two template tags that can be used to customize your theme as desired.
    3939
    40 = `the_subtitle( string $before = '', string $after = '', bool $display = true ): void|string` =
     40= `the_subtitle( string $before = , bool $display = true ): void|string` =
    4141
    4242Displays or retrieves the current post subtitle with optional markup.
     
    4545
    4646`$before` `string` `optional`
    47 Markup to prepend to the title.
    48 Default: `''`
     47Markup to prepend to the title.
     48Default: `''`
    4949
    5050`$after` `string` `optional`
    51 Markup to append to the title.
    52 Default: `''`
     51Markup to append to the title.
     52Default: `''`
    5353
    5454`$display` `bool` `optional`
    55 Whether to echo or return the title. Default true for echo.
    56 Default: `true`
     55Whether to echo or return the title. Default true for echo.
     56Default: `true`
    5757
    5858
     
    192192== Changelog ==
    193193
     194
     195
     196
    194197= 4.0.0 =
    195198* Important: Requires WordPress 6.1
  • kia-subtitle/trunk/assets/js/dist/index.asset.php

    r3061381 r3076648  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '89467c066d9bed63b867');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '');
  • kia-subtitle/trunk/assets/js/dist/index.js

    r3061381 r3076648  
    1 (()=>{var e,t={582:(e,t,n)=>{"use strict";const r=window.React,l=window.wp.components,o=window.wp.data,a=window.wp.coreData,i=window.wp.editPost,s=window.wp.plugins,u=window.wp.i18n;(0,s.registerPlugin)("kia-subtitle",{render:e=>{const{getCurrentPostType:t}=(0,o.useSelect)("core/editor"),n=t();if(!n)return null;const[s,c]=(0,a.useEntityProp)("postType",n,"meta"),p=s?.kia_subtitle||"";return(0,r.createElement)(i.PluginDocumentSettingPanel,{name:"kia-subtitle-panel",title:(0,u.__)("Subtitle","kia-subtitle"),className:"kia-subtitle-panel"},(0,r.createElement)(l.TextControl,{value:p,onChange:e=>{c({...s,kia_subtitle:e})}}))},icon:"edit"});const c=window.wp.blocks,p=window.wp.primitives,d=(0,r.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(p.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"}));var g=n(942),m=n.n(g);const b=window.wp.blockEditor,k=window.wp.hooks,v=(0,window.wp.compose.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:l}=t;return"kia/post-subtitle"!=n?(0,r.createElement)(e,{...t}):(0,r.createElement)(e,{...t,className:"subtitle"})}),"addSubtitleBlockClass");(0,k.addFilter)("editor.BlockListBlock","kia-subtitle/subtitle-block-class",v);const w=JSON.parse('{"UU":"kia/post-subtitle"}');(0,c.registerBlockType)(w.UU,{edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:i,linkTarget:s},setAttributes:p,context:{postType:d,postId:g,queryId:k},insertBlocksAfter:v}){const w="h"+e,h=Number.isFinite(k),_=(f="postType",E=!h&&d,y=g,(0,o.useSelect)((e=>e("core").canUserEditEntityRecord(f,E,y)),[f,E,y]));var f,E,y;const[x,C]=(0,a.useEntityProp)("postType",d,"meta"),S=x?.kia_subtitle||"",T=e=>{C({...x,kia_subtitle:e})},[O]=(0,a.useEntityProp)("postType",d,"link",g),P=()=>{v((0,c.createBlock)((0,c.getDefaultBlockName)()))},B=(0,b.useBlockProps)({className:m()({[`has-text-align-${t}`]:t})}),N=(0,b.useBlockEditingMode)();console.debug("blockEditingMode",N);let A=(0,r.createElement)(w,{...B},(0,u.__)("Subtitle","kia-subtitle"));return d&&g&&(A=_?(0,r.createElement)(b.PlainText,{tagName:w,placeholder:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P,...B}):(0,r.createElement)(w,{...B,dangerouslySetInnerHTML:{__html:S?.rendered}})),n&&d&&g&&(A=_?(0,r.createElement)(w,{...B},(0,r.createElement)(b.PlainText,{tagName:"a",href:O,target:s,rel:i,placeholder:S.length?null:(0,u.__)("No Subtitle","kia-subtitle"),value:S,onChange:T,__experimentalVersion:2,__unstableOnSplitAtEnd:P})):(0,r.createElement)(w,{...B},(0,r.createElement)("a",{href:O,target:s,rel:i,onClick:e=>e.preventDefault(),dangerouslySetInnerHTML:{__html:S?.rendered}}))),(0,r.createElement)(r.Fragment,null,"default"===N&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(b.BlockControls,{group:"block"},(0,r.createElement)(b.HeadingLevelDropdown,{value:e,onChange:e=>p({level:e})}),(0,r.createElement)(b.AlignmentControl,{value:t,onChange:e=>{p({textAlign:e})}})),(0,r.createElement)(b.InspectorControls,null,(0,r.createElement)(l.PanelBody,{title:(0,u.__)("Settings")},(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Make subtitle a link","kia-subtitle"),onChange:()=>p({isLink:!n}),checked:n}),n&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Open in new tab"),onChange:e=>p({linkTarget:e?"_blank":"_self"}),checked:"_blank"===s}),(0,r.createElement)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Link rel"),value:i,onChange:e=>p({rel:e})}))))),A)},icon:d,save:()=>null})},942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var l=n[e];if(void 0!==l)return l.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,l,o)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,l,o]=e[c],i=!0,s=0;s<n.length;s++)(!1&o||a>=o)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(i=!1,o<a&&(a=o));if(i){e.splice(c--,1);var u=l();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,l,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var l,o,[a,i,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(l in i)r.o(i,l)&&(r.m[l]=i[l]);if(s)var c=s(r)}for(t&&t(n);u<a.length;u++)o=a[u],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},n=globalThis.webpackChunkkia_subtitle=globalThis.webpackChunkkia_subtitle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var l=r.O(void 0,[350],(()=>r(582)));l=r.O(l)})();
     1(()=>{var e,t={582:(e,t,n)=>{"use strict";const )})();
  • kia-subtitle/trunk/assets/js/dist/style-index.css

    r3061381 r3076648  
    1 .wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block}
     1.wp-block-kia-post-subtitle{box-sizing:border-box;word-break:break-word}.wp-block-kia-post-subtitle a{display:inline-block}
  • kia-subtitle/trunk/assets/js/subtitle.min.js

    r3061381 r3076648  
    1 /*! kia-subtitle 4.0.0 */
     1/*! kia-subtitle 4.0. */
    22!function(e){e("#the_subtitle").insertAfter("#title"),e(document).on("keydown","#title, #the_subtitle",function(t){9==(t.keyCode||t.which)&&(t.preventDefault(),"#the_subtitle"==(t="title"==e(this).attr("id")?"#the_subtitle":"textarea#content")||e("#wp-content-wrap").hasClass("html-active")?e(t).focus():tinymce.execCommand("mceFocus",!1,"content"))}),e("#the-list").on("click",".editinline",function(){inlineEditPost.revert(),tag_id=e(this).parents("tr").attr("id"),posttitlelabel=e(':input[name="post_title"]',".inline-edit-row").parents("label"),subtitle=e("div.kia-subtitle-value","#"+tag_id).text(),e("input.kia-subtitle-input",".inline-edit-row").val(subtitle).parents("label").insertAfter(posttitlelabel)})}(jQuery);
  • kia-subtitle/trunk/kia-subtitle.php

    r3061381 r3076648  
    55 * Description: Adds a subtitle field to WordPress' Post editor
    66 * Author: Kathy Darling
    7  * Version: 4.0.0
     7 * Version: 4.0.
    88 * Author URI: http://www.kathyisawesome.com
    99 * License: GPL3
     
    4848     * @since 1.6
    4949     */
    50     public $version = '4.0.0';
     50    public $version = '4.0.';
    5151
    5252    /**
  • kia-subtitle/trunk/languages/kia-subtitle.pot

    r3061381 r3076648  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: KIA Subtitle 4.0.0\n"
     5"Project-Id-Version: KIA Subtitle 4.0.\n"
    66"Report-Msgid-Bugs-To: https://github.com/helgatheviking/kia-subtitle/issues/new/\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: 2024-03-29T20:52:11-04:00\n"
     12"POT-Creation-Date: 2024-0:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.9.0\n"
     14"X-Generator: WP-CLI 2..0\n"
    1515"X-Domain: kia-subtitle\n"
    1616
    1717#. Plugin Name of the plugin
     18
    1819#: includes/views/plugin-options.php:12
    1920#: kia-subtitle.php:203
     
    2223
    2324#. Plugin URI of the plugin
     25
    2426msgid "http://www.kathyisawesome.com/436/kia-subtitle/"
    2527msgstr ""
    2628
    2729#. Description of the plugin
     30
    2831msgid "Adds a subtitle field to WordPress' Post editor"
    2932msgstr ""
    3033
    3134#. Author of the plugin
     35
    3236msgid "Kathy Darling"
    3337msgstr ""
    3438
    3539#. Author URI of the plugin
     40
    3641msgid "http://www.kathyisawesome.com"
    3742msgstr ""
  • kia-subtitle/trunk/readme.txt

    r3065687 r3076648  
    55Requires at least: 6.1
    66Tested up to: 6.5.0
    7 Stable tag: 4.0.0
     7Stable tag: 4.0.
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3838This plugin does _not_ attempt to output the subtitle. With an infinite number of themes, it is not possible for us to support that. The onus is on the user to customize their theme accordingly. The plugin provides two template tags that can be used to customize your theme as desired.
    3939
    40 = `the_subtitle( string $before = '', string $after = '', bool $display = true ): void|string` =
     40= `the_subtitle( string $before = , bool $display = true ): void|string` =
    4141
    4242Displays or retrieves the current post subtitle with optional markup.
     
    4545
    4646`$before` `string` `optional`
    47 Markup to prepend to the title.
    48 Default: `''`
     47Markup to prepend to the title.
     48Default: `''`
    4949
    5050`$after` `string` `optional`
    51 Markup to append to the title.
    52 Default: `''`
     51Markup to append to the title.
     52Default: `''`
    5353
    5454`$display` `bool` `optional`
    55 Whether to echo or return the title. Default true for echo.
    56 Default: `true`
     55Whether to echo or return the title. Default true for echo.
     56Default: `true`
    5757
    5858
     
    192192== Changelog ==
    193193
     194
     195
     196
    194197= 4.0.0 =
    195198* Important: Requires WordPress 6.1
Note: See TracChangeset for help on using the changeset viewer.