Changeset 427961
- Timestamp:
- 08/24/2011 06:09:22 AM (15 years ago)
- Location:
- u-paragraph-margin-remover
- Files:
-
- 2 deleted
- 2 edited
- 10 copied
-
tags/1.0.2 (copied) (copied from u-paragraph-margin-remover/trunk)
-
tags/1.0.2/inc (copied) (copied from u-paragraph-margin-remover/trunk/inc)
-
tags/1.0.2/inc/admin.css (copied) (copied from u-paragraph-margin-remover/trunk/inc/admin.css)
-
tags/1.0.2/inc/editor-p-style.css (deleted)
-
tags/1.0.2/inc/u-api.php (deleted)
-
tags/1.0.2/languages (copied) (copied from u-paragraph-margin-remover/trunk/languages)
-
tags/1.0.2/languages/upmremover-ko_KR.mo (copied) (copied from u-paragraph-margin-remover/trunk/languages/upmremover-ko_KR.mo)
-
tags/1.0.2/languages/upmremover-ko_KR.po (copied) (copied from u-paragraph-margin-remover/trunk/languages/upmremover-ko_KR.po)
-
tags/1.0.2/readme.txt (copied) (copied from u-paragraph-margin-remover/trunk/readme.txt) (2 diffs)
-
tags/1.0.2/screenshot-1.png (copied) (copied from u-paragraph-margin-remover/trunk/screenshot-1.png)
-
tags/1.0.2/screenshot-2.png (copied) (copied from u-paragraph-margin-remover/trunk/screenshot-2.png)
-
tags/1.0.2/u-p-margin-remover.php (copied) (copied from u-paragraph-margin-remover/trunk/u-p-margin-remover.php) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/u-p-margin-remover.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
u-paragraph-margin-remover/tags/1.0.2/readme.txt
r425722 r427961 5 5 Requires at least: 3.2.0 6 6 Tested up to: 3.2.0 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 9 9 Remove paragraph tags' margin of post entry. … … 28 28 == Changelog == 29 29 30 = 1.0.2 = 31 * Fixed: AJAX saving, bug fix 32 33 = 1.0.1 = 34 * Removed: Paragraph border in Editor 35 30 36 = 1.0 = 31 37 * Initial release. -
u-paragraph-margin-remover/tags/1.0.2/u-p-margin-remover.php
r425722 r427961 6 6 Author: Taehan Lee 7 7 Author URI: http://urlless.com 8 Version: 1.0. 18 Version: 1.0.2 9 9 */ 10 10 11 11 class UParagraphMarginRemover { 12 12 var $id = 'upmremover'; 13 var $ver = '1.0. 1';13 var $ver = '1.0.2'; 14 14 var $url, $editor_state, $defined_post_class; 15 15 … … 144 144 145 145 function save_meta($post_id){ 146 if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)146 if ( defined('DOING_AUTOSAVE') ) 147 147 return $post_id; 148 148 149 if( isset($_POST[$this->id.'_editor_state']) AND $_POST[$this->id.'_editor_state']=='on' ){ 150 update_post_meta( $post_id, '_'.$this->id, '1' ); 151 }else{ 152 delete_post_meta( $post_id, '_'.$this->id ); 149 if( isset($_POST[$this->id.'_editor_state']) ){ 150 151 if( $_POST[$this->id.'_editor_state']=='on' ) 152 update_post_meta( $post_id, '_'.$this->id, '1' ); 153 154 if( $_POST[$this->id.'_editor_state']=='off' ) 155 delete_post_meta( $post_id, '_'.$this->id ); 153 156 } 154 157 } -
u-paragraph-margin-remover/trunk/readme.txt
r425722 r427961 5 5 Requires at least: 3.2.0 6 6 Tested up to: 3.2.0 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 9 9 Remove paragraph tags' margin of post entry. … … 28 28 == Changelog == 29 29 30 = 1.0.2 = 31 * Fixed: AJAX saving, bug fix 32 33 = 1.0.1 = 34 * Removed: Paragraph border in Editor 35 30 36 = 1.0 = 31 37 * Initial release. -
u-paragraph-margin-remover/trunk/u-p-margin-remover.php
r425722 r427961 6 6 Author: Taehan Lee 7 7 Author URI: http://urlless.com 8 Version: 1.0. 18 Version: 1.0.2 9 9 */ 10 10 11 11 class UParagraphMarginRemover { 12 12 var $id = 'upmremover'; 13 var $ver = '1.0. 1';13 var $ver = '1.0.2'; 14 14 var $url, $editor_state, $defined_post_class; 15 15 … … 144 144 145 145 function save_meta($post_id){ 146 if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)146 if ( defined('DOING_AUTOSAVE') ) 147 147 return $post_id; 148 148 149 if( isset($_POST[$this->id.'_editor_state']) AND $_POST[$this->id.'_editor_state']=='on' ){ 150 update_post_meta( $post_id, '_'.$this->id, '1' ); 151 }else{ 152 delete_post_meta( $post_id, '_'.$this->id ); 149 if( isset($_POST[$this->id.'_editor_state']) ){ 150 151 if( $_POST[$this->id.'_editor_state']=='on' ) 152 update_post_meta( $post_id, '_'.$this->id, '1' ); 153 154 if( $_POST[$this->id.'_editor_state']=='off' ) 155 delete_post_meta( $post_id, '_'.$this->id ); 153 156 } 154 157 }
Note: See TracChangeset
for help on using the changeset viewer.