Changeset 1320062
- Timestamp:
- 01/02/2016 10:15:07 PM (10 years ago)
- Location:
- write-here/trunk
- Files:
-
- 4 edited
-
README.md (modified) (1 diff)
-
README.txt (modified) (1 diff)
-
js/write-here.js (modified) (1 diff)
-
write-here.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
write-here/trunk/README.md
r1295310 r1320062 14 14 1. Better way for AJAX loading gif. 15 15 2. Server side validation needs to be fixed. 16 3. Inline images uploaded by `Add Media` button need to update `post_parent` to the newly created post's ID. 16 3. Inline images uploaded by `Add Media` button need to update `post_parent` to the newly created post's ID. Currently set to `0` on v 1.3 17 17 18 18 ###Plans -
write-here/trunk/README.txt
r1305864 r1320062 48 48 = 1.2 = 49 49 * Added [write-here-ajax] 50 51 = 1.3 = 52 * Attachment parent id set to 0 (unattached) -
write-here/trunk/js/write-here.js
r1300953 r1320062 1 1 jQuery(document).ready( function($) { 2 3 // Set post_parent to 0(Unattached) for all images uploaded via Add Media button. 4 // Rather than parent them to the page contains [write-here] or [write-here-edit] 5 jQuery('.write-here #insert-media-button').on('click', function( event ){ 6 event.preventDefault(); 7 wp.media.model.settings.post.id = 0; 8 }); 9 2 10 /* 3 11 ** Get value from TinyMCE editor -
write-here/trunk/write-here.php
r1300953 r1320062 5 5 Description: Simple front end form for WordPress. Write Here will allow you to have registered users to write & manage articles from front end. 6 6 Author: writegnj 7 Version: 1. 27 Version: 1.3 8 8 Author URI: http://www.ohsikpark.com 9 9 Text Domain: write-here
Note: See TracChangeset
for help on using the changeset viewer.