Title: maxoud's Replies | WordPress.org

---

# maxoud

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/maxoud/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/maxoud/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/maxoud/replies/page/2/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Polylang] tricking people into annual subscriptions](https://wordpress.org/support/topic/tricking-people-into-annual-subscriptions/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/tricking-people-into-annual-subscriptions/#post-14933471)
 * > The activation keys are valid for ONE (1) year as from the date of purchase.
 * This text was found in the [General terms and conditions of sale](https://polylang.pro/terms/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTTP Headers] Javascript in the admin area breaks using plugin?](https://wordpress.org/support/topic/javascript-in-the-admin-area-breaks-using-plugin/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-in-the-admin-area-breaks-using-plugin/#post-14080116)
 * Likely your Content Security Policy (CSP) blocks inline scripts (doesn’t allow`
   unsafe-inline`). Allowing `unsafe-inline` endangers security, though.
 * It’s possible to securely allow inline content through _SRI hash_ or _nonce_ (
   not the one WordPress-native), but there is no any acceptable way to implement
   them without manual changes to the Core and plugins on every update.
 * The only way is to change the CSP policy to less secure allowing `unsafe-inline`
   script and style sources.
 * See [CSP Sources](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#sources)
   for _hash_ and _nonce_ and [SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
 * P. S. Use Web Developer’s Console (Ctrl+Shift+K or Cmd+Shift+K) to check what
   scripts have been blocked and which directive is responsible for that.
    -  This reply was modified 5 years, 2 months ago by [maxoud](https://wordpress.org/support/users/maxoud/).
    -  This reply was modified 5 years, 2 months ago by [maxoud](https://wordpress.org/support/users/maxoud/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] 2 Language Switchers on a single page](https://wordpress.org/support/topic/2-language-switchers-on-a-single-page/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/2-language-switchers-on-a-single-page/#post-12983726)
 * When you use two dropdown switchers, they happen to have identical attributes(`
   <select name="lang_choice_1" id="lang_choice_1">`). That’s the reason only one(
   the first) JavaScript block works.
 * You have to construct your own dropdowns. Use `pll_the_languages( array( 'raw'
   => 1 ) );` to get language names, codes, URLs etc, copy and modify JavaScript
   generated by `pll_the_languages()` ([see the source](https://plugins.trac.wordpress.org/browser/polylang/trunk/include/switcher.php#L131)).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] cmb2 compatible with polylang?](https://wordpress.org/support/topic/cmb2-compatible-with-polylang-2/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [6 years ago](https://wordpress.org/support/topic/cmb2-compatible-with-polylang-2/#post-12763647)
 * There is the `wpml-config.xml` file where you can specify how to handle post 
   meta translation. You can choose between ‘translate’, ‘copy’ or ‘ignore’ for 
   each custom field. For more info see [Polylang Documentation](https://polylang.pro/doc/the-wpml-config-xml-file/).
 * Also, make sure Custom Field checkbox is unchecked at `Languages → Settings →
   Synchronization`.
 * `pll_copy_post_metas` and `pll_translate_post_meta` [filters](https://polylang.pro/doc/filter-reference/#pll_copy_post_metas)
   also can be useful.
    -  This reply was modified 6 years ago by [maxoud](https://wordpress.org/support/users/maxoud/).
    -  This reply was modified 6 years ago by [maxoud](https://wordpress.org/support/users/maxoud/).
    -  This reply was modified 6 years ago by [maxoud](https://wordpress.org/support/users/maxoud/).
      Reason: Corrected the mistake
    -  This reply was modified 6 years ago by [maxoud](https://wordpress.org/support/users/maxoud/).
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Polylang] The chosen static front page must be translated in all languages](https://wordpress.org/support/topic/the-chosen-static-front-page-must-be-translated-in-all-languages/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/the-chosen-static-front-page-must-be-translated-in-all-languages/#post-11002348)
 * [Is it possible to use a static front page?](https://polylang.pro/doc/is-it-possible-to-use-a-static-front-page/)
 * People unable to read documentation will always face nonexistent problems.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Can’t override language file](https://wordpress.org/support/topic/cant-override-language-file/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years ago](https://wordpress.org/support/topic/cant-override-language-file/#post-9053356)
 * Hi, Barry!
 * I was trying to get rid of slugs translations in the plugin’s original `the-events-
   calendar-ru_RU.mo`. I didn’t need them to be translated.
 * > The above seems like what you want to have in place
 * Yes, I already had it, but the translation was not acceptable for me.
 * > potential for WordPress to download an updated translation file, overwriting
   > this one
 * That’s why I wanted to override the original `the-events-calendar-ru_RU.mo` the
   way it can’t be overwritten by WordPress. The way [offered in the Knowledgebase](https://theeventscalendar.com/knowledgebase/how-to-override-plugin-language-files/)
   didn’t not work for me.
 * P.S. I was trying to bring together The Events Calendar and Polylang with no 
   luck and decided to write the Polylang-compatible, built to my needs plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Pages change back to English](https://wordpress.org/support/topic/pages-change-back-to-english/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/pages-change-back-to-english/#post-8834114)
 * See [this post](https://polylang.wordpress.com/documentation/frequently-asked-questions/navigation-menus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Maker by dFactory] Breadcrumbs and Polylang problem](https://wordpress.org/support/topic/breadcrumbs-and-polylang-problem/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/breadcrumbs-and-polylang-problem/#post-8701163)
 * WordPress, Events Maker, Polylang – everything is up-to-date.
 * 1. I’ve made a clean WordPress install with Events Maker and Polylang plugins
   enabled.
    2. Created required pages under _Events Maker -> Settings -> Display_.
   3. Created two languages, _EN_ (default) and _RU_.
 * No other default settings were altered.
 * Also, I’ve tried to _Hide URL language information for default language_ in Polylang’s
   _URL modifications settings_ but it does not have an impact on the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Polylang Events Calendar](https://wordpress.org/support/topic/polylang-events-calendar/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/polylang-events-calendar/#post-8685004)
 * The simple method to fix this issue is to remove `month`, `list`, `day`, `today`,`
   upcoming` and `past` translations from the `*.mo` file of the corresponding language
   in the `/lang` directory of The Events Calendar plugin. These are around line#
   7070 in the `*.pot` file.
 * P.S. Notice that entries to remove are NOT capitalized, so double check.
    -  This reply was modified 9 years, 3 months ago by [maxoud](https://wordpress.org/support/users/maxoud/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] Make /wp-admin/ throw a 404 page or something](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/#post-8453302)
 * [@fabino](https://wordpress.org/support/users/fabino/), you’ll loose your hack
   after the plugin update. Never edit WordPress core files or plugins developed
   by others not you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] Make /wp-admin/ throw a 404 page or something](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/)
 *  [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/#post-8282569)
 * The plugin already throws 403 Forbidden HTTP status code:
 * `wp_die( __( 'This has been disabled', 'wps-hide-login' ), 403 );`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Polylang compatible plugins](https://wordpress.org/support/topic/polylang-compatible-plugins/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/polylang-compatible-plugins/#post-6247400)
 * Complemented:
 * – [Custom Taxonomy Order NE](https://wordpress.org/plugins/custom-taxonomy-order-ne/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Validation error](https://wordpress.org/support/topic/validation-error-35/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232046)
 * [@mra13](https://wordpress.org/support/users/mra13/) I don’t want to generate
   controversy but despite of HTML5 [here is](https://www.w3.org/TR/html401/interact/forms.html#adef-action)`
   action` attribute definition from 16 years old W3C recommendation for HTML 4.1:
 * > action = **_uri_**
   >  This attribute specifies a form processing agent. **User
   > agent behavior for a value other than an HTTP URI is undefined**.
 * Empty `action` is not a valid URI so you can’t be sure what’s the action will
   be assigned by UA. While HTML 4.1 covers pretty wide browser range.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Validation error](https://wordpress.org/support/topic/validation-error-35/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232043)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/), thank you, 
   but that documentation is on the wrong topic.
 * [Here is StackOverflow question](http://stackoverflow.com/q/7948428/577418) on
   the same topic I mention and [here is the solution](http://stackoverflow.com/q/32491347/577418)
   if you have problems with non-empty form action.
 * It’s not a big problem but it’s the only validation error shows up on my pages(
   and not only my). Validator error is:
    `Bad value for attribute action on element
   form: Must be non-empty.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Validation error](https://wordpress.org/support/topic/validation-error-35/)
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232041)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/) As of the date
   of the version 4.1.7 it’s not resolved.

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

1 [2](https://wordpress.org/support/users/maxoud/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/maxoud/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/maxoud/replies/page/2/?output_format=md)