Changeset 630446
- Timestamp:
- 11/27/2012 12:23:26 AM (13 years ago)
- Location:
- yet-another-related-posts-plugin/trunk
- Files:
-
- 2 edited
-
class-core.php (modified) (1 diff)
-
options-meta-boxes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
yet-another-related-posts-plugin/trunk/class-core.php
r630433 r630446 571 571 'users' => $wpdb->get_var("select count(ID) from $wpdb->users"), 572 572 ), 573 'post_thumbnails' => current_theme_supports( 'post-thumbnails' ),573 'post_thumbnails' => current_theme_supports( 'post-thumbnails', 'post' ), 574 574 'locale' => get_bloginfo( 'language' ), 575 575 'url' => get_bloginfo('url'), -
yet-another-related-posts-plugin/trunk/options-meta-boxes.php
r630435 r630446 38 38 if ( 'thumbnails' == $choice ) 39 39 echo ' active'; 40 echo "'><div class='image'></div><div class='label'>" . __('Thumbnails', 'yarpp') . "</div></div>"; 40 if ( !current_theme_supports( 'post-thumbnails', 'post' ) ) 41 echo ' disabled'; 42 echo "'"; 43 if ( !current_theme_supports( 'post-thumbnails', 'post' ) ) 44 echo ' data-help="' . esc_attr( __( 'This option is disabled because your theme does not support post thumbnails.', 'yarpp' ) ) . '"'; 45 echo "><div class='image'></div><div class='label'>" . __('Thumbnails', 'yarpp') . "</div></div>"; 41 46 42 47 echo "<div data-value='custom' class='yarpp_template_button";
Note: See TracChangeset
for help on using the changeset viewer.