IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 32 | 32 | 'AuthorURI' => 'Author URI', |
| 33 | 33 | 'Version' => 'Version', |
| 34 | 34 | 'Template' => 'Template', |
| | 35 | 'Template_Version' => 'Template Version', |
| 35 | 36 | 'Status' => 'Status', |
| 36 | 37 | 'Tags' => 'Tags', |
| 37 | 38 | 'TextDomain' => 'Text Domain', |
| … |
… |
|
| 337 | 338 | */ |
| 338 | 339 | public function __isset( $offset ) { |
| 339 | 340 | static $properties = array( |
| 340 | | 'name', 'title', 'version', 'parent_theme', 'template_dir', 'stylesheet_dir', 'template', 'stylesheet', |
| | 341 | 'name', 'title', 'version', 'parent_theme', 'template_dir', 'stylesheet_dir', 'template', 'template_version', 'stylesheet', |
| 341 | 342 | 'screenshot', 'description', 'author', 'tags', 'theme_root', 'theme_root_uri', |
| 342 | 343 | ); |
| 343 | 344 | |
| … |
… |
|
| 364 | 365 | return $this->get_stylesheet_directory(); |
| 365 | 366 | case 'template' : |
| 366 | 367 | return $this->get_template(); |
| | 368 | case 'template_version' : |
| | 369 | if ( is_child_theme() ) { |
| | 370 | return $this->parent()->get( 'Version' ); |
| | 371 | } else { |
| | 372 | return null; |
| | 373 | } |
| 367 | 374 | case 'stylesheet' : |
| 368 | 375 | return $this->get_stylesheet(); |
| 369 | 376 | case 'screenshot' : |
| … |
… |
|
| 411 | 418 | public function offsetExists( $offset ) { |
| 412 | 419 | static $keys = array( |
| 413 | 420 | 'Name', 'Version', 'Status', 'Title', 'Author', 'Author Name', 'Author URI', 'Description', |
| 414 | | 'Template', 'Stylesheet', 'Template Files', 'Stylesheet Files', 'Template Dir', 'Stylesheet Dir', |
| | 421 | 'Template', 'Template Version', 'Stylesheet', 'Template Files', 'Stylesheet Files', 'Template Dir', 'Stylesheet Dir', |
| 415 | 422 | 'Screenshot', 'Tags', 'Theme Root', 'Theme Root URI', 'Parent Theme', |
| 416 | 423 | ); |
| 417 | 424 | |
| … |
… |
|
| 451 | 458 | return $this->get( $offset ); |
| 452 | 459 | case 'Template' : |
| 453 | 460 | return $this->get_template(); |
| | 461 | case 'Template Version' : |
| | 462 | if ( is_child_theme() ) { |
| | 463 | return $this->parent()->get( 'Version' ); |
| | 464 | } else { |
| | 465 | return null; |
| | 466 | } |
| 454 | 467 | case 'Stylesheet' : |
| 455 | 468 | return $this->get_stylesheet(); |
| 456 | 469 | case 'Template Files' : |