Plugin Directory

Changeset 1423482


Ignore:
Timestamp:
05/24/2016 07:20:16 PM (10 years ago)
Author:
.fay
Message:

Tested up to

Location:
wp-direction-detector/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-direction-detector/trunk/readme.txt

    r160278 r1423482  
    22
    33Contributors: Fayçal Tirich
    4 Donate link: http://faycaltirich.blogspot.com/1979/01/wp-direction-detector.html
     4Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GEUJA8MV256VE
    55Tags: language, direction, rtl, ltr, right to left support, translate
    66Requires at least: 2.0
    7 Tested up to: 2.8.4
     7Tested up to: 4.5.2
    88Stable tag: 1.2
    99
  • wp-direction-detector/trunk/wp_direction_detector.php

    r160278 r1423482  
    119119
    120120if(get_option('wp-direction-detector_titles')=='yes') {
    121     add_filter('the_title', array(&$wp_dir_detector,processContent),99);
     121    add_filter('the_title', array($wp_dir_detector,processContent),99);
    122122}
    123123if(get_option('wp-direction-detector_bodies')=='yes') {
    124     add_filter('the_content', array(&$wp_dir_detector,processContent),99);
     124    add_filter('the_content', array($wp_dir_detector,processContent),99);
    125125}
    126126if(get_option('wp-direction-detector_comments')=='yes') {
    127     add_filter('comment_text', array(&$wp_dir_detector,processContent),99);
     127    add_filter('comment_text', array($wp_dir_detector,processContent),99);
    128128}
    129129
     
    132132    if (function_exists('add_options_page')) {
    133133        if( current_user_can('manage_options') ) {
    134             add_options_page('WP Direction Detector', 'WP Direction Detector', 'manage_options', __FILE__, array(&$wp_dir_detector, options_page)) ;
     134            add_options_page('WP Direction Detector', 'WP Direction Detector', 'manage_options', __FILE__, array($wp_dir_detector, options_page)) ;
    135135        }
    136136    }
Note: See TracChangeset for help on using the changeset viewer.