Plugin Directory

Changeset 1935815


Ignore:
Timestamp:
09/04/2018 07:38:15 PM (8 years ago)
Author:
rveitch
Message:

Updating plugin 3.2.1

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

Legend:

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

    r1920580 r1935815  
    55Requires at least: 3.5
    66Tested up to: 4.9.6
    7 Stable tag: 3.2.0
     7Stable tag: 3.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6363
    64641. Backup your WordPress database.
    65 2. Download the plugin zip file 'todaymade-coschedule.zip' to your computer.
    66 3. Upload and install through the 'plugins' panel in your WordPress dashboard. You can manually upload 'todaymade-coschedule.zip' to the 'wp-content/plugins/' directory if you prefer.
     652. Download the plugin zip file 'coschedule-by-todaymade.zip' to your computer.
     663. Upload and install through the 'plugins' panel in your WordPress dashboard. You can manually upload 'coschedule-by-todaymade.zip' to the 'wp-content/plugins/' directory if you prefer.
    67674. Activate the plugin through the 'plugins' menu in your WordPress dashboard.
    68685. Sign in with your CoSchedule account in Settings > CoSchedule
     
    9090
    9191== Changelog ==
     92= 3.2.1 =
     93* Removed a legacy fix for Edit Flow timestamps that has been addressed by the Edit Flow plugin.
     94
    9295= 3.2.0 =
    9396* Added the orange sidebar and removed plugin navigation since it is all done from within the sidebar now. ReQueue is now accessable from WordPress.
     
    324327
    325328== Upgrade Notice ==
     329= 3.2.1 =
     330* Removed a legacy fix for Edit Flow timestamps that has been addressed by the Edit Flow plugin.
     331
    326332= 3.2.0 =
    327333* Added the orange sidebar and removed plugin navigation since it is all done from within the sidebar now. ReQueue is now accessable from WordPress.
  • coschedule-by-todaymade/trunk/tm-scheduler.php

    r1920580 r1935815  
    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.2.0
     5Version: 3.2.1
    66Author: CoSchedule
    77Author URI: http://coschedule.com/
     
    2424        private $app = "https://app.coschedule.com";
    2525        private $assets = "https://assets.coschedule.com";
    26         private $version = "3.2.0";
     26        private $version = "3.2.1";
    2727        private $build;
    2828        private $connected = false;
     
    4848
    4949            // Load variables
    50             $this->build                  = intval( "80" );
     50            $this->build                  = intval( "81" );
    5151            $this->token                  = get_option( 'tm_coschedule_token' );
    5252            $this->calendar_id            = get_option( 'tm_coschedule_calendar_id' );
     
    165165            // work around 'missed schedule draft' condition //
    166166            add_action( 'wp_insert_post_data', array( $this, 'conditionally_update_post_date_on_publish' ), 1, 2 );
    167 
    168             // Edit Flow Fix
    169             add_filter( 'wp_insert_post_data', array( $this, 'fix_custom_status_timestamp_before' ), 1 );
    170             add_filter( 'wp_insert_post_data', array( $this, 'fix_custom_status_timestamp_after' ), 20 );
    171167
    172168            // Custom Slug Fix, replace data
     
    17641760
    17651761        /**
    1766          * Edit Flow Fix: Runs before the edit flow function that modifies the post_date_gmt
    1767          *
    1768          * @param $data
    1769          *
    1770          * @return mixed
    1771          */
    1772         public function fix_custom_status_timestamp_before( $data ) {
    1773             // Save post_date_gmt for later
    1774             global $cos_cached_post_date_gmt;
    1775             if ( isset( $data['post_date_gmt'] ) && ! empty( $data['post_date_gmt'] ) ) {
    1776                 $cos_cached_post_date_gmt = $data['post_date_gmt'];
    1777             }
    1778 
    1779             return $data;
    1780         }
    1781 
    1782         /**
    1783          * Edit Flow Fix: Runs after the edit flow function that modifies the post_date_gmt
    1784          *
    1785          * @param $data
    1786          *
    1787          * @return mixed
    1788          */
    1789         public function fix_custom_status_timestamp_after( $data ) {
    1790             global $cos_cached_post_date_gmt;
    1791             if ( isset( $cos_cached_post_date_gmt ) && ! empty( $cos_cached_post_date_gmt ) ) {
    1792                 $data['post_date_gmt'] = $cos_cached_post_date_gmt;
    1793             }
    1794 
    1795             return $data;
    1796         }
    1797 
    1798         /**
    17991762         * Post Name Fix: Runs before wp_insert_post clears custom permalink
    18001763         *
Note: See TracChangeset for help on using the changeset viewer.