ewels / CPT-Bootstrap-Carousel

WordPress plugin which generates a custom post type for choosing images and content. Outputs Bootstrap Image Carousel (slider) HTML from a shortcode.
http://wordpress.org/plugins/cpt-bootstrap-carousel/
GNU General Public License v2.0
51 stars 36 forks source link

Notice: Undefined index: link_button in cptbc-frontend.php on line 100 #58

Closed pfernandez closed 9 years ago

pfernandez commented 9 years ago

Temporarily fixed by inserting

if( !isset($atts['link_button']) ) {
    $atts['link_button'] = 0;
}

at line 97.

ewels commented 9 years ago

Ok great, thanks! Is that the development version? If you have this on a fork do you mind submitting a pull request?

Phil

pfernandez commented 9 years ago

I just created the fork to submit the change-- the version I was originally using was straight out of wordpress.org.

ewels commented 9 years ago

Thanks for this! You can get the github version of the code now, this will then go out to WordPress in the next release (could be a while yet).