_processed ) { return; } $this->_processed = true; // Disable several plugins which do not honor `DONOTCACHEPAGE` (set in `PageResource.php`). if ( ! headers_sent() ) { // Sending `no-cache` header should prevent CDNs from caching the first request. header( 'Cache-Control: no-store, no-cache' ); // Disable SiteGround Optimizer Dynamic Cache. header( 'X-Cache-Enabled: False' ); } // Disable LiteSpeed Cache. $reason = esc_html__( 'Generating CSS', 'et_builder' ); do_action( 'litespeed_control_set_nocache', $reason ); // Disable WP Fastest Cache. if ( class_exists( 'WpFastestCacheCreateCache' ) ) { // This Plugin has no hook/API to disable cache programmatically.... // The only way we can do this is by setting the `exclude_current_page_text` public property // to a non empty value... except the class instance is not made available anywhere in the code.... // However, the instance also adds itself to the `wp` hook so we can find it by scanning the list // of all registered actions. $hooks = et_()->array_get( $GLOBALS, 'wp_filter.wp.10', [] ); if ( is_array( $hooks ) ) { foreach ( $hooks as $key => $hook ) { if ( isset( $hook['function'] ) && is_array( $hook['function'] ) && is_a( $hook['function'][0], 'WpFastestCacheCreateCache' ) ) { $wp_fastest_cache = $hook['function'][0]; $wp_fastest_cache->exclude_current_page_text = ""; break; } } } } // Disable Breeze Cache. if ( function_exists( 'breeze_cache' ) ) { // This Plugin has no hook/API to disable cache programmatically.... // The only way we can do this is by overwriting its configuration // which is exposed as global variable. global $breeze_config; if ( isset( $breeze_config['cache_options'] ) ) { $cache_options =& $breeze_config['cache_options']; if ( is_array( $cache_options ) ) { $cache_options['breeze-browser-cache'] = 0; $cache_options['breeze-desktop-cache'] = 0; $cache_options['breeze-mobile-cache'] = 0; } } } // Disable Hyper Cache. if ( function_exists( 'hyper_cache_callback' ) ) { global $hyper_cache_stop; $hyper_cache_stop = true; } } /** * Disable Cache on first page request. * * @see prevent_cache() * * @since 4.11.0 * * @return void */ public function maybe_prevent_cache() { global $shortname; // Bail if the magic already happened. if ( $this->_processed ) { return; } // Disable in the Visual Builder if ( et_fb_is_enabled() ) { return; } $product = in_array( $shortname, [ 'divi', 'extra' ], true ) ? $shortname : 'divi-builder'; $post_id = et_core_page_resource_get_the_ID(); $is_preview = is_preview() || is_et_pb_preview() || isset( $_GET['et_pb_preview_nonce'] ) || is_customize_preview(); // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification -- Only checks if the parameter exists, and is therefore not susceptible to CSRF. $is_singular = et_core_page_resource_is_singular(); $is_cpt = et_builder_should_wrap_styles(); $forced_in_footer = $post_id && et_builder_setting_is_on( 'et_pb_css_in_footer', $post_id ); $forced_inline = ( ! $post_id || $is_preview || $forced_in_footer || et_builder_setting_is_off( 'et_pb_static_css_file', $post_id ) || et_core_is_safe_mode_active() || ET_GB_Block_Layout::is_layout_block_preview() ); // If the post is password protected and a password has not been provided yet, // no content (including any custom style) will be printed. // When static css file option is enabled this will result in missing styles. if ( ! $forced_inline && post_password_required( $post_id ? $post_id : null ) ) { $forced_inline = true; } // Bail if using inline styles, page content won't be changing between requests anyway. if ( $forced_inline ) { return; } $unified = $is_singular && ! $forced_inline && ! $forced_in_footer && et_core_is_builder_used_on_current_request(); $post_id = $unified ? $post_id : 'global'; $owner = $unified ? 'core' : $product; $slug = $unified ? 'unified' : 'customizer'; $slug .= $is_cpt ? '-cpt' : ''; $slug = et_theme_builder_decorate_page_resource_slug( $post_id, $slug ); $resource = et_core_page_resource_get( $owner, $slug, $post_id ); // Bail if Builder CSS already exists in external file, this is the request we want to cache. if ( $resource->has_file() ) { return; } $this->prevent_cache(); } /** * Get the class instance. * * @since 4.11.0 * * @return ET_Builder_Do_Not_Cache_Page */ public static function instance() { if ( ! self::$_instance ) { self::$_instance = new self(); } return self::$_instance; } } ET_Builder_Do_Not_Cache_Page::instance(); Newspapers and Websites | Legal Consultation

Newspapers and Websites

Prof. Salah Zaineddin

6 September 2022

An article titled “Creativity and Innovation in Qatar’s Stadiums for the 2022 World Cup. A remarkable achievement. Deserves legal protection,” Qatar’s Al-Raya newspaper. Read More..

1 September 2022

An article titled “Yellow Gold… black, and electronic… and international conflicts,” Al-Raya newspaper. Read More..

23 August 2022

 An article titled “The Way to Support Arab and Islamic Rights,” Qatari Al-Raya Newspaper. Read More.. 

11 September 2022

An article titled “Gaza Hashem… Triumph again… Despite the wounds,” Qatari Al-Raya newspaper. Read More..

1 April 2021

A legal comment in a press report titled “Does Egypt have the right to seize the ship Ever Given if it refuses to compensate the Suez Canal,” mubasher.aljazeera.net. Read More..

20 August 2020

Article titled “The Methods in which the maritime dispute in the eastern Mediterranean might be settled,” Raya Newspaper. Read More..

26 March 2020

A statement in an article entitled “Qatar University implements remote work with high efficiency”. Raya Newspaper.  Read More..

28 Jan 2020

A statement in an article entitled “Discussing the legal challenges of media work”. Raya Newspaper. Read More..

18 March 2019

A statement in an article entitled “The opening of a branch of the university is the demand of the residents of the north”. Raya Newspaper. Read More..

24 Sep 2018

Legal statement in an article entitled “The secret world of private tutoring at university”. Raya Newspaper. Read More..

02 June 2018

Article entitled “Qatar cleverly escaped the trap of the Quartet”. Raya Newspaper. Read More..

16 May 2018

A legal comment in a press article entitled “Qatar International Court strengthened investment confidence in the Qatar Financial Center”. Raya Newspaper. Read More..

15 March 2018

Article entitled “Block (9) a model of the “Israeli” occupation’s aggressions against Arab countries”. Raya Newspaper. Read More..

31 Dec 2017

Article entitled “The blockade is a violation of international treaties”. Raya Newspaper. Read More..

13 Nov 2016

A legal comment in a press article entitled “Youth activities await regulatory laws”. Raya Newspaper. Read More..

08 Feb 2012

Legal statement in an article entitled “Professional Conducts Laws need Amendments”. Raya Newspaper. Read More…

December 2010

A legal comment in a press article entitled “Commentary on the provisions of the cheque” Al Sharq Newspaper.

23 May 2010

A legal comment in a press article entitled “Amendments to the Check Law took into account the practical reality of the financial and business sector”. Raya Newspaper. Read More…

06 May 2010

Press interview on the role of Qatari legislation in encouraging knowledge and technology innovation, Raya Newspaper. Read More…

10 June 2009

A press interview entitled “Qatari law achieves protection for patents” Raya Newspaper. Read More…

25 Nov 2008

A legal comment in a press investigation entitled “Responsible Media Space Campaign to Awareness of Youth” Raya Newspaper. Read More…

April 2008

A legal comment in a press article entitled “The Kafala System in Qatari Law” Al Arab Newspaper..

05 March 2008

A legal comment in a press investigation entitled “Revaluation of the riyal enhances its purchasing value and raises income.” Raya Newspaper. Read More…