説明
Showcase | Documentation | Support | Templates | Extensions
Connections Business Directory is one of the best business directory plugins available for WordPress. Its simplicity in design and function, vast array of unique features and versatility are the reasons more and more people are turning to Connections Business Directory for their directory needs. You can use Connections to create a simple address book, maintain a staff or member directory and run a business directory or link directory. Connections Business Directory was built bottom up to be as configurable as possible while providing the features you need. Read on to learn about some of the best features Connections Business Directory has to offer…
機能
- Compatible with all themes including popular themes such as Avada, Divi, Enfold and OceanWP.
- Compatible with most popular page builders such as Elementor, Beaver Builder, Brizy, Visual Composer, Fusion, SiteOrigin, etc…
- Supports the WordPress Block (Gutenberg) Editor with the following blocks.
- Carousel Block :: Display your directory as a carousel.
- Directory Block :: Use this block to embed your directory in a page.
- Team Block :: It’s easy to use Connections to build your team page! Team Block is a full featured block with multiple layout styles. While premium team plugins can set you back $20 or more, Team Block is free for all Connections users.
- Upcoming List Block :: Use this block to display an upcoming list of anniversaries, birthdays or other events.
- Highly rated support.
- Continuously updated bringing you new features for free.
- A growing selection of Content Blocks:
- Related Entries:: Display related Entries in a mobile responsive carousel.
- Nearby Entries:: Increase discoverability of Entries by displaying nearby Entries in a mobile responsive carousel.
- Recently Viewed:: A list a directory Entries the user has recently viewed.
- Last Viewed:: The last directory Entry the user viewed.
- Frontend Entry Management:: Management options include a quick link to edit the Entry and a Delete option.
- Entry Meta:: Display details such as when the Entry was added nad last modified and by whom.
- Dashboard admin page where you can see at a glance today’s anniversaries and birthdays as well as upcoming anniversaries and birthdays of members in your directory.
- Multiple entry types from which to choose; such as individual, organization and family. The family entry type is unique to Connections. This entry type allows you to group individuals together as a family which makes Connections ideally suited for creating a church directory.
- You control which entries are viewable to the public and which entries are private, viewable for logged in users only. You can even have entries set as unlisted so only admins can view them.
- Repeatable fields for address, phone numbers, email, IM, social media, links and dates which allow you to add as much or as little as you need for each business in your business directory.
- Hierarchical (nested) category support. Businesses and members in your business directory can be added to any number of categories.
- Include a biographical text for an individual member or business description for each entry in your business directory using an easy to use rich text editor.
- You can easily add a business logo or photo of the staff member for each entry in your business directory or staff directory. The photo and logo images are fully responsive with HiDPI (Retina) display support.
- Scalable, manage directories which contain hundreds of thousands of entries.
- CSV Export of addresses, phone numbers, email addresses and dates.
- CSV Import of nested categories.
- Role capability support.
- Displaying your business directory on the frontend is as simple as putting a shortcode on a page. Don’t let this simplicity fool you. The shortcode provides a large array of options that are just too numerous to list. To learn more, go here.
- SEO. Every entry in your business directory outputs following the hCard spec. Soon to be updated to following Schema.org.
- Supports the native sitemaps feature available in WordPress versions 5.5 and newer.
- Yoast SEO and Rank Math sitemaps integration.
- Extensible and developer friendly.
- Robust templating support with the Template Customizer. Several basic templates are provided to get you started with you business directory with many more premium templates available to really make your business directory shine.
Extensible
Here are some great free extensions (with more on the way) that enhance your experience with Connections Business Directory:
Utility
- Toolbar :: Provides quick links to the admin pages from the admin bar.
- Login :: Provides a simple to use login shortcode and widget.
- Anniversary and Birthday Emails :: Add the ability to automatically send a customizable email to entries on their anniversary or birthday.
Custom Fields
- Business Open Hours :: Add the business open hours.
- Certifications :: Create and assign certifications to individuals in your directory.
- Local Time :: Add the business local time.
- Facilities :: Add the business facilities.
- Income Level :: Add an income level.
- Education Level :: Add an education level.
- 言語 :: Add languages spoken.
- Hobbies :: Add hobbies.
Misc
- Face Detect :: Applies face detection before cropping an image.
- Authored :: Displays a list of blog posts written by the entry on their profile page.
- Contact :: Displays a contact form on the entry’s profile page to allow your visitors to contact the entry without revealing their email address.
- CSV Import :: Bulk import your data in to your directory.
- Custom Category Order :: Order your categories exactly as you need them.
- Custom Entry Order :: Allows you to easily define the order that your business directory entries should be displayed.
- Enhanced Categories :: Adds many features to the categories.
- Form :: Allow site visitor to submit entries to your directory. Also provides frontend editing support.
- Link :: Links a WordPress user to an entry so that user can maintain their entry with or without moderation.
- ROT13 Encryption :: Protect email addresses from being harvested from your business directory by spam bots.
- SiteShot :: Show a screen capture of the entry’s website.
- Widget Pack :: A set of feature rich, versatile and highly configurable widgets that can be used to enhance your directory.
Connections Business Directory comes with a couple templates to get you started which fully support the Template Customizer. In addition to these free templates there are many premium templates available to take your business directory the level visually.
- Circled :: A simple but bold template specifically designed for displaying small team or staff directory.
- cMap :: Our most popular go to template for a business directory and chamber of commerce business directory, featuring full Template Customizer support.
- Excerpt Plus :: Simple design which features a directory entry name, photo thumbnail and excerpt.
- Gridder :: Another simple but bold template which displays the directory in a grid layout. Perfect for displaying a small team or staff directory
- Slim Plus :: Specifically designed to take up as little space on the page as possible.
- Tile Plus :: This template was purposely designed to display the directory in a grid or column layout.
Developer Friendly
- Open development on Github.
- Access to 180 action hooks and over 300 filters … and counting.
- Term API.
- Custom Metabox and Fields API.
- Template Engine and API.
- Fragment Cache API.
- Log API (stateless and stateful).
- Admin Notices API.
- Email API.
- Settings API.
Connections Business Directory has a very flexible template engine. The loading of template and CSS are context aware. This means you could create specific templates that load when a user visits a specific entry, category, postal code and more.
Templates and CSS overriding is very granular and update safe. Check out these links for the details:
言語
Connections Business Directory has been embraced around the world and has been translated by its users in the following languages.
- Arabic [60% Complete]
- Catalan [52% Complete]
- Croatian (Croatia) [22% Complete]
- Danish [31% Complete]
- Danish (Denmark) [29% Complete]
- Dutch (Netherlands) [49% Complete]
- フィンランド語 [78%完了]
- French (France) [90% Complete]
- German (Germany) [86% Complete]
- Greek (Greece) [69% Complete]
- Hebrew (Israel) [61% Complete]
- Hungarian (Hungry) [52% Complete]
- Italian (Italy) [58% Complete]
- Norwegian [13% Complete]
- Persian (Iran) [52% Complete]
- Polish (Poland) [52% Complete]
- Portuguese (Brazil) [77% Complete]
- Portuguese (Portugal) [24% Complete]
- Romanian (Romania) [69% Complete]
- Russian (Russia) [40% Complete]
- Serbian (Latin) [2% Complete]
- Spanish (Latin America) [49% Complete]
- スペイン語 (メキシコ) [99%完了]
- Spanish (Spain) [99% Complete]
- Sweden (Swedish) [96% Complete]
- Turkish (Turkey) [58% Complete]
Credits:
- Connection Business Directory was based off LBB, “Little Black Book”; which was based on Addressbook, both of which can be found in the Plugin Directory.
- vCard class is a modified version by Troy Wolf.
- Update Notice in plugin admin inspired by Changelogger 1.2.8 by Oliver Schlöbe.
- Screen Options class by Janis Elsts.
- $.goMap() jQuery Google Maps Plugin by Jevgenijs Shtrauss.
- MarkerClustererPlus jQuery Google Maps Marker Clustering Plugin by Gary Little.
- Validation jQuery plugin by Jörn Zaefferer.
- Chosen jQuery plugin by Harvest.
- qTip jQuery plugin by Craig Thompson.
- Email and URL validation methods by Gizmo Digital Fusion.
- Social media icons by WPZOOM.com; license CC BY-SA 3.0.
- iTunes icon by Paul Robert Lloyd; license Attribution-ShareAlike 2.0 UK: England & Wales (CC BY-SA 2.0).
- Podcast icon by schollidesign; license GNU/GPL.
- CSS theme and image used for the jQuery UI Datepicker by helenhousandi.
スクリーンショット
The many possible faces of your business directory. Connections Business Directory supports templates. This screenshot showcases (left to right) Excerpt Plus, Circled, Gridder, Tile Plus and Slim Plus. Another screenshot showcasing the different templates that can be used to style your business directory. Left to right; Circled, cMap and Gridder. The Dashboard admin page. A snapshot of important information about the business directory. The Manage admin page. Here you can manage all the entries within the address book. The Add New Entry admin page. From here you can add new entries to the addressbook. The Categories admin page. Add as many categories as you wish to the directory. Categories do support parent/child relationships. The Templates admin page. Here you choose which template that the business directory should use when displaying the directory. The Settings admin page where you can configure the business directory options. The Role and Capabilities admin page. Here you can assign which roles have which capabilities in viewing and managing the directory. The Tools :: Export admin page contains many different CSV export tools to allow you to easily export the data from your business directory. The Tools :: Import admin page allows you to quickly bulk import nested categories into your business directory. In the event that you need support the Tools :: System Information admin page contains all the information needs about your directory installation which can be easily and quickly shared. Need to move the configuration of your business directory from one site to another? The Tools : Settings Import/Export admin page allows you to do it with zero fuss. This will even migrate the Template Customizer settings applied to template and any of the settings for the premium extensions.
ブロック
このプラグインは4個のブロックを提供します。
- Carousel
- Directory
- Upcoming
- Team
FAQ
A comprehensive list of FAQs can be found here.
-
How do I install Connections?
-
Installation instructions can be found here.
Using the WordPress Plugin Search
- Navigate to the
Add New
sub-page under the Plugins admin page. - Search for
connections business directory
. - The plugin should be listed first in the search results.
- Click the
Install Now
link. - Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
- Download the plugin zip file and save it to your computer.
- Navigate to the
Add New
sub-page under the Plugins admin page. - Click the
Upload
link. - Select Connections Business Directory zip file from where you saved the zip file on your computer.
- Click the
Install Now
button. - Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
- Download the plugin zip file and save it to your computer.
- Extract the Connections Business Directory zip file.
- Create a new directory named
connections
directory in the../wp-content/plugins/
directory. - Upload the files from the folder extracted in Step 2.
- Activate the plugin on the Plugins admin page.
- Navigate to the
-
How do I display the business directory on my site?
-
We have a QuickStart available that’ll walk you thru the most basic setup. Basically all you need to do is, create a page, and add the
[connections]
shortcode and then start adding entries to your directory. -
Will it work with my theme?
-
Connections Business Directory has been designed to work with any theme.
-
Is Connections Business Directory translation-ready?
-
Yes it is. Connections Business Directory comes with many user supplied translations. We use Transifex to manage translations. This service make it easy for us manage and easy for you to translate. To read more, see this page.
-
Is Connections Business Directory compatible with WordPress Multisite?
-
Yes it is. However, do not Network activate Connections. Activate it on only the subsites that you wish to use Connections.
-
Yes this is possible but there is a special setup required to do so. It is recommended this is done before added entries to your business directory.
- Activate Connections Business Directory the primary site.
- Add
define( 'CN_MULTISITE_ENABLED', FALSE );
to yourwp-config.php
file. NOTE: If you have added any entries to any of your subsites, that data will be lost as Connections will read the directory entry data from the primary site’s database tables. - Activate Connections Business Directory on the subsites you wish to use Connections.
-
What are the requirements to run Connections?
-
- WordPress version: >= 4.4
- PHP version: >= 5.2.4 ( >= 7.0 is highly recommended)
- NOTE: Upgrading from version 0.6.1 and newer only, is supported. Previous version must upgrade to 0.6.1 before upgrading to the current version.
評価
貢献者と開発者
変更履歴
Complete Changelog can be found here.
10.4.10 01/14/2022
- TWEAK: Multiple placeholders should be ordered.
- TWEAK: Ensure parameter is cast to boolean.
- TWEAK: Ensure the Team Block table headings are translation ready.
- TWEAK: Allow the Additional Options field to override the
parse_request
parameter. - TWEAK: Ensure map tile images are set at opacity of
1
to prevent themes from hiding them. - TWEAK: Remove the
div
from around thedo_meta_boxes()
function call on the admin Manage page so WordPress will properly apply CSS classes for different screen-sizes/orientations. - BUG: Add missing text domains.
- BUG: The translation $text arg must be a single string literal.
- BUG: Correct excluding categories in the Team Block.
- BUG: Hook
rank_math/head
is an action, not a filter. - OTHER: Correct misspellings.
- DEV: Output phpcs security report to a separate file.
- DEV: Missing space before array closer.
- DEV: Spaces must be used for mid-line alignment; tabs are not allowed.
- DEV: Code cleanup, adding/removing spaces to ensure code formatting compliance.
- DEV: The CASE body must start on the line following the statement.
- DEV: There must be no space before the colon in a CASE statement.
- DEV: CASE statements must be defined using a colon.
- DEV: String does not require double quotes; use single quotes instead.
- DEV: Parenthesis should always be used when instantiating a new object.
- DEV: phpDoc formatting corrections.
- DEV: Array double arrow not aligned correctly.
- DEV: Correct switch case statement formatting.
- DEV: Array double arrow not aligned correctly.
- DEV: Scope keyword must be followed by a single space.
- DEV: Add a couple more phpcs reports.
- DEV: Equals sign not aligned correctly.
- DEV: Array keys must be surrounded by spaces unless they contain a string or an integer.
- DEV: Empty array declaration must have no space between the parentheses.
- DEV: Expected 1 space after array opener.
- DEV: Each item in a multi-line array must be on a new line.
- DEV: Expected 1 space before closing PHP tag.
- DEV: Expected 0 spaces between parenthesis of function declaration.
- DEV: There must be no blank line following an inline comment.
- DEV: Empty block comment not allowed.
- DEV: The static declaration must come after the visibility declaration.
- DEV: Multi-line function call not indented correctly.
- DEV: Logical operator “and” is prohibited; use “&&” instead.
- DEV: Expected 1 space before opening brace.
- DEV: There must be a single blank line after a tag group.
- DEV: Expected 1 space before opening brace.
- DEV: Space found before semicolon.
- DEV: Expected 0 spaces between argument and comma.
- DEV: Additional blank lines found at end of doc comment.
- DEV: phpDoc updates.
- DEV: PHP tags must be on a line by themselves.
- DEV: Expected space before asterisk.
- DEV: Short array syntax is not allowed.
- DEV: Empty lines are not allowed in multi-line function calls.
- DEV: Inline PHP statement must end with a semicolon.
- DEV: Short form type keywords must be used.
- DEV: Usage of ELSE IF is discouraged; use ELSEIF instead.
- DEV: Concat operator must be surrounded by a single space.
- DEV: Array closer not aligned correctly.
- DEV: A gettext call containing placeholders was found, but was not accompanied by a “translators:” comment on the line above to clarify the meaning of the placeholders.
- DEV: The use of function
sizeof()
is forbidden; usecount()
instead. - DEV: Add
config:allow-plugins
to composer.json. - DEV: Updates to
.travis.yml
. - DEV: There must be no blank lines before the file comment.
10.4.9 01/07/2022
- NEW: Add support for the
%title%
,%organization%
, and%department%
tokens when setting the name format when calling thegetNameBlock()
method. - TWEAK: Hook into the
upgrader_process_complete
action to clear addon plugin update checks. - BUG: Team block should not parse request queries.
- SECURITY: Utilize
esc_attr()
instead ofesc_html()
when HTML escaping attribute values. - DEV: Use Yoda Condition checks, you must.
- DEV: Equals sign not aligned with surrounding assignments.
- DEV: Space found before comma in argument list.
- DEV: The CASE body must start on the line following the statement.
- DEV: Remove unnecessary break statement in switch branch.
- DEV: Remove unnecessary blank lines.
- DEV: Add additional security sniffs to the phpcs report.
- DEV: Minor
webpack.config.js
cleanup.
10.4.8 12/22/2021
- NEW: Introduce the Request Input API.
- NEW: Introduce
_::var_dump_to_error_log()
. - TWEAK: Remove unnecessary attribute escaping.
- TWEAK: Add additional label parameters that can be utilized when registering a custom taxonomy.
- TWEAK: Refactor
_::var_dump()
as a variadic and utilize_::var_dump_to_error_log()
for code deduplication. - TWEAK: Remove direct access to
$_GET
and$_POST
super globals and use the Request Input API instead for improved input validation and sanitization while reducing code duplication. - TWEAK: Refactor of
processEntryCategory()
to removeisset()
andempty()
checks on request variable. Sanitize the result. - BUG: Wrong escaping function. href, src, and action attributes should be escaped by
esc_url()
, not byesc_attr()
. - BUG: Utilize
esc_attr__()
instead ofesc_html__()
when escaping attribute values. - BUG: Add missing return value.
- BUG: Set up object and property if not set to prevent PHP related notices and errors when sorting categories during CSV export.
- BUG: Add missing return value to
_::getIP()
. - SECURITY: Sanitize server IP address request variable.
- SECURITY: Sanitize request variable.
- OTHER: Correct misspellings.
- OTHER: Remove unnecessary local variable.
- OTHER: Deprecate unused
cnFormObjects::token()
method. - OTHER: Move deprecated utility classes to the Utility sub-folder.
- OTHER: Remove unnecessary break statements within switch.
- OTHER: Move the Google Maps Timezone API to the Integrations sub-folder.
- OTHER: Remove unused empty placeholder file.
- OTHER: Remove unnecessary break statements within switch.
- OTHER: Remove unused import.
- DEV: There must be no blank lines before the file comment.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital
- DEV: phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
- DEV: phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
- DEV: phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_dump
- DEV: phpcs:disable WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned
- DEV: phpcs:disable WordPress.Arrays.MultipleStatementAlignment.LongIndexSpaceBeforeDoubleArrow
- DEV: phpcs:ignore WordPress.Security.NonceVerification.Recommended
- DEV: Remove @todo tags.
- DEV: phpDoc corrections.
- DEV: When a multi-item array uses associative keys, each value should start on a new line.
- DEV: Use Yoda Condition checks, you must.
- DEV: Remove unused commented out code.
- DEV: There must be no blank lines before the file comment.
- DEV: Equals sign not aligned with surrounding assignments.
- DEV: Reflow code.
- DEV: Correct if/else statement with common parts.
- DEV: String does not require double quotes; use single quotes instead.
- DEV: Tabs must be used to indent lines; spaces are not allowed.
- DEV: Array double arrow not aligned correctly.
- DEV: Language constructs must be followed by a single space.
- DEV: Concat operator must be surrounded by a single space.
- DEV: Correct array code format.
- DEV: Do strict comparison.
- DEV: No space found after comma in argument list.
- DEV: Add phpDoc file header.
- DEV: Extract common parts of if/else statement.
- DEV: Parameter comment must end with a full stop.
- DEV: Parenthesis should always be used when instantiating a new object.
10.4.7 12/01/2021
- NEW: Introduce
_::isDevelopmentEnvironment()
. - TWEAK: Update mShot API URI.
- TWEAK: Collapse duplicate case statements.
- TWEAK: Minor refactor of
cnEntry_HTML::gethCardTelType()
andcnEntry_HTML::gethCardAdrType()
, renaming of variables to be more clear and update phpDoc. - TWEAK: Add the
cn-phone-number-type-{$type}
class to the phone number HTML block to allow each phone type to be selected by CSS. - TWEAK: Move
_::isInteger()
to_validate::isInteger()
. - TWEAK: Move
_::isPositiveInteger()
to_validate::isPositiveInteger()
. - TWEAK: Add timestamp to template CSS version if site is set to the development environment.
- TWEAK: Utilize
_array::get()
to get request data to avoid undefined index notices. - BUG: Do not use
unlink()
on anWP_Error
object. - SECURITY: Refactor escaping of
getTermParents()
. - SECURITY: Utilize
wp_safe_redirect()
instead ofwp_redirect()
. - SECURITY: Sanitize admin term list request variables.
- OTHER: Correct misspellings.
- DEV: Update Node modules.
- DEV: Remove unnecessary Node module imagemin-webpack-plugin.
- DEV: phpDoc updates.
- DEV: Tabs must be used to indent lines; spaces are not allowed.
- DEV: Equals sign not aligned correctly.
- DEV: Space found before argument list.
- DEV: Concat operator must be surrounded by a single space.
- DEV: phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
- DEV: phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital
- DEV: Parameter comment must end with a full stop.
- DEV: Correct inline code comment.
- DEV: Add inline code comment.
- DEV: There must be exactly one blank line before the tags in a doc comment.
- DEV: Update vendor files.
- DEV: Update dist files.
10.4.6 11/16/2021
- NEW: Introduce
_escape::css()
. - NEW: Introduce
_escape::json()
. - NEW: Introduce
_escape::maybeEcho()
. - NEW: Introduce
_validate::isFloat()
. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped HTMLid
attribute. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped encoded JSON. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped HTML attribute value. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped CSS rules. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped HTML tag name. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped HTML class names. - TWEAK: Utilize
_escape::maybeEcho()
to echo the escaped HTML. - TWEAK: Remove unnecessary echo.
- TWEAK: Optimize case statement.
- TWEAK: Instead of prefixing a suspicious warning in CSV export data, prefix with a single straight quote. Allow negative floats without prefixing.
- TWEAK: Add parameter to
cnLog_Email::viewLogItem()
to echo value. - TWEAK: Change attribute from
return
toecho
. - TWEAK: Improve
_sanitize::filepath()
. - BUG: Use correct method to display vCard download link in template.
- BUG: Add missing text domain.
- BUG: Email log cc and bcc fields need to be echoed.
- BUG: Value should be returned, not echoed.
- SECURITY: All output should be run through an escaping function.
- SECURITY: Escape CSS rules.
- SECURITY: Sanitize the bulk delete entry IDs.
- SECURITY: Escape date block template.
- SECURITY: Escape admin date block template.
- SECURITY: Escape email block template.
- SECURITY: Escape admin email block template.
- SECURITY: Sanitize request variable.
- SECURITY: Escape the style attribute in Form Fields API.
- SECURITY: Escape the ID attribute in the Profile template.
- SECURITY: Escape the Entry Meta Content Block.
- SECURITY: Escape the Entry Management Content Block.
- SECURITY: Escape the admin Dashboard Upcoming Widget.
- SECURITY: Escape admin messenger block template.
- SECURITY: Escape messenger block template.
- SECURITY: Escape admin link block template.
- SECURITY: Escape the admin Dashboard Recently Modified Widget.
- SECURITY: Escape the admin Anniversary Light template.
- SECURITY: Escape link block template.
- SECURITY: Escape the admin Anniversary Dark template.
- SECURITY: Escape the Default Card template.
- SECURITY: Escape the Birthday Light template.
- SECURITY: Escape the admin Dashboard Recently Added Widget.
- SECURITY: Escape the Members template.
- SECURITY: Escape the Default Card template.
- SECURITY: Escape URL.
- SECURITY: Escape the Default Card template.
- SECURITY: Escape the Birthday Dark template.
- SECURITY: Escape address block template.
- SECURITY: Escape address block template.
- SECURITY: Escape admin address block template.
- SECURITY: Escape phone block template.
- SECURITY: Escape admin phone block template.
- SECURITY: Escape the Related Content Block.
- SECURITY: Escape the Recently Viewed Content Block.
- SECURITY: Escape class names in license notification.
- SECURITY: Escape the Entry Meta Content Block.
- SECURITY: Escape admin social network block template.
- SECURITY: Escape the Carousel Block template.
- SECURITY: Escape the Entry Management Content Block.
- SECURITY: Escape the Nearby Content Block.
- SECURITY: The base export class header and row data should be run thru the escape method incase the base methods are not overridden.
- SECURITY: Admin messages need to support HTML when escaped.
- SECURITY: Refactor
cnCategory::getDescriptionBlock()
to remove duplicate code and add escaping. - SECURITY: Escape HTML attribute values.
- SECURITY: Use
wp_safe_redirect()
. - OTHER: Remove unnecessary line returns.
- OTHER: Remove extra spaces.
- OTHER: Remove unnecessary usage of
esc_html__()
. - OTHER: Reflow code.
- OTHER: Correct misspellings.
- OTHER: Remove unnecessary tab.
- OTHER: Lines indented incorrectly.
- OTHER: Remove unnecessary double forward slash from inline comment.
- OTHER: Remove extra space.
- DEV: phpDoc corrections.
- DEV: Ignore instance of WordPress.Security.EscapeOutput.OutputNotEscaped.
- DEV: The CASE body must start on the line following the statement.
- DEV: Use Yoda Condition checks, you must.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: String does not require double quotes; use single quotes instead.
- DEV: Tabs must be used to indent lines; spaces are not allowed.
- DEV: Array double arrow not aligned correctly.
- DEV: Remove unnecessary parenthesis.
- DEV: Concat operator must be surrounded by a single space.
- DEV: Ignore instance of WordPress.Security.NonceVerification.Missing
- DEV: Remove inline comments.
- DEV: Remove @todo.
- DEV: phpcs rule tweaks.
- DEV: Ignore instance of WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
- DEV: Ignore instance of WordPress.WP.GlobalVariablesOverride.Prohibited.
- DEV: Space found before comma in argument list.
- DEV: Simplify ternary.
- DEV: There must be no blank lines before the file comment.
- DEV: When a multi-item array uses associative keys, each value should start on a new line.
- DEV: Add phpDoc to template.
- DEV: Ignore instance of PEAR.NamingConventions.ValidClassName.Invalid.
- DEV: Ignore instance of PEAR.NamingConventions.ValidClassName.StartWithCapital.
- DEV: Rename variable.
- DEV: Do type check after encoding value as JSON to ensure its a string.
- DEV: Simplify switch statement.
- DEV: Array closer not aligned correctly.
- DEV: Add phpDoc.
- DEV: Qualifier is unnecessary and can be removed.
- DEV: Equals sign not aligned with surrounding assignments.
- DEV: Remove unused import.
- DEV: Refactor of
\Form\Field::stringifyCSSAttributes()
. - DEV: Move common HTML functions from
\Form\Field
namespace to the\HTML
namespace. - DEV: Move HTML helper functions from namespaced global functions to public static functions in namespaced class.
- DEV: Remove unnecessary parameter from method to be consistent with signatures of other methods in utility class.
- DEV: Convert quotes.
- DEV: Expected exactly one space after opening parenthesis.
- DEV: Opening PHP tag must be on a line by itself.
- DEV: Inline PHP statement must end with a semicolon.
- DEV: Opening brace should be on the same line as the declaration.
- DEV: Remove extra spaces in function parameters.
- DEV: Comma not allowed after last value in single-line array declaration.
- DEV: Parameter comment must end with a full stop.
- DEV: Remove unused commented out code.
- DEV: Remove unnecessary string concat.
- DEV: Deprecate
cnTemplate::includeFunctions()
andcnTemplate::printCSS()
. - DEV: Remove @noinspection tag.
- DEV: Code format inline comment.
- DEV: phpDoc alignment.
- DEV: Deprecated argument.
- DEV: Parenthesis should always be used when instantiating a new object.
- DEV: Equals sign not aligned correctly.
- DEV: phpcs.xml configuration tweak.
- DEV: Expected 1 space after closing brace.
- DEV: Language constructs must be followed by a single space.
- DEV: Expected 1 space after “=”.
- DEV: Move imports.
- DEV: Missing space before array closer.
- DEV: Expected 1 space after “&&”.
- DEV: Expected exactly one space before opening parenthesis.
- DEV: Closing PHP tag must be on a line by itself.
- DEV: Correct code flow.
- DEV: Usage of ELSE IF is discouraged; use ELSEIF instead.
- DEV: Add/remove extra spaces.
- DEV: Newline required after opening brace.
- DEV: Expected 1 space(s) after closing parenthesis.
- DEV: There must be no space between the “array” keyword and the opening parenthesis.
- DEV: Use spaces instead of tabs for midline alignment in phpDoc.
- DEV: Remove duplicate switch branches.
- DEV: Reflow multiline function call to single line.
- DEV: The DEFAULT body must start on the line following the statement.
- DEV: Deprecate arguments in
cnHTML::attribute()
. - DEV: Remove HTML inspection flags.
- DEV: Add phpcs WP security report.
10.4.5 10/22/2021
- NOTICE: Requires at least WordPress 5.2.
- NEW: Introduce
Utility\_sanitize
. - NEW: Introduce
_validate::isCSV()
. - NEW: Introduce
_sanitize::filePath()
. - NEW: Introduce
phpcs.xml
. - TWEAK: Discard current character query variable if supplied string is longer than a single character.
- TWEAK: Use
absint()
instead ofesc_attr()
when using the Entry ID query var on the Manage admin page. - TWEAK: Escape html of setting description.
- TWEAK: Process echoed JavaScript through
esc_js()
. - TWEAK: Process map pin popup through
wp_kses_post()
. - TWEAK: Remove unnecessary newlines.
- TWEAK: Delete commented out code.
- TWEAK: Refactor tabbed sub-panels on the Templates admin page to eliminate several phpcs WPCS warnings.
- TWEAK: Remove HTML URL from translation.
- TWEAK: Add
target="_blank"
to template author URL. - TWEAK: Change a couple private method to public so they can be access in filter callback.
- TWEAK: Utilize the collection renderer to render the social networks on the manage admin page.
- TWEAK: Correct send by AJAX check.
- TWEAK: Set
json_decode()
to return associative array instead of object. - TWEAK: Use wp_json_encode() instead.
- TWEAK: Increment operators should be used where possible.
- TWEAK: Use
CN_parseCSV
version 1.1 during category import for PHP8 compatibility. - TWEAK: Introduce mapping method to map CSV data to new structure on CN_parseCSV 1.1.
- TWEAK: Force balanced tags in
_escape::html()
. - TWEAK: Utilize
wp_safe_redirect()
instead ofwp_redirect()
. - TWEAK: Remove incorrect use of
esc_html__()
when registering settings. - TWEAK: Change the upgrade notice and changelog from
p
tags todiv
tags on the Plugins admin page. - TWEAK: Passing the $delimiter as the second parameter to
preg_quote()
is strongly recommended. - SECURITY: Validate and sanitize
$_GET['page']
. - SECURITY: Validate and sanitize
$_GET['cn-action']
. - SECURITY: Sanitize usage of a non-sanitized input variable.
- SECURITY: All translated strings should be run through an escaping function.
- SECURITY: Sanitize usage of a non-sanitized input variable.
- SECURITY: All output should be run through an escaping function.
- SECURITY: Use
esc_html__
instead of__()
. - SECURITY: Sanitize admin keyword search field.
- SECURITY: Sanitize current character request query variable.
- SECURITY: Process the status filter links through
wp_kses()
. - SECURITY: Sanitize search query variable for pagination links.
- SECURITY: Correct class name escaping.
- SECURITY: Wrong escaping function, using
esc_attr()
in a context outside of HTML attributes may not escape properly. - SECURITY: Use isset() or empty() to check the index exists before using it and sanitize request variable.
- SECURITY: Sanitize CSV file upload path.
- SECURITY: Validate if file is a CSV file.
- SECURITY: scape anchor text when outputting an anchor permalink.
- SECURITY: Process the rank string through
wp_kses_post()
before outputting. - SECURITY: Escape edit permalink string.
- SECURITY: Escape delete entry permalink string.
- SECURITY: Escape permalink title attribute for vCard anchors.
- SECURITY: Correctly strip tags and escape dashboard widget text.
- SECURITY: Escape vCard permalink string.
- SECURITY: Escape the no results string.
- SECURITY: Escape the submit button title attribute.
- SECURITY: Escape the title attribute of the current character.
- SECURITY: Escape term list options.
- SECURITY: Escape classnames.
- SECURITY: Escape arguments passed to
_deprecated_argument()
,_deprecated_function()
, and_deprecated_hook()
. - SECURITY: Escape attributes when generating a permalink using
_url::permalink()
. - SECURITY: Escape arguments passed to
wp_dropdown_pages()
. - SECURITY: Escape plugin upgrade notice and changelog on Plugin admins page.
- SECURITY: Escape admin notices.
- COMPATIBILITY: Backport
is_gd_image()
from WordPress 5.6 to fix issues with resizing images using the GD library. - OTHER: Replace quotes.
- OTHER: Correct typos.
- OTHER: A gettext call containing placeholders was found, but was not accompanied by a “translators:” comment on the line above to clarify the meaning of the placeholders.
- OTHER: Remove extra parenthesis.
- OTHER: Remove
error_log()
call. - DEV: Update
composer.json
. - DEV: Correct function spacing in passed arguments.
- DEV: Ignore global override warning.
- DEV: When a multi-item array uses associative keys, each value should start on a new line.
- DEV: Inline control structures are not allowed.
- DEV: Use of
extract()
is not recommended. - DEV: Parenthesis should always be used when instantiating a new object.
- DEV: Opening brace must be the last content on the line.
- DEV: There must be no blank lines before the file comment.
- DEV: Inline comments must end in full-stops, exclamation marks, or question marks.
- DEV: Use Yoda Condition checks, you must.
- DEV: Use isset() or empty() to check the index exists before using it.
- DEV: Each array item in a multi-line array declaration must end in a comma.
- DEV: Inline PHP statement must end with a semicolon.
- DEV: Opening/closing PHP tags must be on a line by themselves.
- DEV: TRUE, FALSE and NULL must be lowercase.
- DEV: Ignore instance of WordPress.NamingConventions.PrefixAllGlobals.
- DEV: Ignore instance of WordPress.Security.EscapeOutput.OutputNotEscaped.
- DEV: Ignore instance of WordPress.Arrays.MultipleStatementAlignment.
- DEV: Ignore instance of WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound.
- DEV: Ignore instance of phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital.
- DEV: Opening PHP tag must be on a line by itself.
- DEV: Closing PHP tag must be on a line by itself.
- DEV: Ignore instance of WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound.
- DEV: Add composer script.
- DEV: Ignore instance of Generic.Commenting.DocComment.SpacingBeforeTags.
- DEV: The CASE body must start on the line following the statement.
- DEV: Detected usage of a possibly undefined superglobal array index: $_GET[‘id’]. Use isset() or empty() to check the index exists before using it.
- DEV: The DEFAULT body must start on the line following the statement.
- DEV: Equals sign not aligned with surrounding assignments.
- DEV: Add inline code comments and doc block.
- DEV: Use
mb_strlen()
instead ofstrlen()
. - DEV: Ignore instance of WordPress.Security.ValidatedSanitizedInput.InputNotSanitized.
- DEV: Remove instances of deprecated functions.
- DEV: Array double arrow not aligned correctly.
- DEV: Tabs must be used to indent lines; spaces are not allowed.
- DEV: Missing short description in doc comment.
- DEV: Concat operator must be surrounded by a single space.
- DEV: HTTP links are not secure.
- DEV: String concat is not required here; use a single string instead.
- DEV: Ignore instance of Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps.
- DEV: String “” does not require double quotes; use single quotes instead.
- DEV: Swap quotes.
- DEV: Assignments must be the first block of code on a line.
- DEV: Remove
esc_url()
from link since it escaped later. - DEV: Opening/closing parenthesis of a multi-line function call must be the last content on the line.
- DEV: Remove unused local variable
$wp_roles
. - DEV: Ignore instance of phpcs:ignore WordPress.Security.NonceVerification.Recommended.
- DEV: Ignore instance of phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped.
- DEV: Correct array code alignment.
- DEV: Remove unnecessary escaping.
- DEV: phpDoc updates.
- DEV: Ignore instance of phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
- DEV: Ignore instance of phpcs:disable Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
- DEV: Check variables are set before access.
- DEV: Ignore instance of phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps.
- DEV: Ignore instance of phpcs:ignore WordPressVIPMinimum.Performance.FetchingRemoteData.FileGetContentsUnknown
- DEV: Remove unnecessary validation when processing category CSV import.
- DEV: Ignore instance of phpcs:ignore WordPress.Security.NonceVerification.Missing
- DEV: Remove commented out code.
- DEV: Check array key exists before access.
- DEV: Ignore instance of phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized.
- DEV: Correct ternary syntax.
- DEV: Remove unnecessary conditional.
- DEV: Logical operator “or” is prohibited; use “||” instead.
- DEV: “include” is a statement not a function; no parentheses are required.
- DEV: WPCS fixes.
- DEV: .gitignore PHPCS-report.txt.
- DEV: Add “Requires at least” and “Requires PHP” to the plugin header.
10.4.3 09/27/2021
- SECURITY: Entry data on the Manage admin page should be escaped to prevent high level WordPress Users to perform Cross-Site Scripting attacks.
10.4.2 09/23/2021
- COMPATIBILITY: Add compatibility shim for the All-in-One Video Gallery plugin.
- TWEAK: Ensure value is object before accessing its properties.
10.4.1 09/14/2021
- NEW: Introduce
_::isInteger()
and_::isPositiveInteger()
. - NEW: Introduce the
suppress_filters
parameter incnRetrieve::entries()
. - NEW: Introduce
cnTemplateFactory::maybeActivate()
. - TWEAK: Correct initiate new objects.
- TWEAK: Use
self
shortcode keyword instead of classname when checking instance of object. - TWEAK: Utilize the
suppress_filters
property incnRetrieve::upcoming()
. - TWEAK: Utilize
suppress_filters
in the admin dashboard widgets. - TWEAK: Check to make sure object property is set before use.
- TWEAK: Remove unnecessary
isset()
check. - TWEAK: Action to register templates should be run before templates are activated.
- TWEAK: Add check for instance of self when initiating the template factory.
- TWEAK: Update action hooks to call
cnTemplateFactory::maybeActivate()
. - TWEAK: Add call to
cnTemplateFactory::maybeActivate()
incnTemplateFactory()
. Needed to support the new Widget Editor because it seems therest_init
hook does not fire or is not fired in time to render the widget previews. Templates are required to be activated because templates are used to render the widgets. - OTHER: Correct typos.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
10.4 09/03/2021
- NEW: Introduce the
_::isEmpty()
and_::notEmpty()
helper methods. - NEW: Introduce the
_string::applyPrefix()
helper method. - NEW: Introduce the Fields API.
- NEW: Introduce the helper
_escape
class. - NEW: Introduce
cnScript::maybeEnqueueStyle()
. - TWEAK: Remove unreachable
break
statements in switches. - TWEAK: Ensure deprecated messages are shown only when the environment type is set to
development
. - TWEAK: Allow
overflow-x
andoverflow-y
as valid inline style attributes. - TWEAK: Check for instance of Label before calling a method.
- TWEAK: Update deprecated method call with the updated replacement.
- TWEAK: Remove use of deprecated form field methods used on the Manage admin page.
- TWEAK: Conditionally enqueue the Leaflet library.
- TWEAK: Replace one-off code of fields in the Metabox API with fields created using the Fields API.
- TWEAK: Replace one-off code of fields in the Settings API with fields created using the Fields API.
- TWEAK: Change the init priority of the Metabox API to
11
. - BUG: Correct translated country name.
- BUG: Return empty string as default case in switch for HTML fields.
- BUG: No need to assign the CPT field in the Settings API to the variable as it will be rendered in the recursive call.
- OTHER: Readme.txt correction.
- OTHER: Correct misspelling.
- OTHER: Removed unused global variable.
- OTHER: Remove extra semi-colon.
- INTEGRATION: Update The Rank Math integration to change the robots meta to noindex the paginated directory results.
- COMPATIBILITY: Remove the single shortcode filter if the PageLayer plugin is active.
- DEV: phpDoc corrections.
- DEV: Public function should be static.
- DEV: Correct code formatting.
- DEV: phpDoc updates to cnHTML; deprecating all methods.
- DEV: Add
_deprecated_function()
calls to cnHTML methods. - DEV: Add
_deprecated_argument()
calls to cnHTML methods.
10.3.2 07/23/2021
- TWEAK: Use of the
_deprecated::_func()
rapper function for_deprecated_function()
to ensure warnings are not triggered during AJAX or REST requests even ifWP_DEBUG
is enabled. Message will only trigger when environment type is set to development. - BUG: Do not set offset when querying Entry URLs while building the sitemap url index when the page number is 0 (zero).
10.3.1 07/19/2021
- NEW: Introduce
Taxonomy\Partial\getTermParents()
. - TWEAK: No need to import the core Connections Directory object on the term taxonomy admin pages since it is not utilized.
- TWEAK: Deprecate
cnTemplatePart::getCategoryParents()
and refactor to utilizeTaxonomy\Partial\getTermParents()
. - TWEAK: Remove instances of
cnTemplatePart::getCategoryParents()
and refactor to utilizeTaxonomy\Partial\getTermParents()
. - TWEAK: Ensure Content Block callback is callable before registering the action callback.
- TWEAK: Ensure taxonomy term permalink returns a string before escaping and rendering the permalink HTML.
- TWEAK: Ensure term is an array and not empty before attempting to traverse the term results.
- TWEAK: Minor refactor of
Content_Block::isPermitted()
to ensure callback is callable and if return value is not a bool, returnfalse
. - TWEAK: Set the default value in
Content_Block::heading()
to an empty string as the default to prevent a possiblenull
as the return value. - TWEAK: Set the default value of
label
inContent_Block\Entry\Taxonomy::content()
to an empty string as the default to prevent a possiblenull
as the return value. - BUG: The
category__in
andcategory__not_in
parameters should be parse as arrays. - BUG: Correct form ID name on the term taxonomy admin page to be consistent with WP core.
- BUG: Ensure the
force_home
andhome_id
parameters are passed in the Taxonomy Term widget to prevent PHP notices about undefined indexes. - DEV: phpDoc corrections.
- DEV: Remove unused import.
- DEV: Updates to
.composer.json
. - DEV: Updates to
.gitignore
.
10.3 07/10/2021
- NEW: Introduce
_length()
, deprecatecnGEO::convert()
, and refactor instances ofcnGEO::convert()
to utilize_length()
. - NEW: Introduce
Taxonomy::getQueryVar()
andTaxonomy::isPublicQueryable()
methods. - NEW: Introduce
cnRetrieve::getRegisteredQueryVars()
. - NEW: Introduce
Request
. - NEW: Introduce
Query\Taxonomy
andQuery\Term
classes. - NEW: Introduce the
cn-template-is-single
class to the shortcode markup. - TWEAK: Correct
allow_public_override
shortcode settings label and description. - TWEAK: Rename
lock
parameter incnRetrieve::entries()
toparse_request
. - TWEAK: Replace qualifier with import.
- TWEAK: Replace deprecated method with replacement method.
- TWEAK: Correct replacement method for deprecated method.
- TWEAK: Remove the legacy
wp_current_category
shortcode parameter. - TWEAK: Use absolute path to include deprecated category functions. The
processEntryCategory()
was not a global function as it should have been, it was local to another function. - TWEAK: Update
_::decodeJSON
to include additional error messages. - TWEAK: Refactor
_::maybeJSONdecode()
to be faster and more reliable. - TWEAK: Remove unnecessary
break
. - TWEAK: Combine global functions into a single file.
- TWEAK: Extract helper functions from the cnTerm object. Introduce
_getTermChildren
,_getTermHierarchy
,_padTermCounts
and several more helper functions. - TWEAK: Update cnTerm to use new taxonomy helper functions.
- TWEAK: Use the
_deprecated_function()
wrapper function in the cnTerm file. - TWEAK: Remove use of deprecated method.
- TWEAK: Add deprecated filter hooks for backwards compatibility.
- TWEAK: Replace legacy
cnTerm_Object
class withTaxonomy\Term
. - TWEAK: Remove use of deprecated methods in the legacy
cnCategory
class. - TWEAK: The name suffix should have a comma between it and the surname.
- TWEAK: The pagination template code had duplicate code in the if/else statement. Extract it.
- TWEAK: Change the classname
cn-is-single
tocn-list-item-is-single
for more accurate targeting. - TWEAK: Add timestamp to the template custom CSS file version string for cache busting.
- TWEAK: When parsing query request variables; parse arrays, filter, decode, and unslash.
- TWEAK: Refactor
cnRetrieve::entries()
to utilize bothRequest
andQuery\Taxonomy
to remove code duplication and optimize query performance. - TWEAK: Move the
Connections_Directory/Taxonomy/{$this->getSlug()}/Sanitize_Terms
filter toTaxonomy\AttachTerms
. - BUG: Add missing search results messages when filtering by district and county.
- BUG: Cast string to float.
- BUG: Do not disable the term checklist option when not displaying in the admin.
- BUG: Pass raw Organization and Department fields to
cnURL::permalink()
slug attribute. - BUG: Correct return value
isHierarchical()
. - BUG: Correctly order the country/region permalinks in the pagination.
- BUG: Pass raw names when creating permalinks for county, district, city, state, zipcode, and country permalinks.
- DEV: phpDoc corrections.
- DEV: Update
package.json
with latest dev dependencies andwebpack.config.js
configuration options. - DEV: Update dist files.
- DEV: Update vendor files.
- DEV: Comment out unused code, marked for removal at later date.
- DEV: Update
package.json
dependencies. - DEV: Introduce
wp_get_environment_type()
for backwards compatibility. - DEV: Introduce action/filter deprecation hooks. During AJAX, REST or if WP Environment is set to “production”, messages will be logged instead of output on screen.
- DEV: Use new deprecated filter hook wrapper function in the deprecated filters files.
- DEV: Use new deprecated action hook wrapper function in the deprecated action file.
- DEV: phpDoc corrections.
- DEV: Add @todos.
- OTHER: Update copyright year.
- OTHER: Bump support WordPress version to 5.8.
10.2 04/15/2021
- FEATURE: First pass at adding custom taxonomy API.
- NEW: Introduce
_string::insert()
. - NEW: Introduce
cnRewrite::getPermalinkSlugs()
. - NEW: Introduce
cnRewrite::generateRule()
. - NEW: Introduce
cnShortcode::isSupportedPostType()
helper method. - NEW: Introduce
cnShortcode::getHomeID()
helper method. - NEW: Introduce
cnMetaboxAPI::defaultPageHooks()
. - NEW: Introduce ‘object_ids’ parameter in
cnTerm::getTaxonomyTerms()
. - NEW: Introduce the
Connections_Directory/Content_Blocks/Register
filter. - TWEAK: Do array check be attempting to marge array to prevent potential PHP notice in some scenarios.
- TWEAK: Move the WordPress mShot integration class to the integration folder and adjust the namespace accordingly.
- TWEAK: Remove use of deprecated class
cnFormatting
incnCategory
. - TWEAK: Enable the transform URL in the Rank Math integration.
- TWEAK: Register the namespaced rewrite tags which will be used to generate the rewrite rules.
- TWEAK: Add
noreferrer
andnofollow
attributes to the social media network links. - TWEAK: Ensure date is instance of DateTime before adding to date to Entry Dates.
- TWEAK: Ensure date is instance of DateTime before setting the date format when adding backwards support for the anniversary and birthday date fields.
- TWEAK: Update
[connections]
shortcode defaults to use thecnShortcode::getHomeID()
helper method for thehome_id
shortcode attribute. - TWEAK: Ensure cloned fields are shown.
- TWEAK: Remove use of deprecated
click
jQuery function. - TWEAK: Remove use of deprecated
bind
jQuery function. - TWEAK: Remove use of deprecated method
cnFormatting::maybeJSONdecode()
incnMeta
. - TWEAK: Use
strnatcasecmp
when sorting the admin menu array key index. - TWEAK: Add
class
parameter to form tag. - TWEAK: Add support for a default value for the text field input in the Settings API.
- TWEAK: Utilize
cnShortcode::getHomeID()
and set theforce_home
attribute default to false in the callbacks for the view all list action and the character index. - TWEAK: Add
echo
attribute to the term list walker renderer. - TWEAK: Add
categorychecklist
class to the term list walker so it inherits the proper styles from WP. - TWEAK: Utilize
cnMetaboxAPI::defaultPageHooks()
when registering core default entry metaboxes. - TWEAK: Use strict comparison in
cnTerm::descendants()
. - TWEAK: Do not set variable in comparison in
cnTerm::descendants()
. - TWEAK: Eliminate the possibility of a trailing comma in the entry categories list when using the Split Categories addon.
- TWEAK: Reset the Entry category block properties to their defaults after rendering.
- TWEAK: Remove the locality, region, and postal code from the request query vars.
- TWEAK: Use
self
instead ofstatic
when initiating SEO integration classes since they are final classes. - TWEAK: Only add the SEO filters if the
[connections
shortcode or Directory block is used on the queried post. - TWEAK: Check if the query post object is a support post type in the canonical redirect when on the front page.
- BUG: The persistent log taxonomy should not have rewrite rules generated.
- BUG: Only custom post types that are publicly queryable and have rewrite rules should be valid options when choosing to enable custom post type support.
- BUG: Correct
implode()
usage. Array must be 2nd parameter. - BUG: Prevent characters from being removed from the beginning/end of post titles.
- BUG: Refactor
cnEntry::getCategory()
to display attached children categories no matter the descendent depth. - BUG: Correct hook registration.
- BUG: Add the missing schema for the bio and notes fields to the REST API endpoint.
- COMPATIBILITY: Invalidate the Rank Math sitemaps cache when adding/deleting/updating and Entry.
- COMPATIBILITY: Update plugin compatibility checks for WP Mail Logging and Email Log Plugin to be PHP 8.0 compliant.
- COMPATIBILITY: Compatibility with the Post Categories by User for WordPress plugin by preventing this plugin from hiding the categories on the Connections admin pages.
- OTHER: Update max WordPress version in compatibility check.
- OTHER: Correct misspelling.
- OTHER: Correct code formatting.
- DEV: Remove commented out code.
- DEV: Add a couple of todo’s.
- DEV: phpDoc corrections.
- DEV: Add deprecated SiteShot file for loading via legacy code. Reorder the class alias to prevent a PHP warning message.
- DEV: Remove curly bracket array access from CSV library.
- DEV: Update min/max PHP and WP requirements.
- DEV: Correct PHP8 optional parameter before required parameter notice.