PluginProbe
Elementor Website Builder – more than just a page builder / 3.32.0-dev3
Elementor Website Builder – more than just a page builder v3.32.0-dev3
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | core/frontend/render-mode-manager.php +2 -2 4.1.0-dev33.32.0-dev3 View file →
@@ -125,9 +125,9 @@
125 125 $key &&
126 126 array_key_exists( $key, $this->render_modes )
127 127 ) {
128 128 $this->set_current( new $this->render_modes[ $key ]( $post_id ) );
129 - } elseif ( $this->is_template_preview_mode( $template_id, $key, $nonce ) ) {
129 + } else if ( $this->is_template_preview_mode( $template_id, $key, $nonce ) ) {
130 130 $this->set_current( new $this->render_modes[ $key ]( $template_id ) );
131 131 } else {
132 132 $this->set_current( new Render_Mode_Normal( $post_id ) );
133 133 }
@@ -158,9 +158,9 @@
158 158 /**
159 159 * Add actions base on the current render.
160 160 *
161 161 * @throws \Requests_Exception_HTTP_403 If the current render mode does not have the required permissions.
162 - * @throws \WpOrg\Requests\Exception\Http\Status403 If the current render mode does not have the required permissions.
162 + * @throws Status403 If the current render mode does not have the required permissions.
163 163 */
164 164 private function add_current_actions() {
165 165 if ( ! $this->current->get_permissions_callback() ) {
166 166 // WP >= 6.2-alpha