[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentythirteen/inc/ -> back-compat.php (summary)

Twenty Thirteen back compat functionality Prevents Twenty Thirteen from running on WordPress versions prior to 3.6, since this theme is not meant to be backward compatible and relies on many new functions and markup changes introduced in 3.6.

File Size: 83 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  twentythirteen_switch_theme()
  twentythirteen_upgrade_notice()
  twentythirteen_customize()
  twentythirteen_preview()

Functions
Functions that are not part of a class:

twentythirteen_switch_theme()   X-Ref
Prevent switching to Twenty Thirteen on old versions of WordPress.

Switches to the default theme.

since: Twenty Thirteen 1.0

twentythirteen_upgrade_notice()   X-Ref
Add message for unsuccessful theme switch.

Prints an update nag after an unsuccessful attempt to switch to
Twenty Thirteen on WordPress versions prior to 3.6.

since: Twenty Thirteen 1.0

twentythirteen_customize()   X-Ref
Prevent the Customizer from being loaded on WordPress versions prior to 3.6.

since: Twenty Thirteen 1.0

twentythirteen_preview()   X-Ref
Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.

since: Twenty Thirteen 1.0



Generated: Thu Apr 18 01:00:02 2024 Cross-referenced by PHPXref 0.7.1