diff --git src/wp-admin/js/inline-edit-post.js src/wp-admin/js/inline-edit-post.js
index 84ffd78..1b3fa80 100644
|
|
|
inlineEditPost = { |
| 62 | 62 | |
| 63 | 63 | $('select[name="_status"] option[value="future"]', bulkRow).remove(); |
| 64 | 64 | |
| | 65 | // Disable sticky when the status is set to Private. |
| | 66 | $( '#bulk-edit' ).on( 'change', '[name="_status"]', function( e ) { |
| | 67 | if ( 'private' === $( e.currentTarget ).val() ) { |
| | 68 | $( e.delegateTarget ).find( '[name="sticky"]' ).prop( 'disabled', true ); |
| | 69 | } else { |
| | 70 | $( e.delegateTarget ).find( '[name="sticky"]' ).prop( 'disabled', false ); |
| | 71 | } |
| | 72 | } ) |
| | 73 | |
| 65 | 74 | $('#doaction, #doaction2').click(function(e){ |
| 66 | 75 | var n; |
| 67 | 76 | |