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
Agreeing with https://www.danhendricks.com/2018/02/wordpress-fork/ .. and quite a few others: Gutenberg is the end as we know it (of WordPress). IMHO the beginning of the end is called "Theme Customizer". A half-broken, badly documented implementation of quite good idea. Customizer Changesets (formerly known as "Transactions") arrived just a few versions ago, while it should have been part of the Theme Customizer from the very start. And the list goes on .. but that is not the purpose of this document. | |
Let's start something new, with the old. Fork WordPress, before its too late, to avoid Gutenberg, the shallow try to turn WP into something like Squarespace or Wix. | |
My personal suggestions are: | |
- Fork WP 4.9.4 | |
- Backport anything worthwhile that arrives in 5.0 (security fixes, useful UI improvements etc.) | |
- Make a lot of hardcoded, baked-in stuff optional, or at least add options to disable them | |
- Prepare a compatiblity layer to enable most existing plugins to continue working properly with this fork, too |
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 | |
/** | |
* @author Fabian Wolf | |
* @link http://usability-idealist.de/ | |
* @license GNU GPL v2 or later | |
*/ | |
// try fetching an appropriate size setting based on width, optionally on height, too | |
if( !empty( $width ) ) { | |
// fetch available sizes | |
$arrImageSizes = $this->get_image_sizes(); |
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 BlogPost(postData) { | |
var class = 'sponsored-post', | |
checked = 'checked="checked"', | |
title = '<img src="/my/path/badge.png" />'; | |
if( !postData.isSponsored ) { | |
class = checked = title = ''; | |
} |
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
Hello, I'm a post! And I was originally created someplace else, ie. <a href="http://ag8.alltagsgrauen.info">at AlltagsGrauen</a>. Thus, you're just reading a copy of it. | |
Original text: | |
(blah) | |
Now add your comments! :) |
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
Industrial Madness ab ca. 20:15<br />Black\'N\'Deather ab ca. 22:15 (mit DJ Herr Ginsterbusch) |
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
Searched keywords: | |
#1: "regenerate thumbnails" - I use one of those plugins quite a lot. | |
#2: "acf wpml" / "wpml acf" - a few addons for Advanced Custom Fields | |
#3: "multisite language" - should display a few helpers for Multisite-based i18n implementations | |
Results: |
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 | |
function get_config_file( $custom_path = null ) { | |
$return = false; | |
if( empty( $custom_path ) && function_exists( 'wp_upload_dir' ) ) { | |
$upload_dir = wp_upload_dir(); | |
$config_path = trailingslashit( $upload_dir['basedir'] ) . 'control-wp-core-emails.php'; |
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
jQuery( function() { | |
/** | |
* IE 6 - 11 does not support the @methods supports of the CSS DOM API. Opera Mini + UC Browser for Android do not, too. | |
* IE Edge does, though. | |
* Uses jquery-match-height as flexbox fallback => @link https://github.com/liabru/jquery-match-height | |
*/ | |
_isIE = ( typeof( window.CSS.supports ) == false ); | |
_isMobile = ( jQuery('html').hasClass('mobile') ); // via headjs |
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
liste: | |
(Alternativlieder jeweils nach dem Schrägstrich) | |
gothic / gothpunk / postpunk: | |
- Fehlfarben - Paul ist tot (Album: Monarchie und Alltag) | |
- Bat For Lashes - A Forest (The Cure-Cover) | |
- Die Alten - Die Zeit (https://diealten.bandcamp.com/) | |
- Magnetic Fields - Too Drunk To Dream | |
- Faith and the Muse - When we go dark / Sovereign |