- Timestamp:
- 12/07/2015 04:14:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-specifics.php
r1814 r2167 13 13 $this->add_action( 'init' ); 14 14 $this->add_filter( 'projects', array( 'args' => 2 ) ); 15 $this->add_action( 'before_request', array( 'args' => 2 ) ); 16 } 17 18 function before_request( $class_name, $last_method_called ) { 19 if ( 'GP_Route_Translation' === $class_name && 'import_translations_post' === $last_method_called ) { 20 add_filter( 'enable_propagate_translations_across_projects', '__return_false' ); 21 } 15 22 } 16 23
Note: See TracChangeset
for help on using the changeset viewer.