This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace MyNamespace\MySubnameSpace; | |
class MySingleton | |
{ | |
private static $instance; | |
public static function get_instance(): MySingleton | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Generic PHP information | |
PHP version: 7.4.16 | |
Server: Apache | |
Maximum execution time: 30 seconds | |
Maximum memory size: 128.00 MB (134217728 bytes) | |
Maximum upload size: 2.00 MB (2097152 bytes) | |
Modules loaded: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function removeDropCap(settings, name) { | |
if (name !== 'core/paragraph') { | |
return settings; | |
} | |
let newSettings = Object.assign({}, settings); | |
if (newSettings.supports && | |
newSettings.supports.__experimentalFeatures && | |
newSettings.supports.__experimentalFeatures.typography && | |
newSettings.supports.__experimentalFeatures.typography.dropCap) { | |
newSettings.supports.__experimentalFeatures.typography.dropCap = false |