Making WordPress.org


Ignore:
Timestamp:
03/29/2017 04:20:44 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Insert toggle button through JS

KSES doesn't like buttons apparently and this should be a front-end change
anyway.

See #2296, [5166], [5167].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php

    r5166 r5195  
    380380                $this->sections['faq'] .= "\n<dl>\n";
    381381                foreach ( $this->faq as $question => $answer ) {
    382                     $this->sections['faq'] .= "<dt><button class=\"button-link\" aria-expanded=\"false\">{$question}</button></dt>\n<dd>{$answer}</dd>\n";
     382                    $this->sections['faq'] .= "<dt>{$question}</dt>\n<dd>{$answer}</dd>\n";
    383383                }
    384384                $this->sections['faq'] .= "\n</dl>\n";
Note: See TracChangeset for help on using the changeset viewer.