The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @IanColdwater: Do not touch that part of the codebase, you say? Well now that you mentioned it, I am most certainly going to touch that… 12 minutes ago
    • RT @IanColdwater: Phrases for breakers to keep an eye out for in documentation written for builders include: * should not be used in produ… 22 minutes ago
    • RT @IanColdwater: My favorite part of these docs is the part where it specifically recommends ephemeral containers as a use case for distro… 31 minutes ago
    • RT @ookkliklaminaat: hoe grappig zou het zijn als we allemaal de 6 uur lange IKEA Luistercatalogus de Top2000 instemmen 37 minutes ago
    • RT @Walrathis: 12.000 Mensen. Bij één zorgverlener. 12.000 Mensen. Stel je eens voor dat ze knobbel in hun borst zouden hebben, bloedwaar… 42 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,777 other followers

Archive for the ‘WordPress’ Category

Lesson learned: do not copy/paste code from the `Visual` WordPress.com editor…

Posted by jpluimers on 2019/04/16

[WayBack] Lesson learned: do not copy/paste code from the Visual WordPress.com editor; copy from the Text editor or the Preview… – Jeroen Wiert Pluimers – Google+.

Note: likely the HTML below got rendered badly by WordPress.com, so the gist below has the same text as a MarkDown file.

Ever wonder why copy-pasting code from your WordPress.com post fails?

The first statement fails, but the second works:

[root@linux:/etc] # useradd --create-home --shell /bin/false autossh24
useradd: unrecognized option '--shell /bin/false'
...
[root@linux:/etc] # useradd --create-home --shell /bin/false autossh24
[root@linux:/etc] #

The reason is that the first is copied from the Visual WordPress.com editor that renders this HTML inserting   which is a different unicode characer (0x00A0) than a normal space (0x0020):

<blockquote><p><code data-mce-selected="1"># <strong>useradd --create-home --shell&nbsp;/bin/false autossh24</strong></code></p></blockquote>

However, the the second copied from the Text WordPress.com editor succeeds because it has all regular spaces:

<blockquote><code># <strong>useradd --create-home --shell /bin/false autossh24</strong></code></blockquote>

Luckily the Preview render is correct:

<blockquote><p><code># <strong>useradd --create-home --shell /bin/false autossh24</strong></code></p></blockquote>

Lesson learned: do not copy/paste code from the Visual WordPress.com editor; copy from the Text editor or the Preview.

–jeroen

[WayBackEver wonder why copy-pasting code from your WordPress.com post fails?

Read the rest of this entry »

Posted in Development, PHP, Scripting, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Akismet GDPR notification: enabled

Posted by jpluimers on 2018/05/30

I saw the below notification recently, but it was already enabled.

Akismet & Privacy.

To help your site be compliant with GDPR and other laws requiring notification of tracking, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, if you or your audience is located in Europe, you need to turn it on.

Please enable or disable this feature. More information.

–jeroen

Read the rest of this entry »

Posted in Development, GDPR/DS-GVO/AVG, Power User, Privacy, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Yay! The WordPress.com Press-This bookmarklet now works again!

Posted by jpluimers on 2017/11/29

Good news the Press-This bookmarklet on WordPress.com has been reinstated.

See https://github.com/WordPress/press-this/pull/29 and the discussions in these below threads and sources.

Solves issues:

  • #12 – Add text domains
  • #15 – Restore Bookmarklet Functionality
  • #17 – Needs better documentation
  • #32 – The Press This bookmarklet itself on the tools page does not have the code

Some relevant sources:

–jeroen

Posted in Development, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Direct link to the “old” WordPress stats page giving more information: My Stats — WordPress.com

Posted by jpluimers on 2014/12/22

For my link archive: the “old” stats page, as it shows more information in a better formatted way (especially on larger monitors) My Stats — WordPress.com.

The “new” stats page used only half the screen width (long live responsive layout): Stats ‹ 7443331 — WordPress.com.

–jeroen

Posted in Development, SocialMedia, Software Development, Web Development, WordPress, WordPress | 2 Comments »

WordPress.com #fail (new editor just as bad as old one): Another example of the editor eating line breaks « WordPress.com Forums

Posted by jpluimers on 2014/10/31

Complaint Friday…

A long time ago, I complained about the (now old!) WordPress.com editor being wrong, wrong, wrong: Another example of the editor eating line breaks « WordPress.com Forums.

The promise then was that the new editor would be better.

The big news: the new editor is just as bad in this respect (and far worse in other respects).

Just watch the text around my signature and PS in the texts below and shiver.

Lets start with the original text of my GoToWebinar blog post today:

Read the rest of this entry »

Posted in Power User, Software Development, Web Development, WordPress, WordPress | 1 Comment »

 
%d bloggers like this: