Fixing dead variables and params
This commit is contained in:
@@ -123,7 +123,6 @@ if (current_theme_supports('bootstrap-gallery')) {
|
||||
* Add class="thumbnail img-thumbnail" to attachment items
|
||||
*/
|
||||
function roots_attachment_link_class($html) {
|
||||
$postid = get_the_ID();
|
||||
$html = str_replace('<a', '<a class="thumbnail img-thumbnail"', $html);
|
||||
return $html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user