Plugin Directory

Changeset 1835564


Ignore:
Timestamp:
03/07/2018 05:48:41 PM (8 years ago)
Author:
rveitch
Message:

Updating plugin 3.0.3

Location:
coschedule-by-todaymade
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • coschedule-by-todaymade/trunk/readme.txt

    r1815787 r1835564  
    44Tags: 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
    55Requires at least: 3.5
    6 Tested up to: 4.9.2
    7 Stable tag: 3.0.2
     6Tested up to: 4.9.4
     7Stable tag: 3.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2222### See Everything Organized In ONE Place
    2323
    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 CoSchedules 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.
    2525* **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).
    2626
     
    4242### Gain Insight Into Your Efforts With Powerful Analytics
    4343
    44 * **Prove your ROI with data driven results.** No more warm fuzzies! Prove the value of all your hard work with real data! Utilize CoSchedules 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.
    4545
    4646
    4747##### [Start your 14 day free trial today >>>](http://coschedule.com/sign-up)
    4848
    49 [embed width="560"]https://coschedule.wistia.com/medias/llevy913re[/embed]
     49https://vimeo.com/258652532
    5050
    5151
     
    7777##### How does the CoSchedule plug-in work?
    7878
    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 CoSchedules servers, and never in WordPress.
     79CoSchedule 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.
    8080
    8181##### How do I get CoSchedule?
     
    8888
    8989== Screenshots ==
    90 
     901. **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.
     912. **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.
    9192
    9293== 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
    9397
    9498= 3.0.2 =
     
    308312== Upgrade Notice ==
    309313
     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
    310318= 3.0.2 =
    311319* Internal changes to get_post action.
  • coschedule-by-todaymade/trunk/tm-scheduler.php

    r1815787 r1835564  
    33Plugin Name: CoSchedule
    44Description: 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.2
     5Version: 3.0.3
    66Author: CoSchedule
    77Author URI: http://coschedule.com/
     
    2323        private $app = "https://app.coschedule.com";
    2424        private $assets = "https://d2lbmhk9kvi6z5.cloudfront.net";
    25         private $version = "3.0.2";
     25        private $version = "3.0.3";
    2626        private $build;
    2727        private $connected = false;
     
    4747
    4848            // Load variables
    49             $this->build                  = intval( "74" );
     49            $this->build                  = intval( "75" );
    5050            $this->token                  = get_option( 'tm_coschedule_token' );
    5151            $this->calendar_id            = get_option( 'tm_coschedule_calendar_id' );
     
    12361236            $post_thumbnail_id  = get_post_thumbnail_id( $post_id );
    12371237            $post_thumbnail_url = wp_get_attachment_url( $post_thumbnail_id );
    1238             $site_url           = get_site_url();
    1239 
    1240             // remove trailing slash from site url
    1241             // Codex Reference: http://codex.wordpress.org/Function_Reference/untrailingslashit
    1242             $site_url = untrailingslashit( $site_url );
    12431238
    12441239            // Only include valid URL
     
    12611256        public function get_attachments( $content ) {
    12621257            $attachments = array();
    1263             $site_url    = get_site_url();
    1264 
    1265             // remove trailing slash from site url
    1266             // Codex Reference: http://codex.wordpress.org/Function_Reference/untrailingslashit
    1267             $site_url = untrailingslashit( $site_url );
    12681258
    12691259            preg_match_all( '/<img[^>]+>/i', $content, $images );
     
    13051295            // Don't screw up protocol-agnostic URLS (e.g.: //example.com/image.jpg)
    13061296            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
    13081298                $url = $site_url . $url;
    13091299            }
    13101300
    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);
    13121303        }
    13131304
     
    13331324         */
    13341325        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(),
    13361327            // and add it to the front of the attachment url.
    13371328            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;
    13521331            }
    13531332            return $url;
Note: See TracChangeset for help on using the changeset viewer.