Skip to content

feat: Update version from 6.1 to 6.2#8

Merged
xandy3br merged 1 commit intomasterfrom
v6.2
Sep 30, 2024
Merged

feat: Update version from 6.1 to 6.2#8
xandy3br merged 1 commit intomasterfrom
v6.2

Conversation

@xandy3br
Copy link
Copy Markdown
Contributor

This pull request includes several changes to improve code readability, fix bugs, and update version numbers across multiple files. The most important changes include refactoring loops, adding error handling, fixing conditional logic, removing obsolete methods, and updating version numbers.

Code Refactoring and Bug Fixes:

  • Refactored for loop to while loop in parse_css_rebuild method to enhance readability (class/class-mainwp-child-branding.php).
  • Fixed conditional logic to correctly check if the featured image is not empty in get_post_edit and get_page_edit methods (class/class-mainwp-child-posts.php). [1] [2]
  • Added a catch block for generic exceptions in decrypt_string method to handle unexpected errors (class/class-mainwp-child-keys-manager.php).

Removal of Obsolete Methods:

  • Removed get_warnings, init, dismiss_warnings, and render_warnings methods from class-mainwp-child-server-information-base.php and class-mainwp-child-server-information.php as they are no longer needed. [1] [2]

Version Updates:

  • Updated version numbers from 6.1 to 6.2 in MainWP_Child class and get_mainwp_version method to reflect the latest release (class/class-mainwp-child.php, class/class-mainwp-child-server-information-base.php). [1] [2]

JavaScript Enhancements:

  • Added pollingBackupInfo object and refactored cloneBackupCreationPolling function to improve backup creation polling logic (class/class-mainwp-clone-page.php). [1] [2]

Miscellaneous:

  • Replaced array destructuring with list() for compatibility in various methods (class/class-mainwp-clone-page.php, class/class-mainwp-child-server-information.php). [1] [2] [3]

Refactor class documentation and review closure initialization for file includes. Update PHP file handlers and comment formats, fix constructor in relevant files.

Remove unused method 'MainWP_Child_Server_Information::init()' and correct list syntax.
@xandy3br xandy3br merged commit fb835fb into master Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant