Skip to content

Releases: wp-papi/papi

v3.0.2

08 Mar 13:54
Compare
Choose a tag to compare
  • Fixed: PHP Notice/Object issue for relationship when using custom relationship data.
  • Fixed: Double fields issue for any field when using papi_get_field in hooks that fires earlier then admin_init #153.

v2.4.12

08 Mar 13:52
Compare
Choose a tag to compare

Fixed: PHP Notice/Object issue for relationship when using custom relationship data.

v3.0.1

15 Feb 09:35
Compare
Choose a tag to compare
  • Fixed: Render issue with tabs that existed in template files #148.
  • Fixed: Edit link property did appear in the default editor.
  • Fixed: Required did not output the red wildcard #149.

v2.4.11

06 Feb 17:12
Compare
Choose a tag to compare

Fixed: Edit link property did appear in the default editor.

v3.0.0

02 Feb 06:56
Compare
Choose a tag to compare

Papi 3.0.0 is a big release since a big piece of the core code has been refactored to improve how page type works. With 3.0.0 release we introduce Entry Type which is a base class that both page type and option type use. Both box and tab logic has been rewritten with new core classes and the admin classes has been divided into several smaller classes. Some internal functions has been removed or rewritten with backward compatibility.

We moved some logic from page type class to entry type class to be able the separate page type and option type class. This will make it easier to add new types to core or create plugin that has custom types.

Added

  • Added: Extended support for meta, box and remove methods #114.
  • Added: WP CLI Support #111.
  • Added: Group property #112.
  • Added: papi/before_init action that is fired before Papi loads textdomain, classes, functions and setups the container.
  • Added: papi/init action that is fired after Papi loads textdomain, classes, functions and setups the container.
  • Added: papi/loaded action that will be the new papi/include. The old action is deprecated but will still work, it's fired before papi/loaded and will be removed in a feature version of Papi.
  • Added: placeholder setting to string property.
  • Added: Description to option type meta data.
  • Added: papi/settings/column_hide_{$post_type} for hiding type column.
  • Added: papi/template_include to provide support for third party templating engines.
  • Added: Layout mode to post property. It can devide into multiple select or a single select with labels (as before).
  • Added: Layout mode to term property. It can devide into multiple select or a single select with labels (as before).
  • Added: Second bool param to papi_get_slugs that will return only slugs if true.
  • Added: A way to handle classes with the same name in multiple directories #107
  • Added: When WordPress refresh nonces, Papi nonces should be refreshed too.

Changed

  • Flexible property will only save one layout per row. The layout key is changed from _layout to _flexible_layout since _layout can be a real slug. It has backward compatibility for the old layout key. This may cause problem with existing slugs that are named layout. To fix default value issue you need to manually add the layout value for the effected row. The slug will be something like this: sections_0_flexible_layout, where sections is your flexible slug, 0 is the row and _flexible_layout is the new layout key. The value should be a slug of the layout title, the same value as the old _layout rows that exists on each property.

Fixed

  • Fixed: Save post issue when using property template file and overwrited the slug #129.
  • Fixed: Select2 clear issue #132.
  • Fixed: Property type values like test-form-1 should match Papi_Property_Test_Form_1
  • Fixed: When using overwrite it should read data from the post instead of post meta #145
  • Fixed: Same prefix on folders should not replace all, only the current one.

Removed

  • Removed: remove method is removed.
  • Removed: No more array properties, all properties must use papi_property or $this->property to work. This because the converting of array properties is bad and some keys can't be used for other things.
  • Removed deprecated function current_page, was deprecated in 2.0.0.
  • Removed deprecated function papi_field, was deprecated in 2.0.0.
  • Removed deprecated function papi_fields, was deprecated in 2.0.0.
  • Removed deprecated function papi_get_page_type_meta_value, was deprecated in 2.0.0.
  • Removed deprecated meta methods, page_type and option_type, meta method should be used instead.

Upgraded

  • Upgraded: Moment.js from 2.10.6 to 2.11.0

Thanks

Thanks to all contributors and all who have tested Papi during the development.

v3.0.0-beta1

15 Jan 13:54
Compare
Choose a tag to compare

First beta release of Papi 3!

Since this is a beta release we won't write the full changelog here, you can read it here.

v2.4.10

08 Dec 12:54
Compare
Choose a tag to compare

Fixed: jQuery sortable text input issue with TinyMCE, see issue #121, thanks @entr!
Fixed: Meta box css border issue in WordPress 4.4.
Fixed: Papi redirected to add new page when no page types was register on page post type.
Fixed: Offset check before using the offset value in html_id method in core property class.

v2.4.9

30 Nov 14:31
Compare
Choose a tag to compare

Fixed: Apostrophe fix did cause a save error when using flexible and repeater.
Fixed: When using only_page_type filter Papi didn't handle this in the page type id function.

v2.4.8

30 Nov 12:39
Compare
Choose a tag to compare

Fixed: String issue with $page variable in papi_get_post_type
Fixed: Apostrophe issue with added slash, see issue #126.

v2.4.7

12 Nov 10:15
Compare
Choose a tag to compare

Fixed: Template did return empty string when no template was found.
Fixed: Select2 overflow, see issue #105.