Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

WP-Footnotes improvement - 1

By: a guest on Sep 27th, 2011  |  syntax: PHP  |  size: 0.44 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         // INTERNAL HELPERS: @access private
  2.         /**
  3.          * Link format.
  4.          */
  5.         private function _getLinkFormat()
  6.         {
  7.                 return '<a href="%1$s" title="%2$s"%4$s>%3$s</a>';
  8.         }
  9.  
  10.  
  11.         /**
  12.          * Get current options
  13.          */
  14.         private function _getCurrentOption($option = '')
  15.         {
  16.                 // Base params:
  17.                 $options                = (array)       $this->current_options;
  18.                 $option                 = (string)      wp_kses($option, array());
  19.  
  20.                 return isset($options["{$option}"]) ? $options["{$option}"] : '';
  21.         }
  22.  
clone this paste RAW Paste Data