Changeset 1815787
- Timestamp:
- 02/05/2018 05:28:48 PM (8 years ago)
- Location:
- coschedule-by-todaymade
- Files:
-
- 7 added
- 2 edited
-
tags/3.0.2 (added)
-
tags/3.0.2/_access-denied.html (added)
-
tags/3.0.2/_missing-token.html (added)
-
tags/3.0.2/frame.php (added)
-
tags/3.0.2/plugin_setup.php (added)
-
tags/3.0.2/readme.txt (added)
-
tags/3.0.2/tm-scheduler.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/tm-scheduler.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coschedule-by-todaymade/trunk/readme.txt
r1808887 r1815787 4 4 Tags: Content marketing calendar, drag and drop editorial calendar plugin, social media scheduling, editorial calendar plugin, content marketing, social automation tool, pinterest integration, schedule facebook posts, schedule to twitter, social media, tumblr, schedule posts to google+, schedule posts to Linkedin, Google Analytics, social media analytics, Google Docs integration, Evernote integration, Click to Tweet 5 5 Requires at least: 3.5 6 Tested up to: 4.9. 17 Stable tag: 3.0. 16 Tested up to: 4.9.2 7 Stable tag: 3.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 92 92 == Changelog == 93 94 = 3.0.2 = 95 * Internal changes to get_post action. 93 96 94 97 = 3.0.1 = … … 304 307 305 308 == Upgrade Notice == 309 310 = 3.0.2 = 311 * Internal changes to get_post action. 312 306 313 = 3.0.1 = 307 314 * Fixes issue with calendar site name updating. -
coschedule-by-todaymade/trunk/tm-scheduler.php
r1808887 r1815787 3 3 Plugin Name: CoSchedule 4 4 Description: Plan, organize, and execute every content marketing project in one place with CoSchedule, an all-in-one content marketing editorial calendar solution. 5 Version: 3.0. 15 Version: 3.0.2 6 6 Author: CoSchedule 7 7 Author URI: http://coschedule.com/ … … 23 23 private $app = "https://app.coschedule.com"; 24 24 private $assets = "https://d2lbmhk9kvi6z5.cloudfront.net"; 25 private $version = "3.0. 1";25 private $version = "3.0.2"; 26 26 private $build; 27 27 private $connected = false; … … 47 47 48 48 // Load variables 49 $this->build = intval( "7 3" );49 $this->build = intval( "74" ); 50 50 $this->token = get_option( 'tm_coschedule_token' ); 51 51 $this->calendar_id = get_option( 'tm_coschedule_calendar_id' ); … … 691 691 692 692 /** 693 * Retrieves a post with HTML and encoded shortcodes693 * Retrieves a post with HTML 694 694 * 695 695 * @param $data_args 696 696 */ 697 public function tm_aj_get_html_post ( $data_args ) {697 public function tm_aj_get_html_post( $data_args ) { 698 698 try { 699 699 if ( isset( $data_args['post_id'] ) ) { … … 705 705 $output = $this->get_value_or_default( $data_args['output'], 'ARRAY_A' ); 706 706 $filter = $this->get_value_or_default( $data_args['filter'], 'raw'); 707 $apply_filters = $this->get_value_or_default( $data_args['apply_filters'], false); 707 708 708 709 $post = get_post( $post_id, $output, $filter ); … … 711 712 throw new Exception( "Failed to retrieve post with id $post_id"); 712 713 } 713 714 $content = apply_filters( 'the_content', $post['post_content'] ); 715 716 if ( is_wp_error( $content ) ) { 717 throw new Exception( 'Failed to apply filters to post content'); 718 } 719 714 if ( $apply_filters ) { 715 $content = apply_filters( 'the_content', $post['post_content'] ); 716 717 if ( is_wp_error( $content ) ) { 718 throw new Exception('Failed to apply filters to post content'); 719 } 720 } else { 721 $content = wpautop( $post['post_content'] ); 722 } 720 723 $post['post_content'] = base64_encode( $content ); 721 724
Note: See TracChangeset
for help on using the changeset viewer.