Deprication Issue with easy fix
-
Works great.
But if your using WordPress 4.1 youll need to change 3 lines of code in the plugin file, since get_themes() & get_current_themes() were both depricated.
It’s rather simple:
wp_content>plugins>wp-custom-post-template>wp-custom-post-template.php
On lines 85, 86 & 87 change:
$themes = get_themes();
$theme = get_current_theme();
$templates = $themes[$theme][‘Template Files’];to:
$themes = wp_get_themes();
$theme = wp_get_theme();
$templates = $theme[‘Template Files’];Hope this helps someone ^.^
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprication Issue with easy fix’ is closed to new replies.