Changeset 22846 for trunk/wp-admin/includes/media.php
- Timestamp:
- 11/26/2012 10:03:37 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r22828 r22846 384 384 */ 385 385 function media_buttons($editor_id = 'content') { 386 $post = get_post(); 387 if ( ! $post && ! empty( $GLOBALS['post_ID'] ) ) 388 $post = $GLOBALS['post_ID']; 389 386 390 wp_enqueue_media( array( 387 'post' => get_post()391 'post' => $post 388 392 ) ); 389 393
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)