WordPress.org

Plugin Directory


Ignore:
Timestamp:
12/11/16 13:31:11 (4 months ago)
Author:
radgeek
Message:

Release 2016.1211. Mostly compatibility fixes, one bugfix thing. WP 4.7 compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/feedwordpresssyndicationpage.class.php

    r1160703 r1551908  
    1717 
    1818class FeedWordPressSyndicationPage extends FeedWordPressAdminPage { 
    19     function FeedWordPressSyndicationPage ($filename = NULL) { 
    20         FeedWordPressAdminPage::FeedWordPressAdminPage('feedwordpresssyndication', /*link=*/ NULL); 
     19    public function __construct ($filename = NULL) { 
     20        parent::__construct('feedwordpresssyndication', /*link=*/ NULL); 
    2121 
    2222        // No over-arching form element 
     
    478478        // Hey ho, let's go... 
    479479        ?> 
    480         <div style="float: left; background: #F5F5F5; padding-top: 5px; padding-right: 5px;"><a href="<?php print $this->form_action(); ?>"><img src="<?php print esc_html(WP_PLUGIN_URL."/${fwp_path}/feedwordpress.png"); ?>" alt="" /></a></div> 
     480        <div style="float: left; background: #F5F5F5; padding-top: 5px; padding-right: 5px;"><a href="<?php print $this->form_action(); ?>"><img src="<?php print esc_html(plugins_url( "/${fwp_path}/feedwordpress.png") ); ?>" alt="" /></a></div> 
    481481 
    482482        <p class="info" style="margin-bottom: 0px; border-bottom: 1px dotted black;">Managed by <a href="http://feedwordpress.radgeek.com/">FeedWordPress</a> 
     
    537537          <?php FeedWordPressSettingsUI::magic_input_tip_js('add-uri'); ?> 
    538538          <input type="hidden" name="action" value="<?php print FWP_SYNDICATE_NEW; ?>" /> 
    539           <input style="vertical-align: middle;" type="image" src="<?php print WP_PLUGIN_URL.'/'.$fwp_path; ?>/plus.png" alt="<?php print FWP_SYNDICATE_NEW; ?>" /></div> 
     539          <input style="vertical-align: middle;" type="image" src="<?php print plugins_url('/'.$fwp_path .'/plus.png' ); ?>" alt="<?php print FWP_SYNDICATE_NEW; ?>" /></div> 
    540540          </form> 
    541541        </div> <!-- id="add-single-uri" --> 
     
    603603          <input type="hidden" name="action" value="feedfinder" /> 
    604604          <input type="submit" class="button-secondary" name="action" value="<?php print FWP_SYNDICATE_NEW; ?>" /> 
    605           <div style="text-align: right; margin-right: 2.0em"><a id="turn-on-multiple-sources" href="#add-multiple-uri"><img style="vertical-align: middle" src="<?php print WP_PLUGIN_URL.'/'.$fwp_path; ?>/down.png" alt="" /> add multiple</a> 
     605          <div style="text-align: right; margin-right: 2.0em"><a id="turn-on-multiple-sources" href="#add-multiple-uri"><img style="vertical-align: middle" src="<?php print plugins_url('/' . $fwp_path . '/down.png'); ?>" alt="" /> add multiple</a> 
    606606          <span class="screen-reader-text"> or </span> 
    607           <a id="turn-on-opml-upload" href="#upload-opml"><img src="<?php print WP_PLUGIN_URL.'/'.$fwp_path; ?>/plus.png" alt="" style="vertical-align: middle" /> import source list</a></div> 
     607          <a id="turn-on-opml-upload" href="#upload-opml"><img src="<?php print plugins_url('/' . $fwp_path . '/plus.png'); ?>" alt="" style="vertical-align: middle" /> import source list</a></div> 
    608608          </li> 
    609609          </ul> 
     
    731731 
    732732<div class="hovered-component" style="display: inline-block; vertical-align: bottom"> 
    733 <a href="bitcoin:<?php print esc_attr(FEEDWORDPRESS_BLEG_BTC); ?>"><img src="<?php print esc_url(WP_PLUGIN_URL.'/'.FeedWordPress::path('btc-qr-64px.png')); ?>" alt="Donate" /></a> 
     733<a href="bitcoin:<?php print esc_attr(FEEDWORDPRESS_BLEG_BTC); ?>"><img src="<?php print esc_url( plugins_url('/'.FeedWordPress::path('btc-qr-64px.png') ) ); ?>" alt="Donate" /></a> 
    734734<div><a href="bitcoin:<?php print esc_attr(FEEDWORDPRESS_BLEG_BTC); ?>">via bitcoin<span class="hover-on pop-over" style="background-color: #ddffdd; padding: 5px; color: black; border-radius: 5px;">bitcoin:<?php print esc_html(FEEDWORDPRESS_BLEG_BTC); ?></span></a></div> 
    735735</div> 
    736736 
    737737<div style="display: inline-block; vertical-align: bottom"> 
    738 <input type="image" name="submit" src="<?php print esc_url(WP_PLUGIN_URL.'/'.FeedWordPress::path('paypal-donation-64px.png')); ?>" alt="Donate through PayPal" /> 
     738<input type="image" name="submit" src="<?php print esc_url(plugins_url('/' . FeedWordPress::path('paypal-donation-64px.png' ) ) ); ?>" alt="Donate through PayPal" /> 
    739739<input type="hidden" name="business" value="distro.to.feedback@radgeek.com"  /> 
    740740<input type="hidden" name="cmd" value="_xclick"  /> 
Note: See TracChangeset for help on using the changeset viewer.