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/admin-ui.php

    r1160703 r1551908  
    1515     * @param mixed $link An object of class {@link SyndicatedLink} if created for one feed's settings, NULL if created for global default settings 
    1616     */ 
    17     function FeedWordPressAdminPage ($page = 'feedwordpressadmin', $link = NULL) { 
     17    public function __construct( $page = 'feedwordpressadmin', $link = NULL ) { 
    1818        $this->link = $link; 
    1919 
     
    374374        global $fwp_path; 
    375375        ?> 
    376         <div class="icon32"><img src="<?php print esc_html(WP_PLUGIN_URL.'/'.$fwp_path.'/feedwordpress.png'); ?>" alt="" /></div> 
     376        <div class="icon32"><img src="<?php print esc_html( plugins_url( '/'.$fwp_path.'/feedwordpress.png') ); ?>" alt="" /></div> 
    377377        <h2><?php print esc_html(__($pagename.($all ? '' : ' Settings'))); ?><?php if ($this->for_feed_settings()) : ?>: <?php echo esc_html($this->link->name(/*from feed=*/ false)); ?><?php endif; ?></h2> 
    378378        <?php 
     
    977977        wp_enqueue_script('admin-forms'); // for checkbox selection 
    978978 
    979         wp_register_script('feedwordpress-elements', WP_PLUGIN_URL.'/'.$fwp_path.'/feedwordpress-elements.js'); 
     979        wp_register_script('feedwordpress-elements', plugins_url('/' . $fwp_path . '/feedwordpress-elements.js') ); 
    980980        wp_enqueue_script('feedwordpress-elements'); 
    981981    } 
Note: See TracChangeset for help on using the changeset viewer.