Title: ejm's Replies | WordPress.org

---

# ejm

  [  ](https://wordpress.org/support/users/llizard/)

 *   [Profile](https://wordpress.org/support/users/llizard/)
 *   [Topics Started](https://wordpress.org/support/users/llizard/topics/)
 *   [Replies Created](https://wordpress.org/support/users/llizard/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/llizard/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/llizard/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/llizard/engagements/)
 *   [Favorites](https://wordpress.org/support/users/llizard/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 380 total)

1 [2](https://wordpress.org/support/users/llizard/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/llizard/replies/page/3/?output_format=md)…
[24](https://wordpress.org/support/users/llizard/replies/page/24/?output_format=md)
[25](https://wordpress.org/support/users/llizard/replies/page/25/?output_format=md)
[26](https://wordpress.org/support/users/llizard/replies/page/26/?output_format=md)
[→](https://wordpress.org/support/users/llizard/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Classic Editor] Will the Classic Editor plugin continue to receive support?](https://wordpress.org/support/topic/will-the-classic-editor-plugin-continue-to-receive-support/)
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months ago](https://wordpress.org/support/topic/will-the-classic-editor-plugin-continue-to-receive-support/#post-18636453)
 * After updating to WP6.8.2, because of conflicts with older plugins, it was with
   great reluctance that I disabled the Classic Editor to switch to using the largely
   WYSIWYG Block editor.
   I do understand that there is a way to use the Classic 
   mode within the Block system. After having to consult too many pages on how to
   use the blocks, I did that. It is very surprising to see that the Block editor
   adds extra code if a user is opting to insert HTML rather than use the visual
   editor. WP has made it arguably more difficult to switch from visual to code,
   also to find , the Block editor still needs work: to easily see the sidebar with
   its dashboard, to immediately see the discussion options below a post, to see
   the categories listed without having to search for them, to find the screen elements
   options, to do exactly what the classic editor did so very well.
 * Until there is an obvious way to find the button to disable comments on individual
   posts, I highly encourage WP to update and support the classic plugin. 
   (I had
   to re-enable Classic Editor to find the “disable discussion” section.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to add custom field to WP comment form](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months ago](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/#post-18633104)
 * Thank you again for all your help. The error message I’m seeing is “some code
   in the plugin or theme running too early”.
 * (Unfortunately, my server is less than helpful and/or available.) I’ll keep chipping
   away at it. Alas, it means having to delete some favourite plugins that have 
   only recently become obsolete and are no longer maintained to be compatible with
   the latest WP update. (That is, “recently” in real time rather than computer 
   time; they were fine until a couple of months ago) 
   I will mark this as “resolved”.
   Thank you again.– E
    -  This reply was modified 8 months ago by [ejm](https://wordpress.org/support/users/llizard/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to add custom field to WP comment form](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months ago](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/#post-18631758)
 * Ooops. I neglected to insert the following just before the “attach webname to
   author”. I have re-inserted the coding again. It does not throw any errors. But
   it also does not display the webname if it is filled in.
 *     ```wp-block-code
       // make sure webname appears if it is filled infunction comment_edit_function( $comment_id ){    if( isset( $_POST['webname'] ) )      update_comment_meta( $comment_id, 'webname', esc_attr( $_POST['webname'] ) );	else 	$_POST['webname'] = '';}
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to add custom field to WP comment form](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months ago](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/#post-18631735)
 * Thank you, threadi. This has been most helpful. 
   I have also added the following.
   These two functions do NOT cause any critical errors (yay!) But also do not appear
   to be putting anything into the comment editing screen. Nor does the second function
   attach the webname to the author in the comments section on the blog. But at 
   least the added field is no longer causing any fatal errors!
 *     ```wp-block-code
       /*...............Update comment meta data from comment editing screen ...................*/ function webname_comment_edit_meta_fields( $comment_id ) {		if ( ( isset( $_POST['webname'] ) ) && ( $_POST['webname'] != '' ) ) {        $webname = wp_filter_nohtml_kses( $_POST['webname'] );        update_comment_meta( $comment_id, 'webname', $webname );  } }add_action( 'edit_comment', 'webname_comment_edit_meta_fields' );/*...............Attach website name to author ...................*/ add_filter( 'get_comment_author_link', 'attach_websitename_to_author' );function attach_websitename_to_author( $author ) {    $webname = get_comment_meta( get_comment_ID(), 'webname', true );	if ( isset( $webname ) && '' != $webname ) {		$author .= esc_html(" ($webname)");    }    return $author; }
       ```
   
 * Any ideas about what I have done wrong in these two functions that did work in
   php7?
 * Thank you again!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to add custom field to WP comment form](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months ago](https://wordpress.org/support/topic/how-to-add-custom-field-to-wp-comment-form/#post-18631524)
 * Thank you for posting a how-to for inserting code. I was going to insert the 
   code but was challenged by the new format here. (I am very challenged with “blocks”.)
   
   Sigh. Every time I try to insert the code, I click on “code”, paste in the code
   and hey presto, it strips any instances of &lt; and &gt; away. I’ll try one more
   time… FINALLY!! I did not realize I had to look for the code block further down
   in the post. (I am from the previous century when we used to simply surround 
   code with single quotes….)
 * Here is the code that is causing the critical error:
 *     ```wp-block-code
       function add_comment_fields($newfield) {    $newfield['webname'] = '<p class="comment-form-author" title="this field is optional"><label for="webname">' . __( 'Your Site\'s Name' ) . '</label>' .        '<input id="webname" name="webname" type="text" size="30" /></p>';    return $newfield;}add_filter('comment_form_default_fields','add_comment_fields');
       ```
   
 * Thank you for any help you can offer.
   – E.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twelve] Twenty Twelve Update has broken my child theme](https://wordpress.org/support/topic/twenty-twelve-update-has-broken-my-child-theme/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/twenty-twelve-update-has-broken-my-child-theme/#post-18605041)
 * Thank you for your reply. I will stare at the error logs.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to move comment that was nested in error](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/#post-17225237)
 * re: “If you really want to start this change I recommend you to join the [WordPress slack channel](https://make.wordpress.org/chat/),[…
   snip…] and mention your ticket there.” 
   Because I am not a programmer, and considering
   that there has been little attention from developers interested on implementing
   this feature in 13 years since someone first placed the ticket, and the sporadic
   replies offering solutions or stating that this is indeed a good idea (indicating
   statistically that there must be others wanting this improvement to the WP core),
   I confess that I’m not sure that I’m ready for the disappointment when/if nothing
   happens again. If there is a mis-threaded comment on my WP again, I will probably
   just resort to delving into the database as you suggested. Thank you again, !
   Benni, for pointing to that plugin-free solution.
    -  This reply was modified 2 years, 5 months ago by [ejm](https://wordpress.org/support/users/llizard/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to move comment that was nested in error](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/#post-17222450)
 * Thank you, !Benni. I have created a ticket and hope that I filled everything 
   in correctly. Fingers crossed….
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to move comment that was nested in error](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/#post-17219759)
 * Thanks for finding that, !Benni. Others may find this plugin useful. (I am not
   wild about installing a plugin just for this; I don’t get enough comments to 
   make it worthwhile.) 
   Going directly into the databasetable did the trick. Still,
   it would be handier if there were a place in the comments area of WP-admin where
   this could be done.
 * With reluctance, I’ll mark this question as resolved.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to move comment that was nested in error](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/how-to-move-comment-that-was-nested-in-error/#post-17215570)
 * Thank you, !Benni. I was hoping there was a way from the admin area of wp, but
   if going into the database itself is the only option, that will have to do. 
   
   I’m going to leave this as “unresolved” just in case someone knows a better way.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [customizing /wp-content/maintenance/template.phtml](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/#post-14797497)
 * Thank you for your reply, Jan Dembowski.
 * By putting the following in my theme’s functions.php, am I correct that “get 
   header” would cause the page to display my theme’s header?
 *     ```
       // Activate WordPress Maintenance Mode
       function wp_maintenance_mode() {
           if (!current_user_can('edit_themes') || !is_user_logged_in()) {
               wp_die('<h1>Under Maintenance</h1><br />Something ain't right, but we're working on it! Check back later.');
           }
       }
       add_action('get_header', 'wp_maintenance_mode');
       ```
   
 * However, this would cause the site to show it was in Maintenance mode until the
   coding was removed, would it not?
 * What I am trying to do is use “The maintenance function in WordPress” but avoid
   the display of a wp-generated splash page that is largely blank (or worse, if
   I used a plugin, one with someone else’s generic background image) with just 
   a few words on it and nothing else (even if it is for a very short time) that
   doesn’t not look anything like the expected view of the site.
 * > WordPress updates shouldn’t take longer than a minute, but during that minute,
   > your site will be replaced by this splash page [- mhthemes.com/support/knb/
   > how-put-wordpress-in-maintenance-mode/#built-in-maintenance-mode]
 * In computer time, a minute is an eon.
 * I was hoping that someone might be able to explain how I could make the maintenance
   page show my header and footer (and perhaps modified sidebar), with the maintenance
   message displayed prominently on the main part of the page. It doesn’t seem like
   a huge thing to want….
 * Until around December, we were able to do that by customizing the maintenance.
   php in wp-content folder.
 * WP is just one aspect of my site. When WP is in maintenance, I would like to 
   be able to offer visitors links to related parts, rather than knowing they will
   simply leave in impatience.
 * Correct me if I’m wrong, but placing the WP php coding on a div to be inserted
   on a largely HTML based page would not be any more of a security risk than having
   the WP-generated php page would it?
 * -E. Morris
 * P.S. The reason I moved the question over into Feedback section was to point 
   out that there is zero explanation of /wp-content/maintenance/template.phtml 
   in the Codex. Or at least, if there is, it is pretty much impossible to find 
   by searching.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [customizing /wp-content/maintenance/template.phtml](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/#post-14791894)
 * Alas, the thread I started in the Feedback section of the forum has been removed.
   How disappointing.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [customizing /wp-content/maintenance/template.phtml](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/#post-14791512)
 * I have now moved this question over to [https://wordpress.org/support/topic/walk-through-to-customize-maintenance-page-without-a-plugin/](https://wordpress.org/support/topic/walk-through-to-customize-maintenance-page-without-a-plugin/)
 * I do not know how to close this thread. I am reluctant to mark this as “resolved”,
   because it is not.
    -  This reply was modified 4 years, 8 months ago by [ejm](https://wordpress.org/support/users/llizard/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [customizing /wp-content/maintenance/template.phtml](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/customizing-wp-content-maintenance-template-phtml/#post-14791469)
 * Thank you for your reply, t-p.
 * Just to clarify, I am hoping NOT to use a plugin. Already, a number of the maintenance
   mode plugins are no longer compatible with the latest WP version. Additionally,
   the plugins that _are_ compatible with the latest WP version offer their own 
   templates or a blank template, offering blocks to modify. (I still haven’t wrapped
   what’s left of my mind around the block editor.)
 * What I’m looking for is something that will use the theme of my WP. I have zero
   plans to change that theme….
 * I will try in the developers’ forum to see if someone there can help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] please fix .htaccess file in wpcf7_uploads](https://wordpress.org/support/topic/please-fix-htaccess-file-in-wpcf7_uploads/)
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [5 years ago](https://wordpress.org/support/topic/please-fix-htaccess-file-in-wpcf7_uploads/#post-14381768)
 * Thank you for your reply, jasonabmw. Yes, the code snippet I used does indeed
   match our server’s version of Apache. I will do as you say, and until the coding
   is fixed by the plugin (I cannot find where the directive for it is in the plugin
   files), I will manually change it.
 * I see that this plugin has just been updated, but the .htaccess file remains 
   the same. Takayuki Miyoshi, I trust you will fix the /wp-content/uploads/wpcf7_uploads/.
   htaccess file coding to provide backward compatibilty as well as forward compatibility
   in the next update.
 * Thank you.

Viewing 15 replies - 1 through 15 (of 380 total)

1 [2](https://wordpress.org/support/users/llizard/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/llizard/replies/page/3/?output_format=md)…
[24](https://wordpress.org/support/users/llizard/replies/page/24/?output_format=md)
[25](https://wordpress.org/support/users/llizard/replies/page/25/?output_format=md)
[26](https://wordpress.org/support/users/llizard/replies/page/26/?output_format=md)
[→](https://wordpress.org/support/users/llizard/replies/page/2/?output_format=md)