function test_pmp_verify_settings() { // Since we're setting the pmp_settings in bootstrap.php, this // should return true $this->assertTrue(pmp_verify_settings()); }
<?php if (isset($PMP['search'])) { ?> <div id="message" class="updated below-h2"> <p>Viewing saved query: <strong>"<?php echo $PMP['search']->options->title; ?> "</strong></p> </div> <?php } ?> <?php if (pmp_verify_settings()) { ?> <form id="pmp-search-form"> <input name="text" placeholder="Enter keywords" type="text"></input> <span id="pmp-show-advanced"><a href="#">Show advanced options</a></span> <div id="pmp-advanced-search"> <div class="left"> <!-- Creator search (editable dropdown w/ 5 partners) --> <label for="profile">Content creator:</label> <select name="creator"> <option value="">Any</option> <?php foreach ($creators as $name => $guid) { ?> <option value="<?php echo $guid;