Changeset 1066560
- Timestamp:
- 01/13/2015 01:22:13 AM (11 years ago)
- Location:
- wp-post-demo/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wp-post-demo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-post-demo/trunk/readme.txt
r1066544 r1066560 24 24 * A change since the previous version. 25 25 * Another change. 26 27 = 1.1 = 28 * What you have entered in the editor in WordPress 3.5 has fixed the bug that is not restored. -
wp-post-demo/trunk/wp-post-demo.php
r1064568 r1066560 16 16 _e('Demo Editor','wp-post-demo'); 17 17 echo "</h3>"; 18 $permalink = add_query_arg('wp-post-demo', 'true', get_permalink( $post->ID));18 $permalink = add_query_arg('wp-post-demo', 'true', get_permalink(get_the_ID())); 19 19 echo "<a href=\"" . $permalink . "\" class=\"button button-small\" target=\"_blank\" style=\"margin-top:6px\">"; 20 20 _e('View Demo','wp-post-demo'); … … 27 27 $_wp_editor_expand = ( get_user_setting( 'editor_expand', 'on' ) === 'on' ); 28 28 } 29 wp_editor(get_post_meta( $post->ID,"_demo_content",true), 'demo_content', array(29 wp_editor(get_post_meta(get_the_ID(),"_demo_content",true), 'demo_content', array( 30 30 'dfw' => true, 31 31 'drag_drop_upload' => true,
Note: See TracChangeset
for help on using the changeset viewer.