Just another contact form plugin. Simple but flexible.
About Connections Business Directory
Connections Business Directory is a highly rated WordPress plugin that allows you to create a business directory. It offers a wide range of features including SEO optimization, event logging, compatibility with popular themes and page builders, and the ability to create different entry types. It also has a variety of free and premium extensions and templates to enhance your directory.Changelog
Complete Changelog can be found here.
10.4.66 11/13/2024
- FEATURE: Update the Carousel Block to include an option to link to the Directory Entry Profile.
- NEW: Introduce
FieldTerm_Radio_Group. - NEW: Introduce
EntryFunctions::email()andEntryFunctions::phone(). - NEW: Introduce
Utility_::maybeEcho(). - NEW: Introduce
cnRetrieve::countries()andcnRetrieve::regions(). - NEW: Add the search by country and regions (state) to the advanced search fields.
- TWEAK: Slight refactor of
FormSearch::keywordField. - TWEAK: Add
nocacheto login URL. - TWEAK: Utilize native PHP
DateTime::createFromFormat()instead of the backward support polyfill. - TWEAK: Add
_wpnonceto the user login form. - BUG: Do not render the excerpt
divif there is no excerpt text. - BUG: Using ${var} in strings is deprecated, use {$var} instead.
- OTHER: Correct misspellings.
- OTHER: Bump Tested up to in README.TXT.
- OTHER: Limit README.txt tags to 5.
- OTHER: Reflow @todo.
- OTHER: Add
@todo. - OTHER: Correct phpDoc typo.
- OTHER: phpDoc corrections.
- I18N: Update Italian translation.
- WPCS: Remove trailing space.
- WPCS: Correct inline code comment.
- WPCS: There must be exactly one blank line before the tags in a doc comment.
10.4.65 02/28/2024
- NEW: Introduce
FieldTerm_Checkbox_Group. - TWEAK: Make
FormFieldSelect_Term::setQueryParameters()chainable. - TWEAK: Declare strict types in
FormFieldCheckbox_Group. - TWEAK: Add parameter and return types to
FormFieldCheckbox_Group. - TWEAK: Rename
FormFieldSelect_TermtoFormFieldTerm_Select. - TWEAK: Remove unnecessary variable.
- TWEAK: In
FormFieldInputcreateLabelobject only when thelabelattribute is not empty. - TWEAK: Apply the Form field label only if the attribute is an instance of
FormFieldLabel. - TWEAK: Rename object parameters to match the parameter name of the overridden class method.
- TWEAK: Refactor
FieldTerm_Selectto matchFieldTerm_Checkbox_Groupfor consistency. - TWEAK: Update
FormSearchto include taxonomy term select dropdown fields. - TWEAK: Move logic from
cnRetrieve::parseRequest()toRequest::parse()for thecn-catandcn-cat-slugquery variables. - BUG: Ensure
labelattributes are preserved when applying the field label position. - DEV: phpDoc corrections.
- DEV: phpDoc updates.
- DEV: Add phpDoc to
FormFieldCheckbox_Group.
10.4.64 02/19/2024
- NEW: Introduce
FieldsSelect_Term. - NEW: Introduce
FormFieldSelect::getOptions()andFormFieldSelect::hasOptions. - TWEAK: Remove BOM when importing a Category CSV file.
- TWEAK: Change the variable
$fileinitial value fromnullto an empty string. - TWEAK: Increase the number of lines of the CSV file that is utilized to automatically determine the CSV enclosure character.
- TWEAK: Do not render form header and footer sections if they do not contain any content.
- TWEAK: Remove unused import from
FormFieldSelect. - TWEAK: Remove unnecessary
FormFieldSelect::walkOptions(). - TWEAK: Add the
$filter_by_itemdefault string when registering a taxonomy. - TWEAK:
FieldSelectextendInputinstead ofField. - TWEAK: Replace legacy
cnTemplatePart::walker('term-select')with modernFieldSelect_Term. - TWEAK: Move the loading of the term walkers to the autoloader and files into the
Walkerfolder. - OTHER: Correct misspellings.
- DEV: phpDoc corrections.
- DEV: Add return type declaration to
FormFieldSelect::getFieldHTML(). - DEV: Add phpDoc to
FormFieldSelect. - DEV: Rename variable.
10.4.63 02/06/2024
- FEATURE: Introduce
core uninstall. - TWEAK: Register the setting section and field for the “Uninstall” setting option. Trigger a browser prompt form confirmation.
- TWEAK: Make
initOptions()public. - TWEAK: Remove manual loading of the cnRole class as it is already included in the autoloader classmap.
- TWEAK: Move the
Connections_Directory()global function from theConnections_Directoryclass to the base plugin file. - TWEAK: Move the Activate/Deactivate hooks to their own class/file.
- TWEAK: Refactor
uninstall.phpto delete the plugin data, options, and tables if the option is enabled in the settings. - BUG: Prevent date from being displayed twice in the Recently Added/Modified Dashboard admin widgets.
- OTHER: Correct misspellings.
- OTHER: Add missing trailing period.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
10.4.62 01/29/2024
- FEATURE: Introduce the Settings Reset tool.
- FEATURE: WP-CLI: Introduce
settings <command>. - TWEAK: Ensure Dashboard Awaiting Moderation, Recently Added, and Recently Modified widgets use the site options for the date and time format.
- TWEAK: Make
cnSettingsAPI::getAll()public. - TWEAK: Reset the confirmation text field in the Database Reset tool after both error and success.
- TWEAK: Reset
cnEntry_HTML::getCategoryBlock()to its default parameters after each entry render. - DEV: phpDoc corrections.
- DEV: phpDoc updates.
- ESLint: corrections.
- WP-CLI: Add success messages to the
tablescommands.
10.4.61 01/19/2024
- FEATURE: Introduce the WP-CLI commands
core versionandtables <command>. - FEATURE: Introduce the Database Reset Tool.
- NEW: Introduce
Request::isCLI(). - TWEAK: Replace deprecated
cnShortcode::addFilterRegistry()calls withTemplateHook_Transient::add(). - TWEAK: Use instance of
TermincnTemplatePart::categoryBreadcrumb(). - TWEAK: Route to the PHP error log, developer deprecated notices when running WP-CLI commands.
- TWEAK: Add JSDoc for global variable to enable code completion.
- BUG: Remove empty strings from the page title pieces to prevent leading/trailing page title separators from displaying.
- OTHER: Correct misspellings.
- DEV: phpDoc corrections.
- DEV: Add comment to
phpcs.xml. - WPCS: Inline comments must end in full-stops, exclamation marks, or question marks.
- WPCS: Spaces must be used for mid-line alignment; tabs are not allowed.
- WPCS: Disable
PEAR.NamingConventions.ValidClassName.StartWithCapitalandWordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound. - WPCS: Ignore WPCS flags in
Utility_deprecated.
10.4.60 12/22/2023
- NEW: Introduce
CN_Walker_Term_Select_List_Enhanced::generateSelectAllOption(). - NEW: Introduce
CN_Walker_Term_Select_List_Enhanced::generateSelectNoneOption(). - TWEAK: Adjust Rank Math robots meta, set noindex on term pages.
- TWEAK: Utilize the
wpseo_robots_arrayfilter to improve Yoast SEO integration by settingnoindexon the pg and term slug pages. - TWEAK: Use strict comparison.
- TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::render()to utilizegenerateSelectAllOption(). - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::render()to utilizegenerateSelectNoneOption(). - TWEAK: Simplify string concatenation.
- TWEAK: Update max tested WP version.
- OTHER: Correct misspelling.
- DEV: Remove unnecessary trailing semi-colon.
- DEV: Remove @noinspection tag.
- DEV: phpDoc updates.
- DEV: phpDoc corrections.
- DEV: Remove WPCS exclusions.
- DEV: Remove commented out unused code.
- WPCS: Use the DIR constant instead of calling dirname(FILE) (PHP >= 5.3).
- WPCS: Update properties for
Universal.WhiteSpace.PrecisionAlignment. - WPCS: Universal.WhiteSpace.CommaSpacing.TooMuchSpaceAfter.
- WPCS: Universal.WhiteSpace.CommaSpacing.SpaceBefore.
- WPCS: Generic.WhiteSpace.IncrementDecrementSpacing.SpaceAfterDecrement.
- WPCS: Squiz.Commenting.FunctionComment.ParamCommentFullStop.
- WPCS: Generic.WhiteSpace.LanguageConstructSpacing.IncorrectSingle and Squiz.Strings.ConcatenationSpacing.PaddingFound.
- WPCS: Generic.WhiteSpace.IncrementDecrementSpacing.SpaceAfterIncrement.
- WPCS: Universal.CodeAnalysis.StaticInFinalClass.NewInstance.
- WPCS: Unnecessary “echo sprintf(…)” found. Use “printf(…)” instead.
- WPCS: The DEFAULT body must start on the line following the statement.
- WPCS: Universal.WhiteSpace.CommaSpacing.SpaceBefore.
- WPCS: Expected 1 space before the array closer in a single line array.
- WPCS: Expected 1 space after FUNCTION keyword; 0 found.
- WPCS: Function closing brace must go on the next line following the body; found 1 blank lines before brace.
- WPCS: Expected 1 blank line at end of file.
- WPCS: The closing brace for the class must go on the next line after the body.
- WPCS: Universal.WhiteSpace.CommaSpacing.SpaceBefore.
- WPCS: Use “self” instead of “static” when using late static binding in a final OO construct.
- WPCS: Opening statement of multi-line function call not indented correctly.
- WPCS: The file-level docblock must follow the opening PHP tag in the file header.
10.4.59 12/01/2023
- NEW: Introduce
Request::isSingle(). - TWEAK: Replace
cnEntry_ActionwithHookActionAdmin_Bar::addEditEntry(). - TWEAK: Refactor
FormFieldOptionto support theclassandstyleattributes. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::do_el()to utilizeFormFieldOption. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhancedto ensure inherited method parameter names match. - TWEAK: Remove unused import.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
- WPCS: Add method return type.
- WPCS: It is recommended not to use reserved keyword “default” as function parameter name. Found: $default.
- WPCS: Add missing parameter type declaration.
- WPCS: Exclude a few WP VOP Go sniffs.
- WPCS: Inline comments must end in full-stops, exclamation marks, or question marks.
10.4.58 11/27/2023
- TWEAK: Delete extra trailing period from inline code comment.
- OTHER: Correct misspellings.
- OTHER: Update the dist files.
- WPCS: A single space must follow the
functionkeyword. - WPCS: Update phpcs ignore.
- WPCS: Spaces must be used for mid-line alignment; tabs are not allowed.
- DEV: Update WPCS to version 3.0.
- DEV: npm audit fix.
- DEV: Update webpack.
- DEV: Add the custom role capability properties to phpcs.xml.
- DEV: phpDoc corrections.
10.4.57 11/17/2023
- NEW: Introduce
CN_Walker_Term_Select_List_Enhanced::generatePlaceholder(). - TWEAK: Ensure the
Simple_HistorySimple_Historyclass exists before adding the Simple History logger registration hook to prevent possible fatal errors when older version of Simple History are installed. - TWEAK: Ensure the core WP default filters exists for WP User authentication during the REST API request.
- TWEAK: Simply direct access exit.
- TWEAK: Refactor
FormFieldOption::prepareAttributes()to process custom attributes. - TWEAK: Refactor
CN_Walker_Term_Select_List_Enhanced::render()to utilizegeneratePlaceholder().
10.4.56 11/10/2023
- BUG: Correct parameter used when defining the “remember me” checkbox in the login form.
- BUG: Prevent fatal PHP error if
wp_signon()returns and instance ofWP_Errorinstead of an instance ofWP_User.
10.4.55 10/26/2023
- NEW: Introduce
Shortcodeabstract class to reduce code duplication when registering shortcodes with WordPress. - TWEAK: Replace instances of
strip_tags()withwp_strip_all_tags(). - TWEAK: Add an
is_string()check to_string::stripTags()to help ensure no PHP deprecation notices are thrown. - TWEAK: Utilize
_string::stripTags()instead ofstrip_tags()to help ensure no PHP deprecations notices. - TWEAK: Remove unused commented out code referencing a method long removed in
cnRetrieve. - TWEAK: Remove use of deprecated
cnShortcode::addFilterRegistry()calls inShortcodeEntry. - TWEAK: Refactor
ShortcodeEntryto utilizeShortcodeto reduce code duplication. - BUG: Do not overwrite the
categoryshortcode value if thecn-catrequest variable is empty. - DEV: phpDoc corrections.
10.4.54 10/20/2023
- BUG: Use
Request::setVar()to reset the pagination value when the offset count is greater than the total row count to prevent a potential query loop and PHP fatal error.
10.4.53 10/16/2023
- FEATURE: Add integration and support for the Simple History plugin.
- TWEAK: Pass the
$argsparameter to thecn_edit_termsfilter. - TWEAK: Pass the
$argsparameter to thecn_edit_termsfilter. - BUG: Merge provided taxonomy labels with the default labels.
- OTHER: Correct misspellings.
10.4.52 09/29/2023
- TWEAK: Add webp as a valid image type when validating image uploads.
- BUG: Revert specificity CSS for icons to be more targeted to the Connections Brandicons (Icomoon).
10.4.51 09/28/2023
- TWEAK: Update Twitter to reflect the brand change to ?. Add Google Scholar, ORCiD, ResearchGate, and ?.
- TWEAK: Allow the Number metabox field type to be registered for the keyword search field.
- TWEAK: Apply CSS Lint style fixes.
- BUG: Ensure the
numbermetabox field value is properly sanitized. - DEV: Update the
distassets.
10.4.50 09/08/2023
- NEW: Introduce the
numberfield type in the Metabox API. - NEW: Introduce
RequestInput::setDefault(). - NEW: Introduce
User_Login::maybeRedirect(). - TWEAK: Ensure both the username and user email request values are sanitized before user.
- TWEAK: Move the permission check to the
permission_callbackfor theaccount/loginREST API endpoint. - TWEAK: Ensure the
rememberparameter for the login form is properly coerced into a boolean. - TWEAK: Remove unnecessary user login check before user sign on.
- TWEAK: Refactor the
account/loginendpoint to support thelogin_redirectfilter. - TWEAK: Rename the
redirectproperty toredirect_toin theaccountREST API route to match the core WordPress naming convention. - TWEAK: Remove use of
RequestRedirectin theAccount REST APIand utilize the requestredirect_toproperty. - TWEAK: If the URL passed into
From/setRedirect()fails validation set theredirectproperty to an empty string. - TWEAK: Refactor the default
redirect_tovalue to match WordPress core in the REST APIAccountLoginendpoint. - TWEAK: Change the priority of the
parse_requestfrom10to11to stop Event Espresso from breaking the ability to parse the request variables. - BUG: Correct the default address name return value.
- DEV: Update
distfiles.
10.4.49 08/25/2023
- NEW: Introduce the
Emailfield to the Fields API. - NEW: Introduce
RequestRedirect. - NEW: Introduce the
accountregisterREST API endpoint. - NEW: Introduce the Register User form.
- TWEAK: Rename the callback for the
account/loginendpoint touserLoginfor consistency in naming. - TWEAK: Move the confirmation message for the Request Reset Password form to the JSON response of the
account/request-reset-passwordendpoint. - TWEAK: Refactoring of the client-side JS form processing to allow confirmation messages to be passed via the REST API response.
- TWEAK: Refactor the core form submit event listener use of apiFetch, disabling the default parsing of API responses and use a private parse callback instead to ensure consistent request responses.
- BUG: Initialize the correct form in the
account/loginREST endpoint for validation. - OTHER: Correct misspelling.
- DEV: phpDoc corrections.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: Parameter comment must end with a full stop.
- DEV: Remove unnecessary inline var phpDoc comment.
- DEV: Remove unnecessary import.
- DEV: Update the
distfiles.
10.4.48 08/10/2023
- NEW: Bump tested to WordPress version 6.3.
- NEW: Introduce the
account/reset-passwordREST API endpoint. - TWEAK: Refactor the toggle weak password confirm to use a boolean vs using the weak password score when determining whether to display or not.
- TWEAK: Add the default value and the field validation schema to the weak password confirmation.
- TWEAK: Remove the
loginhidden field from the reset password form. - TWEAK: Set password reset key cookie after rendering the reset password form.
- OTHER: Add punctuation to sentences.
10.4.47 08/04/2023
- NEW: Add support for the “Remember Me” checkbox in the login form.
- NEW: Introduce the
account/request-reset-passwordREST API endpoint. - NEW: Introduce the Account Request Reset Password form.
- NEW: Introduce
Form::getHeader()andForm::getFooter()so the sections of the form be overridden. - NEW: Introduce the Reset Password form.
- TWEAK: Add support for
implicit/afterandimplicit/beforewhen defining field label positioning. - TWEAK: Minor CSS tweaks, adding gaps between fields and a space between a checkbox field and its label.
- TWEAK: Set form description in the constructor.
- TWEAK: Removed unused class property.
- TWEAK: Add default styling for form confirmation and error messages.
- TWEAK: Refactor the Form API JavaScript to support multiple forms on a page when attaching event listeners.
- TWEAK: Remove unused
messageproperty from the baseFormobject. - TWEAK: Set the default value of the
headerandfooterproperties to be an empty string in theFormobject. - TWEAK: Refactor
Form::getShortname()to not use a static variable as each new form instance must return the current instance class shortname. - TWEAK: Add output buffering to the
Formobject actions. - TWEAK: Add action before and after rendering a form field in the
Formobject. - TWEAK: Add a space between a checkbox field and its label.
- TWEAK: Add current user can check before registering an admin message.
- TWEAK: Change filter name from
Connections_Directory/Form/{Form_Name}/Render/Field/BeforetoConnections_Directory/Form/{Form_Name}/Field. - OTHER: Correct misspellings.
- DEV: Remove @todo.
- DEV: phpDoc corrections.
- DEV: Update .eslintrc.
- DEV: Update the
distfiles.