Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide optimole admin menu when wp config constant is defined #196

Closed
selul opened this issue Dec 12, 2019 · 0 comments
Closed

hide optimole admin menu when wp config constant is defined #196

selul opened this issue Dec 12, 2019 · 0 comments
Assignees
Labels
enhancement Request to improve or optimize an existing feature or functionality in the project

Comments

@selul
Copy link
Contributor

selul commented Dec 12, 2019

We can have a mechanism of hiding the media library menu by adding a wp-config constant.

We can use OPTIOMLE_HIDE_ADMIN_AREA which will hide only the admin menu, the page will still be available by direct link.

@selul selul added the enhancement Request to improve or optimize an existing feature or functionality in the project label Dec 12, 2019
selul pushed a commit that referenced this issue Dec 17, 2019
#### [Version 2.2.7](v2.2.6...v2.2.7) (2019-12-17)

* **Bug Fixes**
   * blur remaining outside of an image after it gets lazyloaded ([0df2633](0df2633))
   * blur remaining outside of an image after it gets lazyloaded, references Codeinwp/optimole_js_lib[#55](#55) ([001bfe5](001bfe5))
   * edge case lazyload replacement when noscript images are present ([c788c3f](c788c3f))
   * improve compatibility with Divi builder ([7d1c469](7d1c469))
   * improve compatibility with W3TC minification system ([bf9f058](bf9f058))
   * improve compatibility with WP Migrate DB ([02df077](02df077))
   * improve lazyload and replacement on json strings ([b7f67fd](b7f67fd))
   * removed blur from lazyload placeholders ([2c7d66d](2c7d66d))
   * safari blur problem ([5e31ec3](5e31ec3))
   * safari blur problem ([2ea1d82](2ea1d82))

* **Features**
   * adds compatibility for schemaless and relative image URLs ([e3886eb](e3886eb))
   * hide Optimole menu via constant [#196](#196) ([e0268fa](e0268fa))
   * skip lazyload on images with skip-lazy flag ([4d9219f](4d9219f))
selul pushed a commit that referenced this issue Jan 14, 2020
#### [Version 2.2.7](v2.2.6...v2.2.7) (2019-12-17)

* **Bug Fixes**
   * blur remaining outside of an image after it gets lazyloaded ([0df2633](0df2633))
   * blur remaining outside of an image after it gets lazyloaded, references Codeinwp/optimole_js_lib[#55](#55) ([001bfe5](001bfe5))
   * edge case lazyload replacement when noscript images are present ([c788c3f](c788c3f))
   * improve compatibility with Divi builder ([7d1c469](7d1c469))
   * improve compatibility with W3TC minification system ([bf9f058](bf9f058))
   * improve compatibility with WP Migrate DB ([02df077](02df077))
   * improve lazyload and replacement on json strings ([b7f67fd](b7f67fd))
   * removed blur from lazyload placeholders ([2c7d66d](2c7d66d))
   * safari blur problem ([5e31ec3](5e31ec3))
   * safari blur problem ([2ea1d82](2ea1d82))

* **Features**
   * adds compatibility for schemaless and relative image URLs ([e3886eb](e3886eb))
   * hide Optimole menu via constant [#196](#196) ([e0268fa](e0268fa))
   * skip lazyload on images with skip-lazy flag ([4d9219f](4d9219f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request to improve or optimize an existing feature or functionality in the project
Projects
None yet
Development

No branches or pull requests

2 participants