Changeset 1423482
- Timestamp:
- 05/24/2016 07:20:16 PM (10 years ago)
- Location:
- wp-direction-detector/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wp_direction_detector.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-direction-detector/trunk/readme.txt
r160278 r1423482 2 2 3 3 Contributors: Fayçal Tirich 4 Donate link: http ://faycaltirich.blogspot.com/1979/01/wp-direction-detector.html4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GEUJA8MV256VE 5 5 Tags: language, direction, rtl, ltr, right to left support, translate 6 6 Requires at least: 2.0 7 Tested up to: 2.8.47 Tested up to: 4.5.2 8 8 Stable tag: 1.2 9 9 -
wp-direction-detector/trunk/wp_direction_detector.php
r160278 r1423482 119 119 120 120 if(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); 122 122 } 123 123 if(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); 125 125 } 126 126 if(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); 128 128 } 129 129 … … 132 132 if (function_exists('add_options_page')) { 133 133 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)) ; 135 135 } 136 136 }
Note: See TracChangeset
for help on using the changeset viewer.