Merge branch '3.0' into 3.0-redo-settings
This commit is contained in:
commit
b65d128326
18 changed files with 7122 additions and 672 deletions
|
@ -60,7 +60,7 @@
|
|||
return {
|
||||
longname: 'footnotes',
|
||||
author: 'Mark Cheret',
|
||||
authorurl: 'https://cheret.org/footnotes/',
|
||||
authorurl: 'https://cheret.tech/footnotes/',
|
||||
infourl: 'https://wordpress.org/plugins/footnotes/',
|
||||
version: '2.7.4d',
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* Requires at least: 3.9
|
||||
* Requires PHP: 7.0
|
||||
* Author: Mark Cheret
|
||||
* Author URI: https://cheret.org/footnotes
|
||||
* Author URI: https://cheret.tech/footnotes
|
||||
* Text Domain: footnotes
|
||||
* Domain Path: /languages
|
||||
* License: GPL v3
|
||||
|
@ -111,6 +111,8 @@ require_once plugin_dir_path( __FILE__ ) . 'includes/class-core.php';
|
|||
*
|
||||
* Since everything within the plugin is registered via hooks, then kicking off
|
||||
* the plugin from this point in the file does not affect the page life cycle.
|
||||
* This takes place after the `plugins_loaded` hook, so that other Plugins may
|
||||
* filter options.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
|
@ -124,4 +126,4 @@ function run_footnotes(): void {
|
|||
$footnotes = new includes\Core();
|
||||
$footnotes->run();
|
||||
}
|
||||
run_footnotes();
|
||||
add_action( 'plugins_loaded', run_footnotes() );
|
||||
|
|
8
src/wpml-config.xml
Normal file
8
src/wpml-config.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<wpml-config>
|
||||
<admin-texts>
|
||||
<key name="footnotes_storage">
|
||||
<key name="footnote_inputfield_references_label" />
|
||||
<key name="footnote_inputfield_readon_label" />
|
||||
</key>
|
||||
</admin-texts>
|
||||
</wpml-config>
|
Reference in a new issue