Changeset 2473390
- Timestamp:
- 02/11/2021 11:13:15 PM (5 years ago)
- Location:
- pinecast-wp-sync
- Files:
-
- 14 edited
- 1 copied
-
tags/1.0.14 (copied) (copied from pinecast-wp-sync/trunk)
-
tags/1.0.14/dist/admin/js/pinecast.min.js (modified) (1 diff)
-
tags/1.0.14/includes/class-podcast.php (modified) (2 diffs)
-
tags/1.0.14/package-lock.json (modified) (1 diff)
-
tags/1.0.14/package.json (modified) (1 diff)
-
tags/1.0.14/pinecast.php (modified) (1 diff)
-
tags/1.0.14/plugin.php (modified) (1 diff)
-
tags/1.0.14/readme.txt (modified) (1 diff)
-
trunk/dist/admin/js/pinecast.min.js (modified) (1 diff)
-
trunk/includes/class-podcast.php (modified) (2 diffs)
-
trunk/package-lock.json (modified) (1 diff)
-
trunk/package.json (modified) (1 diff)
-
trunk/pinecast.php (modified) (1 diff)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pinecast-wp-sync/tags/1.0.14/dist/admin/js/pinecast.min.js
r2122321 r2473390 1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(a){a(function(){a(".pinecast-feed").each(function(){a(this).pinecastFeed()})}),a.fn.pinecastFeed=function(){return new pinecastFeed(this),this};var t={init:function(e){this.find(".pinecast-feed-header").on("click",function(e){a(this).parents(".pinecast-feed").pinecastFeed("toggle")}),this.find(".feed-name").on("keyup",function(e){a(this).parents(".pinecast-feed").pinecastFeed("updateName",e.target.value)}),this.find(".pinecast-sync-now:not([disabled])").on("click",function(e){e.preventDefault(),a(this).parents(".pinecast-feed").pinecastFeed("sync")})},open:function(){this.addClass("open")},close:function(){this.removeClass("open")},toggle:function(){this.hasClass("open")?this.pinecastFeed("close"):this.pinecastFeed("open")},updateName:function(e){this.find(".pinecast-feed-header .title").html(e)},sync:function(){var t=a(this),n=t.find(".pinecast-sync-now");if(!n.hasClass("disabled")){n.addClass("disabled");var i=t.find(".sync-spinner");i.addClass("is-active");var e={action:"pinecast_sync_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){i.removeClass("is-active"),n.removeClass("disabled"),e.last_updated&&t.find(".last-updated"). html(e.last_updated)})}},delete:function(){var e={action:"pinecast_delete_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){})}};a.fn.pinecastFeed=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!==_typeof(e)&&e?void a.error("Method "+e+" does not exist on jQuery.pinecastFeed"):t.init.apply(this,arguments)},a(".pinecast-feeds-wrap").repeater({addTrigger:"#pinecast-add-podcast",removeTrigger:".pinecast-feed .delete",template:".pinecast-feed-template .pinecast-feed",elementWrap:".pinecast-feed",elementsContainer:".pinecast-feeds",removeElement:function(e){e.remove(),a(e).pinecastFeed("delete")},onAddElement:function(e,t,n){var i=Math.floor(899999999*Math.random()+1e8);e.find("input[name], select[name]").attr("name",function(e,t){return t.replace("9999",i)||t}),e.find("input[id], select[id]").attr("id",function(e,t){return t.replace("9999",i)||t}),e.find(".otherwise-required").attr("required","required"),e.pinecastFeed(),e.pinecastFeed("open")}})}(jQuery);1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(a){a(function(){a(".pinecast-feed").each(function(){a(this).pinecastFeed()})}),a.fn.pinecastFeed=function(){return new pinecastFeed(this),this};var t={init:function(e){this.find(".pinecast-feed-header").on("click",function(e){a(this).parents(".pinecast-feed").pinecastFeed("toggle")}),this.find(".feed-name").on("keyup",function(e){a(this).parents(".pinecast-feed").pinecastFeed("updateName",e.target.value)}),this.find(".pinecast-sync-now:not([disabled])").on("click",function(e){e.preventDefault(),a(this).parents(".pinecast-feed").pinecastFeed("sync")})},open:function(){this.addClass("open")},close:function(){this.removeClass("open")},toggle:function(){this.hasClass("open")?this.pinecastFeed("close"):this.pinecastFeed("open")},updateName:function(e){this.find(".pinecast-feed-header .title").html(e)},sync:function(){var t=a(this),n=t.find(".pinecast-sync-now");if(!n.hasClass("disabled")){n.addClass("disabled");var i=t.find(".sync-spinner");i.addClass("is-active");var e={action:"pinecast_sync_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){i.removeClass("is-active"),n.removeClass("disabled"),e.last_updated&&t.find(".last-updated").text(e.last_updated)})}},delete:function(){var e={action:"pinecast_delete_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){})}};a.fn.pinecastFeed=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!==_typeof(e)&&e?void a.error("Method "+e+" does not exist on jQuery.pinecastFeed"):t.init.apply(this,arguments)},a(".pinecast-feeds-wrap").repeater({addTrigger:"#pinecast-add-podcast",removeTrigger:".pinecast-feed .delete",template:".pinecast-feed-template .pinecast-feed",elementWrap:".pinecast-feed",elementsContainer:".pinecast-feeds",removeElement:function(e){e.remove(),a(e).pinecastFeed("delete")},onAddElement:function(e,t,n){var i=Math.floor(899999999*Math.random()+1e8);e.find("input[name], select[name]").attr("name",function(e,t){return t.replace("9999",i)||t}),e.find("input[id], select[id]").attr("id",function(e,t){return t.replace("9999",i)||t}),e.find(".otherwise-required").attr("required","required"),e.pinecastFeed(),e.pinecastFeed("open")}})}(jQuery); -
pinecast-wp-sync/tags/1.0.14/includes/class-podcast.php
r2446997 r2473390 399 399 if (has_post_thumbnail($post_id)) { 400 400 delete_post_thumbnail($post_id); 401 delete_post_meta data($post_id, '_pinecast_image');401 delete_post_meta($post_id, '_pinecast_image'); 402 402 } 403 403 } … … 432 432 // If there was an existing image that's not the current image, delete it. 433 433 delete_post_thumbnail($post_id); 434 delete_post_meta data($post_id, '_pinecast_image');434 delete_post_meta($post_id, '_pinecast_image'); 435 435 } elseif (has_post_thumbnail($post_id)) { 436 436 // If there was an existing image that's not from Pinecast, -
pinecast-wp-sync/tags/1.0.14/package-lock.json
r2446997 r2473390 1 1 { 2 2 "name": "pinecast", 3 "version": "1.0.1 3",3 "version": "1.0.14", 4 4 "lockfileVersion": 1, 5 5 "requires": true, -
pinecast-wp-sync/tags/1.0.14/package.json
r2446997 r2473390 1 1 { 2 2 "name": "pinecast", 3 "version": "1.0.1 3",3 "version": "1.0.14", 4 4 "description": "", 5 5 "main": "gulpfile.js", -
pinecast-wp-sync/tags/1.0.14/pinecast.php
r2446997 r2473390 8 8 9 9 /** @var string Plugin version */ 10 public $version = '1.0.1 3';10 public $version = '1.0.14'; 11 11 12 12 /** @var string Main plugin file */ -
pinecast-wp-sync/tags/1.0.14/plugin.php
r2446997 r2473390 4 4 * Plugin URI: https://help.pinecast.com/articles/3072843-pinecast-wordpress-sync-plugin 5 5 * Description: Sync your Pinecast podcast episodes from Pinecast to WordPress 6 * Version: 1.0.1 36 * Version: 1.0.14 7 7 * Author: Pinecast 8 8 * Author URI: https://pinecast.com -
pinecast-wp-sync/tags/1.0.14/readme.txt
r2446997 r2473390 4 4 Requires at least: 5.2 5 5 Tested up to: 5.6 6 Stable tag: 1.0.1 36 Stable tag: 1.0.14 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later -
pinecast-wp-sync/trunk/dist/admin/js/pinecast.min.js
r2122321 r2473390 1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(a){a(function(){a(".pinecast-feed").each(function(){a(this).pinecastFeed()})}),a.fn.pinecastFeed=function(){return new pinecastFeed(this),this};var t={init:function(e){this.find(".pinecast-feed-header").on("click",function(e){a(this).parents(".pinecast-feed").pinecastFeed("toggle")}),this.find(".feed-name").on("keyup",function(e){a(this).parents(".pinecast-feed").pinecastFeed("updateName",e.target.value)}),this.find(".pinecast-sync-now:not([disabled])").on("click",function(e){e.preventDefault(),a(this).parents(".pinecast-feed").pinecastFeed("sync")})},open:function(){this.addClass("open")},close:function(){this.removeClass("open")},toggle:function(){this.hasClass("open")?this.pinecastFeed("close"):this.pinecastFeed("open")},updateName:function(e){this.find(".pinecast-feed-header .title").html(e)},sync:function(){var t=a(this),n=t.find(".pinecast-sync-now");if(!n.hasClass("disabled")){n.addClass("disabled");var i=t.find(".sync-spinner");i.addClass("is-active");var e={action:"pinecast_sync_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){i.removeClass("is-active"),n.removeClass("disabled"),e.last_updated&&t.find(".last-updated"). html(e.last_updated)})}},delete:function(){var e={action:"pinecast_delete_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){})}};a.fn.pinecastFeed=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!==_typeof(e)&&e?void a.error("Method "+e+" does not exist on jQuery.pinecastFeed"):t.init.apply(this,arguments)},a(".pinecast-feeds-wrap").repeater({addTrigger:"#pinecast-add-podcast",removeTrigger:".pinecast-feed .delete",template:".pinecast-feed-template .pinecast-feed",elementWrap:".pinecast-feed",elementsContainer:".pinecast-feeds",removeElement:function(e){e.remove(),a(e).pinecastFeed("delete")},onAddElement:function(e,t,n){var i=Math.floor(899999999*Math.random()+1e8);e.find("input[name], select[name]").attr("name",function(e,t){return t.replace("9999",i)||t}),e.find("input[id], select[id]").attr("id",function(e,t){return t.replace("9999",i)||t}),e.find(".otherwise-required").attr("required","required"),e.pinecastFeed(),e.pinecastFeed("open")}})}(jQuery);1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(a){a(function(){a(".pinecast-feed").each(function(){a(this).pinecastFeed()})}),a.fn.pinecastFeed=function(){return new pinecastFeed(this),this};var t={init:function(e){this.find(".pinecast-feed-header").on("click",function(e){a(this).parents(".pinecast-feed").pinecastFeed("toggle")}),this.find(".feed-name").on("keyup",function(e){a(this).parents(".pinecast-feed").pinecastFeed("updateName",e.target.value)}),this.find(".pinecast-sync-now:not([disabled])").on("click",function(e){e.preventDefault(),a(this).parents(".pinecast-feed").pinecastFeed("sync")})},open:function(){this.addClass("open")},close:function(){this.removeClass("open")},toggle:function(){this.hasClass("open")?this.pinecastFeed("close"):this.pinecastFeed("open")},updateName:function(e){this.find(".pinecast-feed-header .title").html(e)},sync:function(){var t=a(this),n=t.find(".pinecast-sync-now");if(!n.hasClass("disabled")){n.addClass("disabled");var i=t.find(".sync-spinner");i.addClass("is-active");var e={action:"pinecast_sync_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){i.removeClass("is-active"),n.removeClass("disabled"),e.last_updated&&t.find(".last-updated").text(e.last_updated)})}},delete:function(){var e={action:"pinecast_delete_podcast",podcast:a(this).attr("data-podcast-id"),nonce:pinecast.nonce};a.post(ajaxurl,e,function(e){})}};a.fn.pinecastFeed=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!==_typeof(e)&&e?void a.error("Method "+e+" does not exist on jQuery.pinecastFeed"):t.init.apply(this,arguments)},a(".pinecast-feeds-wrap").repeater({addTrigger:"#pinecast-add-podcast",removeTrigger:".pinecast-feed .delete",template:".pinecast-feed-template .pinecast-feed",elementWrap:".pinecast-feed",elementsContainer:".pinecast-feeds",removeElement:function(e){e.remove(),a(e).pinecastFeed("delete")},onAddElement:function(e,t,n){var i=Math.floor(899999999*Math.random()+1e8);e.find("input[name], select[name]").attr("name",function(e,t){return t.replace("9999",i)||t}),e.find("input[id], select[id]").attr("id",function(e,t){return t.replace("9999",i)||t}),e.find(".otherwise-required").attr("required","required"),e.pinecastFeed(),e.pinecastFeed("open")}})}(jQuery); -
pinecast-wp-sync/trunk/includes/class-podcast.php
r2446997 r2473390 399 399 if (has_post_thumbnail($post_id)) { 400 400 delete_post_thumbnail($post_id); 401 delete_post_meta data($post_id, '_pinecast_image');401 delete_post_meta($post_id, '_pinecast_image'); 402 402 } 403 403 } … … 432 432 // If there was an existing image that's not the current image, delete it. 433 433 delete_post_thumbnail($post_id); 434 delete_post_meta data($post_id, '_pinecast_image');434 delete_post_meta($post_id, '_pinecast_image'); 435 435 } elseif (has_post_thumbnail($post_id)) { 436 436 // If there was an existing image that's not from Pinecast, -
pinecast-wp-sync/trunk/package-lock.json
r2446997 r2473390 1 1 { 2 2 "name": "pinecast", 3 "version": "1.0.1 3",3 "version": "1.0.14", 4 4 "lockfileVersion": 1, 5 5 "requires": true, -
pinecast-wp-sync/trunk/package.json
r2446997 r2473390 1 1 { 2 2 "name": "pinecast", 3 "version": "1.0.1 3",3 "version": "1.0.14", 4 4 "description": "", 5 5 "main": "gulpfile.js", -
pinecast-wp-sync/trunk/pinecast.php
r2446997 r2473390 8 8 9 9 /** @var string Plugin version */ 10 public $version = '1.0.1 3';10 public $version = '1.0.14'; 11 11 12 12 /** @var string Main plugin file */ -
pinecast-wp-sync/trunk/plugin.php
r2446997 r2473390 4 4 * Plugin URI: https://help.pinecast.com/articles/3072843-pinecast-wordpress-sync-plugin 5 5 * Description: Sync your Pinecast podcast episodes from Pinecast to WordPress 6 * Version: 1.0.1 36 * Version: 1.0.14 7 7 * Author: Pinecast 8 8 * Author URI: https://pinecast.com -
pinecast-wp-sync/trunk/readme.txt
r2446997 r2473390 4 4 Requires at least: 5.2 5 5 Tested up to: 5.6 6 Stable tag: 1.0.1 36 Stable tag: 1.0.14 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.