{"id":21332088,"url":"https://github.com/boldgrid/library","last_synced_at":"2025-10-27T19:34:10.436Z","repository":{"id":20571182,"uuid":"90175034","full_name":"BoldGrid/library","owner":"BoldGrid","description":"The BoldGrid Library for shared code used in official BoldGrid plugins and themes.","archived":false,"fork":false,"pushed_at":"2024-06-14T13:39:11.000Z","size":1092,"stargazers_count":2,"open_issues_count":24,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-09-15T03:41:27.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BoldGrid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-03T17:23:40.000Z","updated_at":"2024-06-14T13:39:15.000Z","dependencies_parsed_at":"2024-05-13T18:59:51.347Z","dependency_job_id":null,"html_url":"https://github.com/BoldGrid/library","commit_stats":{"total_commits":691,"total_committers":13,"mean_commits":53.15384615384615,"dds":0.6903039073806079,"last_synced_commit":"e6f9638b89d63f390c3ea86fd1873eaa383ef979"},"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoldGrid%2Flibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoldGrid%2Flibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoldGrid%2Flibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoldGrid%2Flibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BoldGrid","download_url":"https://codeload.github.com/BoldGrid/library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225814888,"owners_count":17528295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T22:45:55.058Z","updated_at":"2025-10-27T19:34:05.397Z","avatar_url":"https://github.com/BoldGrid.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# library\n\nThe BoldGrid Library for shared code used in official BoldGrid plugins and themes.\n\nUsing composer, you can get started quickly:\n\n```php\ncomposer require boldgrid/library\n\n```\n\n## Changelog ##\n\n### 2.13.15 ###\nRelease Date: Mar 12, 2025\n* Update: UI fixes to support new Direct Transfer feature in Total Upkeep.\n\n### 2.13.14 ###\nRelease Date: May 13, 2024\n* Update: Fix additional PHP 8.2 Deprecation notices.\n\n### 2.13.13 ###\n\nRelease Date: Apr 19, 2024\n* Bug Fix: Fixed issue with invalid application of the 'random_password' filter [#117](https://github.com/BoldGrid/library/issues/117)\n\n### 2.13.12 ###\n\nRelease date: Feb 7th, 2024\n* Bug Fix: Incorrect Usage of ABSPATH which breaks sites using custom WordPress install paths [#114](https://github.com/BoldGrid/library/issues/114)\n\n### 2.13.11 ###\n\nRelease date: May 23rd, 2023\n* Update: Fix PHP 8.2 Deprecation notices.\n\n### 2.13.10 ###\n\nRelease date: November 1st, 2022\n\n* Update: Allow menus to be hidden.\n\n### 2.13.9 ###\n\nRelease date: June 5th, 2022\n\n* Bug Fix: Fix fatal error 'IMH_Central class not found' occuring on some installs.\n\n### 2.13.8 ###\n\nRelease date: June 26th, 2022\n\n* Bug Fix: Allow premium license key on preview servers.\n\n### 2.13.7 ###\n\nRelease date: May 25th, 2022\n\n* Update: Add filters to premium urls.\n* Update: Add fallback filters for IMH Central users when Boldgrid Connect plugin is inactive.\n\n### 2.13.6 ###\n\nRelease date: March 15th, 2022\n\n* Update: Allow configs to be updated via an option.\n* Update: Misc updates to automated tests.\n* Bug fix: Avoid issues on the ftp filesystem.\n\n### 2.13.5 ###\n\nRelease date: September 8, 2021\n\n* Bug Fix: Review prompt prevents admins from deleting other user accounts [#192](https://github.com/BoldGrid/post-and-page-builder/issues/192)\n\n### 2.13.4 ###\n\nRelease date: June 10th, 2021\n\n* Bug Fix: Avoid PHP Error in Dashboard/SortWidgets.php by validating widget containers.\n\n### 2.13.3 ###\n\nRelease date: October 13th, 2020\n\n* Bug Fix: Avoid PHP Warning in Dashboard/SortWidgets.php by validating widgets.\n* Bug Fix: Avoid PHP Warning in NewsWidget.php by validating posts.\n\n### 2.13.2 ###\n\nRelease date: August 12th, 2020\n\n* Update: Various changes for WordPress 5.5\n* Bug Fix: Added transient validatiors.\n\n### 2.13.1 ###\n\nRelease date: July 28th, 2020\n\n* Bug Fix: php 7.4 compatibility issue in Dashboard News Widget.\n\n### 2.13.0 ###\n\nRelease date: July 7th, 2020\n\n* Bug Fix: Fixed css inconsistency between firefox and chrome\n* Bug Fix: Fixed padding of links to match footer text.\n* Update: Removed Auto Update functionality from library and moved to Total Upkeep plugin.\n* New Feature: Added Plugin\\Factory Class allowing for Plugin\\Plugin objects to be generated via factory.\n* New Feature: Added new methods to Plugin\\Plugins class.\n* New Feature: Added new UnitTests.\n* New Feature: Updated UI to use a fixed container layout.\n\n### 2.12.3 ###\n\nRelease date: June 23rd, 2020\n\n* Bug fix: Check for Card class before using card.\n\n### 2.12.2 ###\n\nRelease date: May 29th, 2020\n\n* Bug fix: Do not load libraries from deleted plugins.\n* Update: Expanded Plugins class and added Themes class.\n\n### 2.12.1 ###\n\nRelease date: February 7th, 2020\n\n* Update: Display plugin notices via javascript.\n\n### 2.12.0 ###\n\nRelease date: February 6th, 2020\n\n* Update: Added plugin notifications.\n\n### 2.11.1 ###\n\nRelease date: January 14th, 2019\n\n* Update: Added spinner for the UI menu while the page loads.\n\n### 2.11.0 ###\n\nRelease date: December 19th, 2019\n\n* Update: Added Usage class.\n* Update: Added methods to Plugin class for getting / testing version data via plugins_checked.\n\n### 2.10.7 ###\n\nRelease date: December 10th, 2019\n\n* Update: Changed the recommended form plugin from WPForms to weForms.\n\n### 2.10.6 ###\n\nRelease date: November 19, 2019\n\n* Update: Renamed plugin from \"BoldGrid Backup\" to \"Total Upkeep\".\n\n### 2.10.5 ###\n\nRelease date: November 11, 2019\n\n* Bug fix: Misc style fixes for WordPress 5.3.\n\n### 2.10.4 ###\n\nRelease date: October 11th, 2019\n\n* Bug fix: Moved temporary pluggable function code to a new file to fix scope.\n\n### 2.10.3 ###\n\nRelease date: October 10th, 2019\n\n* Bug fix: Stop using pluggable.php file.\n\n### 2.10.2 ###\n\nRelease date: September 17th, 2019\n\n* Update: Added methods to easily get a plugin's install and activate urls.\n\n### 2.10.1 ###\n\nRelease date: September 5th, 2019\n\n* Update: Recommend W3 Total Cache in Plugins \u003e Add New\n* Update: Removing BoldGrid Staging from Plugins \u003e Add New\n\n### 2.10.0 ###\n\nRelease date: August 29th, 2019\n\n* New feature: Show BoldGrid News widget in the dashboard.\n* New feature: Show BoldGrid Notifications widget in the dashboard.\n* New feature: New dashboard pages, can be utilized by plugins.\n\n### 2.9.2 ###\n\nRelease date: August 1st, 2019\n\n* Bug fix: Optimized plugin checker.\n* Updated: Updated deps.\n\n### 2.9.1 ###\n\nRelease date: July 25th, 2019\n\n* Update: Added a trailing slash to Central url for the Reseller.\n\n### 2.9.0 ###\n\nRelease date: July 2nd, 2019\n\n* New feature: Added A BoldGrid RSS feed to the dashboard.\n\n### 2.8.2 ###\n\nRelease date: June 7th, 2019\n\n* Update: Updated dependencies.\n\n### 2.8.1 ###\n\nRelease date: May 21st, 2019\n\n* Bug fix: Ensure correct library versions are set during bulk activation.\n\n### 2.8.0 ###\n\nRelease date: Apr 16th, 2019\n\n* New feature: \"Get a new key\" updated to link to BoldGrid Central, and automatically add the key given.\n* New feature: Adding German translations, de_DE.\n* Update: Made translation ready. Text domain changed to boldgrid-library.\n\n### 2.7.7 ###\n\nRelease date: Jan 15th, 2019\n\n* Update: Add method to get a plugin's download url from the api server.\n* Update: New system that asks user for bug fixes / new features, or requests plugin rating.\n* Update: Minor updates to the BoldGrid Connect Key prompt.\n\n### 2.7.6 ###\n\nRelease date: Dec 5th, 2018\n\n* Update: Inverse logic fixes, is_plugin_active vs is_plugin_inactive.\n\n### 2.7.5 ###\n\nRelease date: Dec 4th, 2018\n\n* Bug fix: BoldGrid logo not showing in front end admin bar.\n\n### 2.7.4 ###\n\nRelease date: Dec 4th, 2018\n\n* Bug fix: JIRA BGCONN-35   Prevent Connect Key notice on block editor pages.\n\n### 2.7.3 ###\n\nRelease date: Nov 27th, 2018\n\n* Feature: Adding Crio's enzo to the admin icons font.\n\n### 2.7.2 ###\n\nRelease date: Nov 26th, 2018\n\n* Update:                   Updated production build process to use composer post-autoload-dump hook.\n\n### 2.7.1 ###\n\nRelease date: Nov 20th, 2018\n\n* Bug fix: JIRA BGCONN-29   Fixed API key entry form; removing inputs and displaying success message.\n* Update:  JIRA BGCONN-32   Removed auto-update section from settings.  It is still used by the Backup plugin.\n* Update:  JIRA BGBKUP-285  Save settings and reload to the current section.\n\n### 2.7.0 ###\n\nRelease date: Oct 30th, 2018\n\n* Feature: JIRA BGCONN-16   Added BoldGrid Connect settings for individual plugin and theme auto-updates.\n* Feature:                  JS framework for Postbox settings.\n* Bug fix: JIRA BGCONN-19   Fixed display when the library is used in a theme.\n* Bug fix: JIRA BGBKUP-270  Dismissible notices are not staying dismissed.\n\n### 2.6.1 ###\n* Update:                   Theme check fixes.\n\n### 2.6.0 ###\n* Feature: JIRA BGTHEME-576 Add filter to check for is premium.\n* Feature: JIRA BGCONN-23   Added mini Connect Key entry form.\n* Update:                   Update success message after successful key entry.\n\n### 2.4.2 ###\n* Bug fix: Show timeout message when saving key times out.\n* Bug fix: Misc bug fuxes.\n\n### 2.4.1 ###\n* Fix: Display issue with key entry prompt HTML.\n\n### 2.4.0 ###\n* Feature: JIRA BGTHEME-361 BoldGrid Connect Page.\n* Feature: JIRA BGTHEME-361 Admin Bar Menus.\n* Update:  JIRA WPB-3922    Updated license API to v2.\n\n### 2.3.6 ###\n* Update:  JIRA BGINSP-23   Updated \"boldgrid_available\" transient lifetime and checking. Also fixed fatal error when API has an error response.\n\n### 2.3.5 ###\n* Bug fix:                  Updating boldgrid-backup link in config.\n\n### 2.3.4 ###\n* Update:  JIRA BGBKUP-220  Sanitize inputs.\n\n### 2.3.3 ###\n* Bug fix: JIRA BGINSP-15   Disable Connect Key request button after submission.\n\n### 2.3.2 ###\n* Update:                   More clear error message on failed ajax license clears.\n* Update:                   Added prettier-eslint.\n\n### 2.3.1 ###\n* Bug fix: JIRA BGBKUP-180  Fixed empty check for PHP 5.3.\n\n### 2.3.0 ###\n* Feature: JIRA BGBKUP-180  Handle auto updates as configured by the boldgrid_settings option.\n\n### 2.2.2 ###\n* Bug fix: JIRA WPB-3767    Prevent invalid API calls for check-version.\n\n### 2.2.1 ###\n* Bug fix: JIRA WPB-3730    Fixed loading of plugin installer class.\n* Update:  JIRA WPB-3725    Use a transient in Checker::findUpdated().\n* Bug fix: JIRA WPB-3724    Do not call getLicense if Connect Key is not available.\n* Update:  JIRA WPB-3721    Moved Plugin\\Checker back to Library.\n* Bug fix:                  Duplicate admin notices showing.\n\n### 2.2.0 ###\n* Bug fix: JIRA WPB-3714    Fixed PHP notice in Key::verifyData().\n* Feature:                  As a user, I can refresh my license key status.\n\n### 2.1.0 ###\n* Feature: JIRA BGTHEME-103 Added ClaimPremiumKey notice.\n\n### 2.0.0 ###\n* Feature: JIRA BGINSP-3    Added filter to display Connect Key prompt admin notice, even if dismissed.\n* Update:  JIRA WPB-3684    Moved plugin install to its own package (boldgrid/plugin-install).\n* Feature: JIRA BGBKUP-75   Added dismiss/undismiss for Connect Key prompt/notice.\n\n### 1.1.6 ###\n* Bug fix: JIRA BGBKUP-67   Fixed key prompt is-dismissible, and hid duplicate notice from other plugin.\n* Feature: JIRA WPB-3638    Added post-and-page-builder and boldgrid-easy-seo to the Plugins \u003e\u003e Add New page.\n* Bug fix: JIRA WPB-3636    Fixed invalid version number sent for plugins not installed, but in config.\n* Bug fix: JIRA WPB-3635    API calls now respect release channels.\n\n### 1.1.5 ###\n* Bug fix: JIRA WPB-3518    Fixed fatal error in certain scenarios from double inclusion of WP core files.\n\n### 1.1.4 ###\n* Bug fix: JIRA WPB-3427    Adjusted handling of plugin update transients.\n*                           Added premium product check to license class.\n\n### 1.1.3 ###\n*                           Validate plugin before printing card.\n\n### 1.1.2 ###\n*                           Bug fixes.\n\n### 1.1.1 ###\n*                           Added form affiliate data.\n\n### 1.1.0 ###\n*                           Added action for when theme release channel changed.\n*                           Added Reseller class.\n\n## Development ##\n\n### Installing Dependencies\nBefore you can use the development version of this plugin you must install the dependencies.\n\n```\ncomposer install -o --prefer-source\nyarn install\ngulp\n```\n\n### Auto Updates\nTo test / trigger auto updates, you can run the following:\n\n```\nwp option delete auto_updater.lock \u0026 wp transient delete --all \u0026\u0026 wp cron event run wp_version_check\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldgrid%2Flibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboldgrid%2Flibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldgrid%2Flibrary/lists"}