Git Product home page Git Product logo

listo's Introduction

listo

A simple WordPress plugin that supplies other plugins with commonly used lists

listo's People

Contributors

hubi-moore avatar jackarrr avatar kraftner avatar takayukister avatar yordansoares avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

listo's Issues

Prepare for 1.4 release

  • Update Stable tag in readme.txt to the current stable version (1.3)
  • Update Tested up to in readme.txt to 5.9
  • Update Requires at least in readme.txt to 5.8
  • Update Version and the LISTO_VERSION constant in listo.php to 1.4
  • Add 1.4 change log to readme.txt
  • Update copyright year in license.txt to 2022
  • Create 1.4 release on Github

Add the Latin American countries

In this issue I will report pull requests related to the submission of the lists of subdivisions from the following Latin American countries:

  • ๐Ÿ‡ฆ๐Ÿ‡ท Argentina (Done: #4)
  • ๐Ÿ‡ง๐Ÿ‡ด Bolivia (Done: #6)
  • ๐Ÿ‡ง๐Ÿ‡ท Brazil (Done: #5)
  • ๐Ÿ‡จ๐Ÿ‡ฑ Chile (Done: #7)
  • ๐Ÿ‡จ๐Ÿ‡ด Colombia (Done: #8)
  • ๐Ÿ‡จ๐Ÿ‡ท Costa Rica (Done: #9)
  • ๐Ÿ‡จ๐Ÿ‡บ Cuba (Done: #10)
  • ๐Ÿ‡ช๐Ÿ‡จ Ecuador (Done: #11)
  • ๐Ÿ‡ธ๐Ÿ‡ป El Salvador (Done: #12)
  • ๐Ÿ‡ฌ๐Ÿ‡น Guatemala (Done: #13)
  • ๐Ÿ‡ญ๐Ÿ‡น Haiti (Done: #14)
  • ๐Ÿ‡ญ๐Ÿ‡ณ Honduras (Done: #15)
  • ๐Ÿ‡ฒ๐Ÿ‡ฝ Mexico (Done: #16)
  • ๐Ÿ‡ณ๐Ÿ‡ฎ Nicaragua (Done: #17)
  • ๐Ÿ‡ต๐Ÿ‡ฆ Panama (Done: #18)
  • ๐Ÿ‡ต๐Ÿ‡พ Paraguay (Done: #19)
  • ๐Ÿ‡ต๐Ÿ‡ช Peru (Done: #20)
  • ๐Ÿ‡ฉ๐Ÿ‡ด Dominican Republic (Done: #21)
  • ๐Ÿ‡บ๐Ÿ‡พ Uruguay (Done: #22)
  • ๐Ÿ‡ป๐Ÿ‡ช Venezuela (Done: #2)

List sort order

Can you add a tag to specify if the list is sorted by the display value or Internal value.

For example, Country sorted by the country name not the 3 character currency code.

[select your-country data:countries sort:display|internal]

Prepare for 1.3 release

  • Update Stable tag in readme.txt to the current stable version (1.2.3)
  • Update Requires at least in readme.txt to 5.5
  • Update Tested up to in readme.txt to 5.7
  • Update Version and the LISTO_VERSION constant in listo.php to 1.3
  • Add yordansoares to Contributors in readme.txt
  • Update readme.txt content in regard to newly introduced lists
  • Add 1.3 change log to readme.txt
  • Update copyright years in license.txt to 2014-2021

Prepare for 1.5 release

  • Update Stable tag in readme.txt to the current stable version (1.4)
  • Update Tested up to in readme.txt to 6.0
  • Update Requires at least in readme.txt to 5.9
  • Update Version and the LISTO_VERSION constant in listo.php to 1.5
  • Add 1.5 change log to readme.txt
  • Create 1.5 release on Github

Add a new filter hook to manipulate the list items easily

This user wanted to sort the items alphabetically when the items are translated: https://wordpress.org/support/topic/countries-list-4/#post-17283807

I shared this code snippet to them:

/**
 * Listo (Contact Form 7):
 * Sort list items alphabetically
 */
function wpcf7_listo_lists_sort( $data, $options, $args ) {
	if ( is_array( $data ) ) {
		asort( $data );	
	}
	return $data;
}
add_filter( 'wpcf7_form_tag_data_option', 'wpcf7_listo_lists_sort', 11, 3 );

...but I think we could do it in this extension directly, to filter the lists easily.

Listo 1.4 makes WooCommerce ignore translations

Was updating a WordPress site to WP 5.9 and WooCommerce 6.2, noticed translations were being ignored by only WooCommerce, that means only the WooCommerce profile, Product detail page, review section lost translations it only shows in english.

Noticed it starts happening when updating listo from 1.3 to 1.4, when deactivating listo, translations start applying again.

Prepare for 1.6 release

  • Update Stable tag in readme.txt to the current stable version (1.5)
  • Update Tested up to in readme.txt to 6.1
  • Update Requires at least in readme.txt to 6.0
  • Update Version and the LISTO_VERSION constant in listo.php to 1.6
  • Add 1.6 change log to readme.txt
  • Create 1.6 release on Github
  • Create 1.6 release on WordPress.org SVN

New List

IS possible add a list with international Telephone number prefix? Thanks

Don't switch/restore locale in list generation logic

If you switch and restore a locale with switch_to_locale() and restore_previous_locale() within the list generation logic, it may affect outer logic in an unexpected way. Locale handling should be left to the outer logic (in many cases it would be Contact Form 7).

Prepare for 1.7 release

  • Update Stable tag in readme.txt to the current stable version (1.6)
  • Add 1.7 change log to readme.txt
  • Update Tested up to in readme.txt to 6.3
  • Update Requires at least in readme.txt to 6.2
  • Update Version and the LISTO_VERSION constant in listo.php to 1.7
  • Create 1.7 release on Github
  • Create 1.7 release on WordPress.org SVN

Prepare for 1.8 release

  • Update Lists and subgroups
  • Update the plugin description in readme.txt
  • Update Version and the LISTO_VERSION constant in listo.php to 1.8
  • Add 1.8 change log to readme.txt
  • Update Tested up to in readme.txt to 6.5
  • Update Requires at least in readme.txt to 6.4
  • Update Stable tag in readme.txt to the current stable version (1.7)
  • Create 1.8 release on Github
  • Create 1.8 release on WordPress.org SVN

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.