2021-04-26 22:57:04 +01:00
< ? php
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* File providing the `Footnotes_Config` class .
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* @ package footnotes
* @ subpackage includes
2021-04-27 08:31:37 +01:00
*
2021-04-29 20:57:30 +01:00
* @ since 1.5 . 0
* @ since 2.8 . 0 Rename file from `config.php` to `class-footnotes-config.php` .
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
/**
2021-04-29 20:57:30 +01:00
* Class defining plugin constants .
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* This class contains no methods of properties .
*
* @ since 1.5 . 0
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:16:05 +01:00
class Footnotes_Config {
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* Public plugin name .
2021-02-23 16:00:59 +00:00
*
* @ var string
2021-02-23 16:44:18 +00:00
*
2021-04-29 20:57:30 +01:00
* @ since 1.5 . 0
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:15:17 +01:00
const C_STR_PLUGIN_PUBLIC_NAME = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>' ;
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* Public plugin name for use as a dashboard heading .
2021-02-23 16:44:18 +00:00
*
2021-02-23 16:00:59 +00:00
* After properly displaying in dashboard headings until WPv5 . 4 , the above started
2021-04-29 20:57:30 +01:00
* in WP 5.5 being torn apart as if the headline was `text-align:justify` and not
* the last line . That ugly display bug badly affected the plugin ' s communication .
* The only working solution found so far is using `position:fixed` in one heading
* that isn ' t translated , and dropping the logo in another , translatable heading .
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* @ var string
*
* @ since 2.0 . 4
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:15:17 +01:00
const C_STR_PLUGIN_HEADING_NAME = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>' ;
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* HTML element for the ‘ love’ symbol .
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* @ var string
*
* @ since 1.5 . 0
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:15:17 +01:00
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</span>' ;
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* HTML element for the ‘ love’ symbol used in dashboard heading
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* @ var string
*
* @ since 2.0 . 4
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:15:17 +01:00
const C_STR_LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">♥</span>' ;
2021-02-23 16:00:59 +00:00
/**
2021-04-29 20:57:30 +01:00
* Shortcode to NOT display the ‘ LOVE ME’ slug on certain pages .
2021-02-23 16:00:59 +00:00
*
2021-04-29 20:57:30 +01:00
* @ var string
*
* @ since 1.5 . 0
* @ todo Remove .
* @ deprecated
2021-02-23 16:00:59 +00:00
*/
2021-04-19 12:15:17 +01:00
const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]' ;
2021-02-23 16:00:59 +00:00
}