Skip to content

Commit aec793c

Browse files
committed
WPCasa 1.4.1
1 parent 75ee47e commit aec793c

31 files changed

+363
-137
lines changed

README.txt

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Donate link: https://www.paypal.com/donate/?hosted_button_id=SYJNVSP2BKTQ4
55
Tags: listings, property, real-estate, rental, realtor
66
Requires at least: 6.2
77
Requires PHP: 7.2
8-
Tested up to: 6.7
9-
Stable tag: 1.3.1
8+
Tested up to: 6.8
9+
Stable tag: 1.4.1
1010
License: GPLv2 or later
1111
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1212

@@ -23,7 +23,7 @@ WPCasa is a **real estate** WordPress solution that provides an intuitive way to
2323
* Themes: [wpcasa.com/themes](https://wpcasa.com/themes)
2424
* GitHub: [github.com/wpsight/wpcasa](https://github.com/wpsight/wpcasa)
2525

26-
> Have a look at our latest themes [WPCasa Madrid](https://wpcasa.com/downloads/wpcasa-madrid), [WPCasa Oslo](https://wpcasa.com/downloads/wpcasa-oslo/)
26+
> Check out our latest themes [WPCasa Madrid](https://wpcasa.com/downloads/wpcasa-madrid), [WPCasa Oslo](https://wpcasa.com/downloads/wpcasa-oslo/)
2727
and [WPCasa London](https://wpcasa.com/downloads/wpcasa-london).
2828

2929
= Easy as WordPress =
@@ -63,7 +63,7 @@ WPCasa comes with readable & well-documented code with loads of actions, filters
6363

6464
= Translation Ready =
6565

66-
The real estate business is international. And so is WPCasa. The framework and all our add-ons and themes are translation-ready and comes with 11 translations on board.
66+
The real estate business is international. And so is WPCasa. The plugin and all our add-ons and themes are translation-ready. You can show your listings in multiple languages.
6767

6868
= Translations =
6969

@@ -112,7 +112,7 @@ Once you have installed and activated WPCasa you will find a new page called "Li
112112

113113
For more information about how to get started please [read our documentation](https://docs.wpsight.com/).
114114

115-
= Whats’ Next =
115+
= What's Next =
116116

117117
Other useful [free add-ons](https://wordpress.org/plugins/search/WPCasa/) for WPCasa
118118

@@ -124,17 +124,18 @@ WPCasa Listings Map
124124
WPCasa Ninja Forms
125125
WPCasa Polylang
126126
WPCasa Pricing Tables
127+
WPCasa Migration Tool (NEW)
127128

128129
More useful [Pro add-ons](https://wpcasa.com/downloads/category/add-ons/) for WPCasa
129130

130131
WPCasa Dashboard
131132
WPCasa Listing PDF
132133
WPCasa Featured Listings
133134
WPCasa Listing Labels
134-
WPCasa Admin Map UI
135135
WPCasa Favorites
136136
WPCasa Currency Converter
137137
WPCasa Expire Listings
138+
WPCasa Energy Efficiency (NEW)
138139

139140
Check out our [WPCasa themes](https://wpcasa.com/downloads/category/themes/) for your real estate website:
140141

@@ -149,7 +150,7 @@ WPCasa Elviria
149150

150151
= Which shortcodes are included? =
151152

152-
* `[wpsight_listings]`: Displays a list of your latest properites
153+
* `[wpsight_listings]`: Displays a list of your latest properties
153154
* `[wpsight_listings_search]`: Displays the property search form
154155
* `[wpsight_listing]`: Displays a single listing
155156
* `[wpsight_listing_teasers]`: Displays a list of property teasers
@@ -166,6 +167,11 @@ You can fit general plugin settings to your needs on _WP-Admin > WPCasa > Settin
166167

167168
Yes, the core features are free. Additionally, we offer free and paid add-ons and themes exclusively built for WPCasa.
168169

170+
= Does WPCasa support the block editor (aka Gutenberg)? =
171+
172+
Let's say yes, but don't expect blocks to build your pages. With WPCasa 1.4.0 we have added block editor support (which needs to be enabled in the WPCasa settings) which allows you to use all WPCasa related data in the block editor. This allows you to create your own output with the loop block, for example.
173+
However, you can still use our [shortcodes](https://docs.wpcasa.com/article/category/shortcodes/) with the block editor.
174+
169175
= Does WPCasa include a listing gallery? =
170176

171177
Yes and no. WPCasa provides the data structure for an image gallery for listings. However, WPCasa does not have a gallery for output in the frontend. The reason is that the theme usually provides galleries. We want to avoid having to load the code for different galleries on one page. The developer of the theme must therefore ensure compatibility with WPCasa and can then activate the addition of images for the gallery. Otherwise, only the featured image can be added to the listing.
@@ -225,8 +231,25 @@ Andrea Manzato
225231
[Simon Rimkus](https://github.com/simonrimkus)
226232

227233
== Changelog ==
234+
= 1.4.1 =
235+
* FIX: The license page may show an error under certain circumstances
236+
237+
= 1.4.0 =
238+
* NEW: Added basic compatibility with the block editor and REST API endpoints for listings and all related taxonomies.
239+
* NEW: Added energy efficiency diagram to page printout. Requires [WPCasa Energy Efficiency](https://wpcasa.com/downloads/wpcasa-energy-efficiency).
240+
* NEW: Added color selector for use on the settings page, as with [WPCasa Featured Listing](https://wpcasa.com/downloads/wpcasa-featured-listing) and [WPCasa Listing Labels](https://wpcasa.com/downloads/wpcasa-listing-labels).
241+
* NEW: Added note if the updater class for paid plugins is missing.
242+
* TWEAK: Twitter renamed to X.
243+
* TWEAK: Translation settings improved and missing strings for translation added.
244+
* FIX: Textdomain WPCasa was loaded too early.
245+
* FIX: Message if no image is assigned to an agent.
246+
* FIX: Vulnerability for Cross Site Scripting (XSS) fixed (thanks to Patchstack).
247+
248+
= 1.3.2 =
249+
* TEWAK: Text improvements
250+
228251
= 1.3.1 =
229-
* TWEAK: added string translation of listing details
252+
* TWEAK: Added string translation for listing details
230253
* UPDATE: CMB2 updated to 2.11.0
231254
* FIX: Fixed authenticated stored XSS (Thanks to Vlad Nikandrov)
232255

@@ -407,9 +430,17 @@ Andrea Manzato
407430
* Initial release
408431

409432
== Upgrade Notice ==
433+
= 1.4.1 =
434+
With this version we are starting to add basic compatibility with block editor (aka Gutenberg). It includes also new REST API endpoints for listings and all associated taxonomies. You can control this new feature on the settings page.
435+
In addition, we have renamed Twitter to X to match the official wording and we have fixed an issue on the license page.
436+
437+
= 1.4.0 =
438+
With this version we are starting to add basic compatibility with block editor (aka Gutenberg). It includes also new REST API endpoints for listings and all associated taxonomies. You can control this new feature on the settings page.
439+
In addition, we have renamed Twitter to X to match the official wording.
440+
410441
= 1.3.0 =
411442
We have changed the loading of the language files of [GlotPress](https://translate.wordpress.org/projects/wp-plugins/wpcasa/). This means that the language files included in the plugin are no longer available. If you find that the WPCasa output is now in English instead of your local language, please go to [GlotPress](https://translate.wordpress.org/projects/wp-plugins/wpcasa/) and translate WPCasa into your local language. This way the community can benefit from your translation, just as you benefit from WPCasa.
412-
Please note: WordPress 6.6 has droped support for PHP 7.0 and 7.1, so in the upcoming updates we will also drop PHP support for older and unsecure PHP versions up to PHP 7.1. If you would like to benefit from further WPCasa updates from the end of 2024, please keep in mind that you must be running at least PHP 7.2 on your server.
443+
Please note: WordPress 6.6 has dropped support for PHP 7.0 and 7.1, so in the upcoming updates we will also drop PHP support for older and unsecure PHP versions up to PHP 7.1. If you would like to benefit from further WPCasa updates from the end of 2024, please keep in mind that you must be running at least PHP 7.2 on your server.
413444

414445
= 1.2.13 =
415446
We have fixed the non-functioning QR code on the single page and made sure that WPCasa works correctly with WordPress 6.6.

assets/css/wpsight-admin.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,14 @@ input::-moz-focus-outer {
20082008
border: 0;
20092009
}
20102010

2011+
/******************************
2012+
* FIELD: COLOR PICKER
2013+
******************************/
2014+
2015+
.wpsight-settings-field-colorpicker .wp-picker-container .wp-color-result.button{
2016+
padding-right: 10px;
2017+
}
2018+
20112019
/*
20122020
* ####################################################################################################
20132021
* ####################################################################################################

assets/css/wpsight-admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/img/wpcasa-update-1.png

-141 KB
Loading

assets/js/wpsight-admin.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ jQuery(document).ready(function($) {
7777
$(".wpsight-settings-wrap").toggleClass("wpsight-settings-wrap-hide-navbar");
7878
});
7979

80+
// Show color picker
81+
82+
jQuery(document).ready(function($){
83+
$('.wpsight-settings-colorpicker').wpColorPicker();
84+
});
8085

8186
// Working with listing fields
8287

@@ -240,3 +245,4 @@ jQuery(document).ready(function($) {
240245
WPCasaAdminUIAccordion()
241246

242247
});
248+

assets/js/wpsight-admin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

functions/wpsight-agents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function wpsight_get_agent_phone( $user_id ) {
412412
* Echo wpsight_get_listing_agent_twitter()
413413
*
414414
* @param integer|object $post Post ID or object of specific listing (defaults to null = current listing)
415-
* @param string $return Return Twitter user or URL (defaults to 'user' - can be 'url')
415+
* @param string $return Return X (Twitter) user or URL (defaults to 'user' - can be 'url')
416416
* @uses wpsight_get_listing_agent_twitter()
417417
*
418418
* @since 1.0.0

functions/wpsight-general.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,11 @@ function wpsight_get_listing_html() {
476476
),
477477
'div' => array(
478478
'class' => array(),
479+
'style' => array(),
479480
),
480481
'span' => array(
481-
'class' => array()
482+
'class' => array(),
483+
'style' => array()
482484
)
483485
);
484486

functions/wpsight-template.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ function wpsight_get_listing_title( $post_id = '', $actions = array() ) {
183183
*
184184
* Echo wpsight_get_listing_title()
185185
*
186-
* @param integer $post_id Post ID of specific listing
187-
* @param array $actions Array of listing title actions
186+
* @param integer $post_id Post ID of specific listing
187+
* @param array $actions Array of listing title actions
188188
* @uses wpsight_get_listing_title()
189189
*
190190
* @since 1.0.0
191191
*/
192-
function wpsight_listing_title( $post_id = '', $actions = array() ) {
192+
function wpsight_listing_title( $post_id = '', array $actions = array() ) {
193193
$allowed_html = wpsight_allowed_html_tags();
194194
$listing_title = wpsight_get_listing_title( $post_id, $actions );
195195
echo wp_kses( $listing_title, $allowed_html );

includes/admin/class-wpsight-admin-color-scheme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function set_color_scheme() {
3636

3737
wp_admin_css_color(
3838
'wpcasa',
39-
__( 'WPCasa' ),
39+
'WPCasa',
4040
WPSIGHT_PLUGIN_URL . '/assets/css/wpsight-admin-color-scheme' . $suffix . '.css',
4141
array( '#222','#333','#0F8E75','#12AE8F' )
4242
);

0 commit comments

Comments
 (0)