Skip to content
Snippets Groups Projects
Commit 9fc47b01 authored by dyszczo's avatar dyszczo
Browse files

major bugfix for translable/translatable

parent c52ff062
No related branches found
No related tags found
1 merge request!9major bugfix for translable/translatable
Pipeline #8371 passed
<?php
/**
* @deprecated Have typo so better use WPDesk_Translatable
*/
interface WPDesk_Translable {
/** @return string */
public function get_text_domain();
}
\ No newline at end of file
<?php <?php
if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once 'Translable.php';
}
/** /**
* Have info about textdomain - how to translate texts * Have info about textdomain - how to translate texts
* *
* have to be compatible with PHP 5.2.x * have to be compatible with PHP 5.2.x
*/ */
interface WPDesk_Translatable { interface WPDesk_Translatable extends WPDesk_Translable {
/** @return string */ /** @return string */
public function get_text_domain(); public function get_text_domain();
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment