PluginProbe
Elementor Website Builder – more than just a page builder / 3.33.0-dev1
Elementor Website Builder – more than just a page builder v3.33.0-dev1
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 4.0.7 All 451 releases
← All changes | modules/usage/module.php +7 -7 3.32.53.33.0-dev1 View file →
@@ -49,9 +49,9 @@
49 49 *
50 50 * Remove 'wp-' from $doc_type for BC, support doc type change since 2.7.0.
51 51 *
52 52 * @param \Elementor\Core\Documents_Manager $doc_class
53 - * @param String $doc_type
53 + * @param String $doc_type
54 54 *
55 55 * @return int
56 56 */
57 57 public function get_doc_type_count( $doc_class, $doc_type ) {
@@ -158,9 +158,9 @@
158 158 *
159 159 * Called on elementor/document/before_save, remove document from global & set saving flag.
160 160 *
161 161 * @param Document $document
162 - * @param array $data new settings to save.
162 + * @param array $data new settings to save.
163 163 */
164 164 public function before_document_save( $document, $data ) {
165 165 $current_status = get_post_status( $document->get_post() );
166 166 $new_status = isset( $data['settings']['post_status'] ) ? $data['settings']['post_status'] : '';
@@ -191,10 +191,10 @@
191 191 * On status change.
192 192 *
193 193 * Called on transition_post_status.
194 194 *
195 - * @param string $new_status
196 - * @param string $old_status
195 + * @param string $new_status
196 + * @param string $old_status
197 197 * @param \WP_Post $post
198 198 */
199 199 public function on_status_change( $new_status, $old_status, $post ) {
200 200 if ( wp_is_post_autosave( $post ) ) {
@@ -307,13 +307,13 @@
307 307 * Increase controls count.
308 308 *
309 309 * Increase controls count, for each element.
310 310 *
311 - * @param array &$element_ref
311 + * @param array &$element_ref
312 312 * @param string $tab
313 313 * @param string $section
314 314 * @param string $control
315 - * @param int $count
315 + * @param int $count
316 316 */
317 317 private function increase_controls_count( &$element_ref, $tab, $section, $control, $count ) {
318 318 if ( ! isset( $element_ref['controls'][ $tab ] ) ) {
319 319 $element_ref['controls'][ $tab ] = [];
@@ -402,9 +402,9 @@
402 402 *
403 403 * Add's usage to global (update database).
404 404 *
405 405 * @param string $doc_name
406 - * @param array $doc_usage
406 + * @param array $doc_usage
407 407 */
408 408 private function add_to_global( $doc_name, $doc_usage ) {
409 409 $global_usage = get_option( self::OPTION_NAME, [] );
410 410