[ Index ]

WordPress Cross Reference

title

Body

[close]

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

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

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

Defines 4 functions

  twentyfourteen_switch_theme()
  twentyfourteen_upgrade_notice()
  twentyfourteen_customize()
  twentyfourteen_preview()

Functions
Functions that are not part of a class:

twentyfourteen_switch_theme()   X-Ref
Prevent switching to Twenty Fourteen on old versions of WordPress.

Switches to the default theme.

return: void

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

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

return: void

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

return: void

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

return: void



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu