Ticket #19353: 19353-untrample-new-add.diff
File 19353-untrample-new-add.diff, 623 bytes (added by , 13 years ago) |
---|
-
includes/screen.php
396 396 $id = $GLOBALS['hook_suffix']; 397 397 398 398 $id = str_replace( '.php', '', $id ); 399 if ( in_array( substr( $id, -4 ), array( '-add', '-new' ) ) ) 399 if ( in_array( substr( $id, -4 ), array( '-add', '-new' ) ) ) { 400 400 $action = 'add'; 401 $id = str_replace( array( '-new', '-add' ), '', $id ); 401 $id = str_replace( array( '-new', '-add' ), '', $id ); 402 } 403 402 404 403 405 if ( $hook_name ) { 404 406 if ( '-network' == substr( $id, -8 ) ) {