Plugin Directory

Changeset 633418


Ignore:
Timestamp:
12/03/2012 11:05:39 AM (13 years ago)
Author:
raido357
Message:

Add rough support for upcoming twentytwelve theme with Wordpress 3.5 release

Location:
dippler/trunk
Files:
17 added
2 edited

Legend:

Unmodified
Added
Removed
  • dippler/trunk/classes/dippler-toolbar.php

    r628976 r633418  
    1414     */
    1515   
    16     function __construct( ) {
     16    function __construct( $menu_class = 'menu' ) {
    1717        $post_to = $this->arePermalinksEnabled() ? home_url().'/dippler-feed' : add_query_arg( array( 'page' => 'dippler-feed' ), home_url('/') );
    1818        $html = '<form action="'.$post_to.'" method="post">';
     
    4242        $html .= '</form>';
    4343       
    44         echo '<div style="clear:both" class="menu">';
     44        echo '<div style="clear:both" class="dippler-toolbar '.$menu_class.'">';
    4545        if ( !empty( $option_list ) ) {
    4646            echo $html;     
  • dippler/trunk/main.php

    r629001 r633418  
    2626   
    2727    //Keep WP official themes in descending order, so getBestTheme() would return newest first if available
    28     private $supported_themes = array( 'twentyeleven_dippler', 'twentyten_dippler' );
     28    private $supported_themes = array( 'twentytwelve_dippler', 'twentyeleven_dippler', 'twentyten_dippler' );
    2929
    3030    /**
     
    889889   
    890890    /**
    891      * This function handles template redirect, so we can display our custom pages from theme folder
     891     * This function handles template redirect, so we can display course images
    892892     */
    893893     
Note: See TracChangeset for help on using the changeset viewer.