Title: Greg Mount's Replies | WordPress.org

---

# Greg Mount

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

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

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Blocks — Page Builder Toolkit for Gutenberg Editor] Fix post height in Posts block](https://wordpress.org/support/topic/fix-post-height-in-posts-block/)
 *  Thread Starter [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/fix-post-height-in-posts-block/#post-18686101)
 * Confirmed. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin and Site Enhancements (ASE)] Site Identity on Login Page does not seem to work anymore](https://wordpress.org/support/topic/site-identity-on-login-page-does-not-seem-to-work-anymore/)
 *  [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/site-identity-on-login-page-does-not-seem-to-work-anymore/#post-18135225)
 * I can confirm this issue. Tested on all websites we host. Broke after upgrading
   core to 6.7.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin and Site Enhancements (ASE)] Attempt to create or modify table without primary key](https://wordpress.org/support/topic/attempt-to-create-or-modify-table-without-primary-key/)
 *  Thread Starter [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/attempt-to-create-or-modify-table-without-primary-key/#post-16950839)
 * This is a DigitalOcean managed database. The error is caused because the MySQL
   system variable ‘sql_require_primary_key’ is set, as is the case with many managed
   databases. It’s possible to disable the setting, but not advisable. A better 
   solution would be to add a sequential “entry_id” and use it as the table’s unique
   primary key.
 * Although the table contains non-sequential data, sequential IDs can be more efficient
   in terms of storage and indexing. Random or non-sequential identifiers might 
   lead to index fragmentation, which can slow down query performance in some cases.
    -  This reply was modified 2 years, 10 months ago by [Greg Mount](https://wordpress.org/support/users/gregmount/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin and Site Enhancements (ASE)] PHP Warning on Password Protected Login](https://wordpress.org/support/topic/php-warning-on-password-protected-login/)
 *  Thread Starter [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-on-password-protected-login/#post-16827234)
 * Looks like that did the trick. No errors logged and functionality still working.
   Thanks for the quick fix and great work on the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] Add rel=”noopener noreferrer” to external links in player](https://wordpress.org/support/topic/add-relnoopener-noreferrer-to-external-links-in-player/)
 *  Thread Starter [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/add-relnoopener-noreferrer-to-external-links-in-player/#post-15286663)
 * Any movement on this issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] API Key Visible](https://wordpress.org/support/topic/api-key-visible/)
 *  Thread Starter [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/api-key-visible/#post-11971982)
 * Hey Jess. Thanks for the detailed response and especially for the link to the
   constant values article. Since the original post, we have shifted to using constants
   to define settings.
 * For bonus points, it’s also helpful to define conditional constants for WPMS 
   in wp-config.php based on the hosting environment. For example, we define PHP
   Mailer constants for our development environment, which is configured to send
   all mail to a specific test account. In production, we configure email to be 
   sent using SendGrid.
 * This enables us to migrate sites between development, staging and production 
   environments without worrying about transactional email. Here’s a snippet of 
   what we use:
 *     ```
       if ( ! preg_match( '/(^dev\.)|(\.dev$)/', $_SERVER['HTTP_HOST'] ) ) {
         // Production environment only
         define( 'WPMS_MAILER', 'sendgrid' );
         define( 'WPMS_SENDGRID_API_KEY', 'API key required' ); // Enter SendGrid API key
       } else {
         // Development environment only
         define( 'WPMS_MAILER', 'mail' );
       }
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)