Changeset 1835564
- Timestamp:
- 03/07/2018 05:48:41 PM (8 years ago)
- Location:
- coschedule-by-todaymade
- Files:
-
- 7 added
- 2 edited
-
tags/3.0.3 (added)
-
tags/3.0.3/_access-denied.html (added)
-
tags/3.0.3/_missing-token.html (added)
-
tags/3.0.3/frame.php (added)
-
tags/3.0.3/plugin_setup.php (added)
-
tags/3.0.3/readme.txt (added)
-
tags/3.0.3/tm-scheduler.php (added)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/tm-scheduler.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coschedule-by-todaymade/trunk/readme.txt
r1815787 r1835564 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. 27 Stable tag: 3.0. 26 Tested up to: 4.9.4 7 Stable tag: 3.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 22 22 ### See Everything Organized In ONE Place 23 23 24 * **Get a bird's eye view of your entire marketing strategy.** Plan (and easily reschedule) your blog posts, marketing content, and social media in one place using CoSchedule ’s drag + drop calendar.24 * **Get a bird's eye view of your entire marketing strategy.** Plan (and easily reschedule) your blog posts, marketing content, and social media in one place using CoSchedule's drag + drop calendar. 25 25 * **Organize the calendar, your way.** Use helpful icons to categorize your content, custom color labels for easy filtering, and create saved calendar views to sort your content (and find what you need...faster). 26 26 … … 42 42 ### Gain Insight Into Your Efforts With Powerful Analytics 43 43 44 * **Prove your ROI with data driven results.** No more warm fuzzies! Prove the value of all your hard work with real data! Utilize CoSchedule ’s social profile analytics to measure your success and get a holistic view of your entire marketing strategy.44 * **Prove your ROI with data driven results.** No more warm fuzzies! Prove the value of all your hard work with real data! Utilize CoSchedule's social profile analytics to measure your success and get a holistic view of your entire marketing strategy. 45 45 46 46 47 47 ##### [Start your 14 day free trial today >>>](http://coschedule.com/sign-up) 48 48 49 [embed width="560"]https://coschedule.wistia.com/medias/llevy913re[/embed] 49 https://vimeo.com/258652532 50 50 51 51 … … 77 77 ##### How does the CoSchedule plug-in work? 78 78 79 CoSchedule synchronizes your WordPress posts, author, and category information to its servers, but all of your WordPress data remains in WordPress. CoSchedule will update that WordPress data as you direct, but the data always remains in WordPress. Social messages, tasks, comments, team members, and other data you create in CoSchedule will be stored on CoSchedule ’s servers, and never in WordPress.79 CoSchedule synchronizes your WordPress posts, author, and category information to its servers, but all of your WordPress data remains in WordPress. CoSchedule will update that WordPress data as you direct, but the data always remains in WordPress. Social messages, tasks, comments, team members, and other data you create in CoSchedule will be stored on CoSchedule's servers, and never in WordPress. 80 80 81 81 ##### How do I get CoSchedule? … … 88 88 89 89 == Screenshots == 90 90 1. **Social Media Scheduling Without Stress**: Build the perfect social schedule directly in your calendar. Stop wasting time jumping from one tool to the next -- keep your social + content in one place. 91 2. **See Your Entire Marketing Schedule At A Glance**: Create a unified workflow for every project with CoSchedule's drag + drop calendar. Sync your teams inside a collaborative, cross-functional calendar for social, content, email, events, and more. 91 92 92 93 == Changelog == 94 = 3.0.3 = 95 * Fixes a potential issue with image urls synced to CoSchedule on multisite networks that use relative urls 96 * Adds an image url filter hook for external plugins to further process the image urls synced to CoSchedule as needed from some custom site configurations 93 97 94 98 = 3.0.2 = … … 308 312 == Upgrade Notice == 309 313 314 = 3.0.3 = 315 * Fixes a potential issue with image urls synced to CoSchedule on multisite networks that use relative urls 316 * Adds an image url filter hook for external plugins to further process the image urls synced to CoSchedule as needed from some custom site configurations 317 310 318 = 3.0.2 = 311 319 * Internal changes to get_post action. -
coschedule-by-todaymade/trunk/tm-scheduler.php
r1815787 r1835564 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. 25 Version: 3.0.3 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. 2";25 private $version = "3.0.3"; 26 26 private $build; 27 27 private $connected = false; … … 47 47 48 48 // Load variables 49 $this->build = intval( "7 4" );49 $this->build = intval( "75" ); 50 50 $this->token = get_option( 'tm_coschedule_token' ); 51 51 $this->calendar_id = get_option( 'tm_coschedule_calendar_id' ); … … 1236 1236 $post_thumbnail_id = get_post_thumbnail_id( $post_id ); 1237 1237 $post_thumbnail_url = wp_get_attachment_url( $post_thumbnail_id ); 1238 $site_url = get_site_url();1239 1240 // remove trailing slash from site url1241 // Codex Reference: http://codex.wordpress.org/Function_Reference/untrailingslashit1242 $site_url = untrailingslashit( $site_url );1243 1238 1244 1239 // Only include valid URL … … 1261 1256 public function get_attachments( $content ) { 1262 1257 $attachments = array(); 1263 $site_url = get_site_url();1264 1265 // remove trailing slash from site url1266 // Codex Reference: http://codex.wordpress.org/Function_Reference/untrailingslashit1267 $site_url = untrailingslashit( $site_url );1268 1258 1269 1259 preg_match_all( '/<img[^>]+>/i', $content, $images ); … … 1305 1295 // Don't screw up protocol-agnostic URLS (e.g.: //example.com/image.jpg) 1306 1296 if ( !$this->url_starts_with_protocol( $url ) ) { 1307 $site_url = get_site_url();1297 $site_url = untrailingslashit( network_site_url() ); // falls back to site_url() if site is not multisite 1308 1298 $url = $site_url . $url; 1309 1299 } 1310 1300 1311 return $url; 1301 // Allow external plugins to further process the url as needed from some custom site configurations 1302 return apply_filters( 'tm_coschedule_fix_url_potential_problems_filter', $url); 1312 1303 } 1313 1304 … … 1333 1324 */ 1334 1325 public function fix_protocol_relative_url( $url ) { 1335 // If the URL starts with '//', get the protocol from $site_url,1326 // If the URL starts with '//', determine the protocol from is_ssl(), 1336 1327 // and add it to the front of the attachment url. 1337 1328 if ( substr( $url, 0, 2 ) === '//' ) { 1338 $site_url = get_site_url(); 1339 $protocol = ''; 1340 1341 if ( function_exists( 'wp_parse_url' ) ) { 1342 $parsed_url = wp_parse_url( $site_url ); 1343 if ( $parsed_url !== false && is_array( $parsed_url ) ) { 1344 $protocol = $parsed_url['scheme']; 1345 } 1346 } 1347 1348 // If 'scheme' (i.e. protocol) wasn't found, default to 'http'. 1349 $protocol = $protocol ? $protocol : 'http'; 1350 1351 $url = $protocol . ':' . $url; 1329 $protocol = (is_ssl() ? 'https:' : 'http:'); 1330 $url = $protocol . $url; 1352 1331 } 1353 1332 return $url;
Note: See TracChangeset
for help on using the changeset viewer.