Changeset 474141
- Timestamp:
- 12/12/2011 06:55:19 PM (14 years ago)
- Location:
- unpublished-warnings/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
unpublished_warnings.js (modified) (1 diff)
-
unpublished_warnings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
unpublished-warnings/trunk/readme.txt
r473956 r474141 5 5 Requires at least: 3.2 6 6 Tested up to: 3.2 7 Stable tag: 0.3. 27 Stable tag: 0.3.3 8 8 9 9 This plugin will warn you when you're looking at an unpublished post that you just happen to be able to see. … … 26 26 == Changelog == 27 27 28 = 0.3.3 = 29 30 1. Small formatting changes in the PHP. 31 1. Small change in the javascript to use "this" instead of naming the selector explicitly. 32 1. Versioning is correct. 33 34 = 0.3.2 = 35 36 Tried to fix versioning. 37 28 38 = 0.3.1 = 29 39 -
unpublished-warnings/trunk/unpublished_warnings.js
r473954 r474141 1 1 jQuery(document).ready(function(){ 2 2 jQuery("#unpublished_warnings").click(function () { 3 jQuery( "#unpublished_warnings").slideUp("slow");3 jQuery(this).slideUp("slow"); 4 4 }); 5 5 }); -
unpublished-warnings/trunk/unpublished_warnings.php
r473956 r474141 5 5 Description: This plugin will warn you when you're looking at an unpublished post that you just happen to be able to see. 6 6 Author: Bill Sullivan 7 Version: 0.3. 27 Version: 0.3.3 8 8 Author URI: http://enkrates.com 9 9 */ … … 37 37 $warning_message = 'This post has not yet been published. You can see it because you are logged in with a privileged account.'; 38 38 $hide_me_message = 'Click here to hide this warning.'; 39 $content = "<div id='unpublished_warnings'><p>" . wptexturize( $warning_message) . "</p>\n<p>"40 . wptexturize( $hide_me_message) . "</p>\n</div>\n" . $content;39 $content = "<div id='unpublished_warnings'><p>" . wptexturize( $warning_message ) . "</p>\n<p>" 40 . wptexturize( $hide_me_message ) . "</p>\n</div>\n" . $content; 41 41 } 42 42 return $content;
Note: See TracChangeset
for help on using the changeset viewer.