# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/Francesco/NetBeansProjects/wptrunk/trunk
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
478 | 478 | if ( empty( $id ) && empty( $name ) ) |
479 | 479 | return; |
480 | 480 | |
481 | | if ( ! is_numeric( $id ) ) { |
| 481 | if ( empty( $name ) && ! is_numeric( $id ) ) { |
482 | 482 | $name = $id; |
483 | 483 | $id = 0; |
484 | 484 | } |