WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #24197, comment 1


Ignore:
Timestamp:
04/26/13 02:11:34 (12 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24197, comment 1

    v1 v2  
    44 
    55My steps: 
    6 1. Enqueued my own script and changed `'jquery'` in your snippet to that script handle. 
     61. Enqueued my own script under the same `if ( isset( $post ) )` check and changed `'jquery'` in your snippet to that script handle. 
    772. Went to Edit Post screen. 
    883. `alert( icy_ajax.post_id )` prints the post ID, as expected.