Skip to content
Snippets Groups Projects
Commit 5cd4ac45 authored by Dyszczo's avatar Dyszczo
Browse files

Merge branch 'bugfix/make-compatible' into 'master'

major bugfix for translable/translatable

See merge request !9
parents 2b1e3218 9fc47b01
No related branches found
No related tags found
1 merge request!9major bugfix for translable/translatable
Pipeline #8423 passed with stages
in 1 minute and 42 seconds
<?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
if ( ! interface_exists( 'WPDesk_Translable' ) ) {
require_once 'Translable.php';
}
/**
* Have info about textdomain - how to translate texts
*
* have to be compatible with PHP 5.2.x
*/
interface WPDesk_Translatable {
interface WPDesk_Translatable extends WPDesk_Translable {
/** @return string */
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.
Finish editing this message first!
Please register or to comment