| @@ -189,9 +189,12 @@ | ||
| 189 | 189 | * |
| 190 | 190 | * @return string The converted ID. |
| 191 | 191 | */ |
| 192 | 192 | public function get_id_int() { |
| 193 | - return hexdec( $this->id ); | |
| 193 | + /** We ignore possible notices, in order to support elements created prior to v1.8.0 and might include | |
| 194 | + * non-base 16 characters as part of their ID. | |
| 195 | + */ | |
| 196 | + return @hexdec( $this->id ); | |
| 194 | 197 | } |
| 195 | 198 | |
| 196 | 199 | /** |
| 197 | 200 | * Get the type. |