Support » Plugin: MailChimp Campaign Archive » Duplicate attribute class with bugfix

  • Edwin Siebel

    (@edwin-at-studiojoyocom)


    Nice plugin, just what I was looking for.

    Found a small bug though.

    On line #111 of main.php, the first class should be an id.

    Index: main.php
    ===================================================================
    --- main.php	(revision 874704)
    +++ main.php	(working copy)
    @@ -108,7 +108,7 @@
     				}
    
     				// Begin the list
    -			    $html .= '<ul class="mailchimp-campaigns" class="'. $params['organize_by'] .'">';
    +			    $html .= '<ul id="mailchimp-campaigns" class="'. $params['organize_by'] .'">';
     			    foreach($campaigns as $c){
     			    // Iterate over each email campaign in the list

    https://wordpress.org/plugins/mailchimp-campaign-archive/

  • The topic ‘Duplicate attribute class with bugfix’ is closed to new replies.