clean up footer stuff
This commit is contained in:
parent
56c56aaad8
commit
c54de66315
@ -163,7 +163,7 @@ class PluginWonderful {
|
||||
|
||||
function show_view($view) {
|
||||
if (is_object($view) && method_exists($view, 'render')) {
|
||||
$info = get_plugin_data(dirname(__FILE__) . '/../plugin-wonderful.php');
|
||||
$info = get_plugin_data(realpath(dirname(__FILE__) . '/../plugin-wonderful.php'));
|
||||
|
||||
echo '<div class="wrap">';
|
||||
echo '<div id="icon-edit" class="icon32"><br /></div>';
|
||||
@ -373,7 +373,9 @@ class PluginWonderful {
|
||||
. '" '
|
||||
. (($instance['adboxid'] == $box->adboxid) ? 'checked="checked"' : "")
|
||||
. ' />';
|
||||
echo '<acronym title="' . $box->sitename . '">';
|
||||
echo $box->adtype . " " . $box->dimensions . " (" . $box->adboxid . ")";
|
||||
echo '</acronym>';
|
||||
echo "</label>";
|
||||
echo "<br />";
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ class PluginWonderfulTest extends PHPUnit_Framework_TestCase {
|
||||
*/
|
||||
function testShowView($class, $is_success) {
|
||||
global $wp_test_expectations;
|
||||
$wp_test_expectations['plugin_data'][realpath(dirname(__FILE__) . '/../classes/PluginWonderful.php')] = array(
|
||||
$wp_test_expectations['plugin_data'][realpath(dirname(__FILE__) . '/../plugin-wonderful.php')] = array(
|
||||
'Title' => '**title**',
|
||||
'Version' => '**version**',
|
||||
'Author' => '**author**'
|
||||
|
Loading…
Reference in New Issue
Block a user