Changeset 725356
- Timestamp:
- 06/11/2013 03:14:47 PM (13 years ago)
- Location:
- drafts-of-post-revisions
- Files:
-
- 8 edited
- 5 copied
-
tags/0.7.3 (copied) (copied from drafts-of-post-revisions/trunk)
-
tags/0.7.3/Admin/templates/meta_box/_draft.html (modified) (1 diff)
-
tags/0.7.3/Admin/templates/notice/_active_drafts.html (modified) (1 diff)
-
tags/0.7.3/Postdrafter.php (copied) (copied from drafts-of-post-revisions/trunk/Postdrafter.php) (2 diffs)
-
tags/0.7.3/core.php (copied) (copied from drafts-of-post-revisions/trunk/core.php) (3 diffs)
-
tags/0.7.3/draft-revisions.php (copied) (copied from drafts-of-post-revisions/trunk/draft-revisions.php) (1 diff)
-
tags/0.7.3/readme.txt (copied) (copied from drafts-of-post-revisions/trunk/readme.txt) (2 diffs)
-
trunk/Admin/templates/meta_box/_draft.html (modified) (1 diff)
-
trunk/Admin/templates/notice/_active_drafts.html (modified) (1 diff)
-
trunk/Postdrafter.php (modified) (2 diffs)
-
trunk/core.php (modified) (3 diffs)
-
trunk/draft-revisions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
drafts-of-post-revisions/tags/0.7.3/Admin/templates/meta_box/_draft.html
r614753 r725356 1 1 <p>This is a draft of <a href="{{parent.admin_link}}" title="link to {{parent.post_title}}'s edit screen">{{parent.post_title}}</a>. You can continue to work on this revision and save changes with the <strong>Save Draft</strong> button. When you are ready to publish the revision, use the <strong>Publish</strong> button.</p> 2 2 3 <p><a href=" /wp-admin/revision.php?action=dpr_diff&post_type={{parent.post_type}}&right={{draft.ID}}&left={{parent.ID}}" title="compare changes">Compare changes</a> against the parent.</p>3 <p><a href="revision.php?action=dpr_diff&post_type={{parent.post_type}}&right={{draft.ID}}&left={{parent.ID}}" title="compare changes">Compare changes</a> against the parent.</p> -
drafts-of-post-revisions/tags/0.7.3/Admin/templates/notice/_active_drafts.html
r614753 r725356 1 <strong>Notice:</strong> this post has active drafts. If you edit the published version of the post then you may have to perform a difflater on to reconcile changes.1 <strong>Notice:</strong> this post has active drafts. If you edit the published version of the post then you may have to perform a comparison later on to reconcile changes. -
drafts-of-post-revisions/tags/0.7.3/Postdrafter.php
r649874 r725356 156 156 157 157 foreach ($taxis as $tax) { 158 // could pass all taxonomy names as an array here 158 159 $terms = wp_get_object_terms( $from_id, $tax ); 159 160 $term = array(); … … 162 163 } 163 164 165 // false replaces (true would append) 164 166 wp_set_object_terms( $to_id, $term, $tax, false ); 165 167 } -
drafts-of-post-revisions/tags/0.7.3/core.php
r649874 r725356 7 7 8 8 // plugin version number 9 public static $version = "0.7. 2";9 public static $version = "0.7.3"; 10 10 // key for wp_options to store plugin options 11 11 private static $options_key = 'dpr_options'; … … 35 35 $this->notices = new DPR_Admin_Notice(); 36 36 // Postdrafter handles creating and merging drafts 37 $this->drafter = new DPR_Postdrafter( &$this);37 $this->drafter = new DPR_Postdrafter($this); 38 38 39 39 // hook into pre_post_update to create new draft … … 171 171 172 172 // do the diff 173 $differ = new DPR_Admin_Diff( &$parent, &$draft);173 $differ = new DPR_Admin_Diff($parent, $draft); 174 174 $rev_fields = $differ->diff(); 175 175 -
drafts-of-post-revisions/tags/0.7.3/draft-revisions.php
r649874 r725356 3 3 Plugin Name: Drafts of Post Revisions 4 4 Description: Create drafts of WordPress posts/pages/CPTs even after they've been published 5 Version: 0.7. 25 Version: 0.7.3 6 6 Author: daxitude 7 7 Author URI: http://github.com/daxitude/ -
drafts-of-post-revisions/tags/0.7.3/readme.txt
r649874 r725356 4 4 Requires at least: 3.4 5 5 Tested up to: 3.4.2 6 Stable tag: 0.7. 26 Stable tag: 0.7.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 53 53 == Changelog == 54 54 55 = 0.7.3 = 56 * bugfix - make sure compare changes link works when WP is installed in a sub-dir 57 * bugfix - call-time pass-by-reference removed in php 5.4 58 * made one admin notice slightly less ambiguous 59 55 60 = 0.7.2 = 56 61 * bugfix - make sure serialized post metas are unserialized/serialized properly -
drafts-of-post-revisions/trunk/Admin/templates/meta_box/_draft.html
r614753 r725356 1 1 <p>This is a draft of <a href="{{parent.admin_link}}" title="link to {{parent.post_title}}'s edit screen">{{parent.post_title}}</a>. You can continue to work on this revision and save changes with the <strong>Save Draft</strong> button. When you are ready to publish the revision, use the <strong>Publish</strong> button.</p> 2 2 3 <p><a href=" /wp-admin/revision.php?action=dpr_diff&post_type={{parent.post_type}}&right={{draft.ID}}&left={{parent.ID}}" title="compare changes">Compare changes</a> against the parent.</p>3 <p><a href="revision.php?action=dpr_diff&post_type={{parent.post_type}}&right={{draft.ID}}&left={{parent.ID}}" title="compare changes">Compare changes</a> against the parent.</p> -
drafts-of-post-revisions/trunk/Admin/templates/notice/_active_drafts.html
r614753 r725356 1 <strong>Notice:</strong> this post has active drafts. If you edit the published version of the post then you may have to perform a difflater on to reconcile changes.1 <strong>Notice:</strong> this post has active drafts. If you edit the published version of the post then you may have to perform a comparison later on to reconcile changes. -
drafts-of-post-revisions/trunk/Postdrafter.php
r649874 r725356 156 156 157 157 foreach ($taxis as $tax) { 158 // could pass all taxonomy names as an array here 158 159 $terms = wp_get_object_terms( $from_id, $tax ); 159 160 $term = array(); … … 162 163 } 163 164 165 // false replaces (true would append) 164 166 wp_set_object_terms( $to_id, $term, $tax, false ); 165 167 } -
drafts-of-post-revisions/trunk/core.php
r649874 r725356 7 7 8 8 // plugin version number 9 public static $version = "0.7. 2";9 public static $version = "0.7.3"; 10 10 // key for wp_options to store plugin options 11 11 private static $options_key = 'dpr_options'; … … 35 35 $this->notices = new DPR_Admin_Notice(); 36 36 // Postdrafter handles creating and merging drafts 37 $this->drafter = new DPR_Postdrafter( &$this);37 $this->drafter = new DPR_Postdrafter($this); 38 38 39 39 // hook into pre_post_update to create new draft … … 171 171 172 172 // do the diff 173 $differ = new DPR_Admin_Diff( &$parent, &$draft);173 $differ = new DPR_Admin_Diff($parent, $draft); 174 174 $rev_fields = $differ->diff(); 175 175 -
drafts-of-post-revisions/trunk/draft-revisions.php
r649874 r725356 3 3 Plugin Name: Drafts of Post Revisions 4 4 Description: Create drafts of WordPress posts/pages/CPTs even after they've been published 5 Version: 0.7. 25 Version: 0.7.3 6 6 Author: daxitude 7 7 Author URI: http://github.com/daxitude/ -
drafts-of-post-revisions/trunk/readme.txt
r649874 r725356 4 4 Requires at least: 3.4 5 5 Tested up to: 3.4.2 6 Stable tag: 0.7. 26 Stable tag: 0.7.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 53 53 == Changelog == 54 54 55 = 0.7.3 = 56 * bugfix - make sure compare changes link works when WP is installed in a sub-dir 57 * bugfix - call-time pass-by-reference removed in php 5.4 58 * made one admin notice slightly less ambiguous 59 55 60 = 0.7.2 = 56 61 * bugfix - make sure serialized post metas are unserialized/serialized properly
Note: See TracChangeset
for help on using the changeset viewer.