Changeset 2117782
- Timestamp:
- 07/05/2019 12:03:10 AM (7 years ago)
- Location:
- a-z-listing
- Files:
-
- 83 added
- 11 edited
-
tags/3.0.0 (added)
-
tags/3.0.0/.distignore (added)
-
tags/3.0.0/.svnignore (added)
-
tags/3.0.0/LICENSE (added)
-
tags/3.0.0/a-z-listing.php (added)
-
tags/3.0.0/changelog.md (added)
-
tags/3.0.0/classes (added)
-
tags/3.0.0/classes/class-a-z-listing-grouping.php (added)
-
tags/3.0.0/classes/class-a-z-listing-indices.php (added)
-
tags/3.0.0/classes/class-a-z-listing-numbers.php (added)
-
tags/3.0.0/classes/class-a-z-listing-singleton.php (added)
-
tags/3.0.0/classes/class-a-z-listing.php (added)
-
tags/3.0.0/composer.json (added)
-
tags/3.0.0/composer.lock (added)
-
tags/3.0.0/css (added)
-
tags/3.0.0/css/a-z-listing-customize.css (added)
-
tags/3.0.0/css/a-z-listing-customize.css.map (added)
-
tags/3.0.0/css/a-z-listing-customize.scss (added)
-
tags/3.0.0/css/a-z-listing-default.css (added)
-
tags/3.0.0/css/a-z-listing-default.css.map (added)
-
tags/3.0.0/css/a-z-listing-default.scss (added)
-
tags/3.0.0/css/mixins.css (added)
-
tags/3.0.0/css/mixins.scss (added)
-
tags/3.0.0/functions (added)
-
tags/3.0.0/functions/enqueues.php (added)
-
tags/3.0.0/functions/health-check.php (added)
-
tags/3.0.0/functions/helpers.php (added)
-
tags/3.0.0/functions/i18n.php (added)
-
tags/3.0.0/functions/scripts.php (added)
-
tags/3.0.0/functions/shortcode.php (added)
-
tags/3.0.0/functions/styles.php (added)
-
tags/3.0.0/languages (added)
-
tags/3.0.0/languages/a-z-listing.pot (added)
-
tags/3.0.0/readme.txt (added)
-
tags/3.0.0/scripts (added)
-
tags/3.0.0/scripts/a-z-listing-scroll-fix.js (added)
-
tags/3.0.0/scripts/a-z-listing-tabs.js (added)
-
tags/3.0.0/scripts/a-z-listing-widget-admin.js (added)
-
tags/3.0.0/src (added)
-
tags/3.0.0/src/Grouping.php (added)
-
tags/3.0.0/src/Indices.php (added)
-
tags/3.0.0/src/Numbers.php (added)
-
tags/3.0.0/src/Query.php (added)
-
tags/3.0.0/src/Shortcode.php (added)
-
tags/3.0.0/src/Singleton.php (added)
-
tags/3.0.0/templates (added)
-
tags/3.0.0/templates/a-z-listing.example.php (added)
-
tags/3.0.0/templates/a-z-listing.php (added)
-
tags/3.0.0/vendor (added)
-
tags/3.0.0/vendor/autoload.php (added)
-
tags/3.0.0/vendor/composer (added)
-
tags/3.0.0/vendor/composer/ClassLoader.php (added)
-
tags/3.0.0/vendor/composer/LICENSE (added)
-
tags/3.0.0/vendor/composer/autoload_classmap.php (added)
-
tags/3.0.0/vendor/composer/autoload_namespaces.php (added)
-
tags/3.0.0/vendor/composer/autoload_psr4.php (added)
-
tags/3.0.0/vendor/composer/autoload_real.php (added)
-
tags/3.0.0/vendor/composer/autoload_static.php (added)
-
tags/3.0.0/vendor/composer/installed.json (added)
-
tags/3.0.0/widgets (added)
-
tags/3.0.0/widgets/class-a-z-listing-widget.php (added)
-
tags/3.0.0/wp-includes (added)
-
tags/3.0.0/wp-includes/version.php (added)
-
trunk/.distignore (modified) (2 diffs)
-
trunk/a-z-listing.php (modified) (3 diffs)
-
trunk/changelog.md (modified) (1 diff)
-
trunk/composer.json (added)
-
trunk/composer.lock (added)
-
trunk/css/a-z-listing-default.css (modified) (3 diffs)
-
trunk/css/a-z-listing-default.css.map (modified) (1 diff)
-
trunk/css/a-z-listing-default.scss (modified) (5 diffs)
-
trunk/functions/health-check.php (modified) (4 diffs)
-
trunk/functions/helpers.php (modified) (22 diffs)
-
trunk/languages/a-z-listing.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src (added)
-
trunk/src/Grouping.php (added)
-
trunk/src/Indices.php (added)
-
trunk/src/Numbers.php (added)
-
trunk/src/Query.php (added)
-
trunk/src/Shortcode.php (added)
-
trunk/src/Singleton.php (added)
-
trunk/vendor (added)
-
trunk/vendor/autoload.php (added)
-
trunk/vendor/composer (added)
-
trunk/vendor/composer/ClassLoader.php (added)
-
trunk/vendor/composer/LICENSE (added)
-
trunk/vendor/composer/autoload_classmap.php (added)
-
trunk/vendor/composer/autoload_namespaces.php (added)
-
trunk/vendor/composer/autoload_psr4.php (added)
-
trunk/vendor/composer/autoload_real.php (added)
-
trunk/vendor/composer/autoload_static.php (added)
-
trunk/vendor/composer/installed.json (added)
-
trunk/widgets/class-a-z-listing-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
a-z-listing/trunk/.distignore
r1939419 r2117782 6 6 .gitignore 7 7 .gitlab-ci.yml 8 .github 8 9 .idea 9 10 .jshintrc … … 35 36 tests 36 37 Thumbs.db 37 vendor38 38 wp-cli.local.yml 39 39 yarn.lock -
a-z-listing/trunk/a-z-listing.php
r2092139 r2117782 8 8 * Text Domain: a-z-listing 9 9 * Domain Path: /languages 10 * Version: 2.3.010 * Version: 3.0.0 11 11 * 12 12 * @package A_Z_Listing … … 21 21 } 22 22 23 require 'vendor/autoload.php'; 24 23 25 /** 24 26 * Initialize the plugin. 25 27 */ 26 28 function a_z_listing_init() { 27 A_Z_Listing_Indices::instance()->activate( __FILE__ )->initialize(); 29 \A_Z_Listing\Shortcode::instance()->activate( __FILE__, [] )->initialize(); 30 \A_Z_Listing\Indices::instance()->activate( __FILE__, [] )->initialize(); 28 31 } 29 32 … … 38 41 require 'functions/scripts.php'; 39 42 require 'functions/enqueues.php'; 40 require 'functions/shortcode.php';41 43 42 require 'interfaces/interface-a-z-listing-extension.php';43 44 require 'classes/class-a-z-listing.php';45 require 'classes/class-a-z-listing-singleton.php';46 require 'classes/class-a-z-listing-grouping.php';47 require 'classes/class-a-z-listing-numbers.php';48 require 'classes/class-a-z-listing-indices.php';49 44 require 'widgets/class-a-z-listing-widget.php'; 50 45 -
a-z-listing/trunk/changelog.md
r2092139 r2117782 1 1 # Full Changelog # 2 3 ## 3.0.0 ## 4 5 This is a major version change, which means that it might break your site when you upgrade. Please check in a test site first! 6 7 * Add `get_the_item_id` and `the_item_id` template tags. 8 * Add `get_the_item_type` template tag. 9 * Add support for extensions. 10 * Complete refactor to use more modern PHP features. 11 * Minor refactoring of `get_the_item_object`, `get_item_meta`, and `get_the_item_count` template tags. 12 * Miscellaneous documentation Fixes. 2 13 3 14 ## 2.3.0 ## -
a-z-listing/trunk/css/a-z-listing-default.css
r2003543 r2117782 1 .az-letters ul.az-links, 2 .a-z-listing-widget .az-letters ul.az-links, 3 .a-z-listing-widget.widget .az-letters ul.az-links { 4 padding: 0; 5 margin: 0; 6 width: 100%; 7 display: flex; 8 flex-direction: row; 9 flex-wrap: wrap; 10 justify-content: center; } 11 .az-letters ul.az-links li, 12 .a-z-listing-widget .az-letters ul.az-links li, 13 .a-z-listing-widget.widget .az-letters ul.az-links li { 14 list-style: none; 15 width: 2em; 16 height: 2em; 17 box-sizing: border-box; 18 margin: 0 0 0.6em; 19 border: 2px solid #e5e5e5; 20 background: #f5f5f5; 21 color: #adadad; 1 .az-letters, 2 .a-z-listing-widget .az-letters, 3 .a-z-listing-widget.widget .az-letters { 4 white-space: unset; } 5 .az-letters > ul.az-links, 6 .a-z-listing-widget .az-letters > ul.az-links, 7 .a-z-listing-widget.widget .az-letters > ul.az-links { 8 padding: 0; 9 margin: 0; 10 width: 100%; 22 11 display: flex; 23 align-items: center; 12 flex-direction: row; 13 flex-wrap: wrap; 24 14 justify-content: center; } 25 .az-letters ul.az-links li a, 26 .a-z-listing-widget .az-letters ul.az-links li a, 27 .a-z-listing-widget.widget .az-letters ul.az-links li a { 28 color: #1f7d9a; 29 text-decoration: none; 30 border: 0; 31 box-shadow: none; } 15 .az-letters > ul.az-links > li, 16 .a-z-listing-widget .az-letters > ul.az-links > li, 17 .a-z-listing-widget.widget .az-letters > ul.az-links > li { 18 list-style: none; 19 width: 2em; 20 height: 2em; 21 box-sizing: border-box; 22 margin: 0 0 0.6em; 23 border: 2px solid #e5e5e5; 24 background: #f5f5f5; 25 color: #adadad; 26 display: flex; 27 align-items: center; 28 justify-content: center; } 29 .az-letters > ul.az-links > li a, 30 .a-z-listing-widget .az-letters > ul.az-links > li a, 31 .a-z-listing-widget.widget .az-letters > ul.az-links > li a { 32 color: #1f7d9a; 33 text-decoration: none; 34 border: 0; 35 box-shadow: none; } 32 36 33 37 .letter-section { 34 margin-bottom: 2em; } 38 margin-bottom: 2em; 39 white-space: unset; } 35 40 .letter-section h2.letter-title { 36 41 border-bottom: 1px solid black; … … 38 43 padding-bottom: 0.2em; 39 44 width: 100%; } 40 .letter-section ul, .letter-section ul li { 45 .letter-section ul, 46 .letter-section ul > li { 41 47 list-style: none; 42 48 margin: 0; … … 48 54 column-width: 15em; 49 55 line-height: 1.6em; } 50 .letter-section ul.columns li {56 .letter-section ul.columns > li { 51 57 display: block; } 52 58 .letter-section ul.columns.max-0-columns, .letter-section ul.columns.max-1-columns { -
a-z-listing/trunk/css/a-z-listing-default.css.map
r2003543 r2117782 7 7 ], 8 8 "names": [], 9 "mappings": "AAEA,AA GC,WAHU,CAGV,EAAE,AAAA,SAAS;AAFZ,mBAAmB,CAAC,WAAW,CAE9B,EAAE,AAAA,SAAS;AADZ,mBAAmB,AAAA,OAAO,CAAC,WAAW,CACrC,EAAE,AAAA,SAAS,CAAC;EACX,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,IAAI;EACb,cAAc,EAAE,GAAG;EACnB,SAAS,EAAE,IAAI;EACf,eAAe,EAAE,MAAM,GAoBvB;EA9BF,AAWE,WAXS,CAGV,EAAE,AAAA,SAAS,CAQV,EAAE;EAVJ,mBAAmB,CAAC,WAAW,CAE9B,EAAE,AAAA,SAAS,CAQV,EAAE;EATJ,mBAAmB,AAAA,OAAO,CAAC,WAAW,CACrC,EAAE,AAAA,SAAS,CAQV,EAAE,CAAC;IACF,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,UA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,CAAC,CAAC;MACD,cAAc,EAAE,SAAS;MACzB,SAAS,EAAE,KAAK,GAOhB;MAhDH,AA0CG,eA1CY,CAoCd,GAAG,AAAA,YAAY,CAGd,CAAC,AAGC,OAAO,EA1CX,eAAe,CAoCd,GAAG,AAAA,YAAY,CAGd,CAAC,AAIC,MAAM,CAAC;QACP,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,KAAK,GACd" 10 10 } -
a-z-listing/trunk/css/a-z-listing-default.scss
r2003543 r2117782 4 4 .a-z-listing-widget .az-letters, 5 5 .a-z-listing-widget.widget .az-letters { 6 ul.az-links { 6 white-space: unset; 7 > ul.az-links { 7 8 padding: 0; 8 9 margin: 0; … … 12 13 flex-wrap: wrap; 13 14 justify-content: center; 14 li {15 > li { 15 16 list-style: none; 16 17 width: 2em; … … 36 37 .letter-section { 37 38 margin-bottom: 2em; 39 white-space: unset; 38 40 h2.letter-title { 39 41 border-bottom: 1px solid black; … … 42 44 width: 100%; 43 45 } 44 ul, ul li { 46 ul, 47 ul > li { 45 48 list-style: none; 46 49 margin: 0; … … 53 56 column-width: 15em; 54 57 line-height: 1.6em; 55 li {58 > li { 56 59 display: block; 57 60 } -
a-z-listing/trunk/functions/health-check.php
r2092139 r2117782 4 4 * 5 5 * @package a-z-listing 6 * @since 2.3.0 6 7 */ 7 8 8 9 /** 9 10 * Add A-Z Listing Health Checks 11 * 12 * @since 2.3.0 10 13 * 11 14 * @param array $tests The health checks. … … 24 27 * The mbstring health check 25 28 * 29 * @since 2.3.0 30 * 26 31 * @return array The health check results. 27 32 */ … … 31 36 'status' => 'good', 32 37 'badge' => array( 33 'label' => __( ' mbstring', 'a-z-listing' ),38 'label' => __( 'Compatibility', 'a-z-listing' ), 34 39 'color' => 'green', 35 40 ), … … 59 64 * Add mbstring to the recommended modules section of the health-check feature 60 65 * 66 * @since 2.3.0 67 * 61 68 * @param array $modules An associated array of module properties used during testing. 62 69 * @return array The `$modules` array with `mbstring` added. -
a-z-listing/trunk/functions/helpers.php
r2092139 r2117782 14 14 * 15 15 * @since 0.7 16 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.17 * @return bool whether there are letters still to be iterated-over16 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 17 * @return bool whether there are letters still to be iterated-over 18 18 */ 19 19 function have_a_z_letters( $query = null ) { … … 37 37 * 38 38 * @since 0.8.0 39 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.40 * @return bool whether there are still posts available39 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 40 * @return bool whether there are still posts available 41 41 */ 42 42 function have_a_z_items( $query = null ) { … … 48 48 * 49 49 * @since 0.7 50 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.50 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 51 51 */ 52 52 function the_a_z_letter( $query = null ) { … … 70 70 * 71 71 * @since 0.8.0 72 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.72 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 73 73 */ 74 74 function the_a_z_item( $query = null ) { … … 116 116 * 117 117 * @since 1.0.0 118 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.118 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 119 119 */ 120 120 function the_a_z_letter_count( $query = null ) { … … 126 126 * 127 127 * @since 1.0.0 128 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.128 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 129 129 * @return int the number of letters 130 130 */ … … 137 137 * 138 138 * @since 0.7 139 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.139 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 140 140 */ 141 141 function the_a_z_letter_id( $query = null ) { … … 147 147 * 148 148 * @since 0.7 149 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.150 * @return String the current letter ID149 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 150 * @return String the current letter ID 151 151 */ 152 152 function get_the_a_z_letter_id( $query = null ) { … … 158 158 * 159 159 * @since 0.7 160 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.160 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 161 161 */ 162 162 function the_a_z_letter_title( $query = null ) { … … 168 168 * 169 169 * @since 0.7 170 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.171 * @return string the letter title170 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 171 * @return string the letter title 172 172 */ 173 173 function get_the_a_z_letter_title( $query = null ) { … … 179 179 * 180 180 * @since 0.8.0 181 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.181 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 182 182 */ 183 183 function the_a_z_item_title( $query = null ) { … … 189 189 * 190 190 * @since 0.8.0 191 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.192 * @return string the post or taxonomy-term title191 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 192 * @return string the post or taxonomy-term title 193 193 */ 194 194 function get_the_a_z_item_title( $query = null ) { … … 200 200 * 201 201 * @since 0.8.0 202 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.202 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 203 203 */ 204 204 function the_a_z_item_permalink( $query = null ) { … … 210 210 * 211 211 * @since 0.8.0 212 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.213 * @return string the permalink212 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 213 * @return string the permalink 214 214 */ 215 215 function get_the_a_z_item_permalink( $query = null ) { … … 223 223 * @see the_a_z_listing() 224 224 * @deprecated use the_a_z_listing() 225 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.225 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 226 226 */ 227 227 function the_az_listing( $query = null ) { … … 234 234 * 235 235 * @since 0.8.0 236 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.237 * @param bool $use_cache use the plugin's in-built query cache.236 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 237 * @param bool $use_cache use the plugin's in-built query cache. 238 238 */ 239 239 function the_a_z_listing( $query = null, $use_cache = true ) { … … 248 248 * @deprecated use get_the_a_z_listing() 249 249 * 250 * @param array|string|WP_Query|A_Z_Listing $query either a valid WordPress query or an A_Z_Listing instance. 251 * 250 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 252 251 * @return string 253 252 */ … … 261 260 * 262 261 * @since 0.8.0 263 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.264 * @param bool $use_cache use the plugin's in-built query cache.265 * @return string The listing html content ready for echoing to the page.262 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 263 * @param bool $use_cache use the plugin's in-built query cache. 264 * @return string The listing html content ready for echoing to the page. 266 265 */ 267 266 function get_the_a_z_listing( $query = null, $use_cache = true ) { … … 275 274 * @see the_a_z_letters() 276 275 * @deprecated use the_a_z_letters() 277 * @param array|string|WP_Query| A_Z_Listing $query either a valid WordPress query or an A_Z_Listinginstance.278 * @param bool|string $target URL of the page to send the browser when a letter is clicked.279 * @param bool $styling unused.276 * @param array|string|WP_Query|\A_Z_Listing\Query $query either a valid WordPress query or an A_Z_Listing\Query instance. 277 * @param bool|string $target URL of the page to send the browser when a letter is clicked. 278 * @param bool $styling unused. 280 279 */ 281 280 function the_az_letters( $query = null, $target = false, $styling = false ) { … … 288 287 * 289 288 * @since 0.8.0 290 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.291 * @param bool|string $target URL of the page to send the browser when a letter is clicked.292 * @param bool $styling unused.293 * @param bool $use_cache use the plugin's in-built query cache.289 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 290 * @param bool|string $target URL of the page to send the browser when a letter is clicked. 291 * @param bool $styling unused. 292 * @param bool $use_cache use the plugin's in-built query cache. 294 293 */ 295 294 function the_a_z_letters( $query = null, $target = false, $styling = false, $use_cache = true ) { 296 echo get_the_a_z_letters( $query, $target, $styling, $use_cache ); // WPCS: XSS OK.295 echo get_the_a_z_letters( $query, $target, $styling, $use_cache ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 297 296 } 298 297 … … 303 302 * @see get_the_a_z_letters() 304 303 * @deprecated use get_the_a_z_letters() 305 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.306 * @param bool|string $target URL of the page to send the browser when a letter is clicked.307 * @param bool $styling unused.304 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 305 * @param bool|string $target URL of the page to send the browser when a letter is clicked. 306 * @param bool $styling unused. 308 307 * @return string HTML ready for echoing containing the list of A-Z letters with anchor links to the A-Z Index page. 309 308 */ … … 317 316 * 318 317 * @since 0.8.0 319 * @param array|string|WP_Query| A_Z_Listing $query a valid WordPress query or an A_Z_Listinginstance.320 * @param bool|string $target URL of the page to send the browser when a letter is clicked.321 * @param bool $styling unused.322 * @param bool $use_cache use the plugin's in-built query cache.318 * @param array|string|WP_Query|\A_Z_Listing\Query $query a valid WordPress query or an A_Z_Listing\Query instance. 319 * @param bool|string $target URL of the page to send the browser when a letter is clicked. 320 * @param bool $styling unused. 321 * @param bool $use_cache use the plugin's in-built query cache. 323 322 * @return string HTML ready for echoing containing the list of A-Z letters with anchor links to the A-Z Index page. 324 323 */ 325 324 function get_the_a_z_letters( $query = null, $target = false, $styling = false, $use_cache = true ) { 326 325 return a_z_listing_cache( $query, '', $use_cache )->get_the_letters( $target, $styling ); 326 } 327 328 /** 329 * Get a saved copy of the A_Z_Listing instance if we have one, or make a new one and save it for later 330 * 331 * @param array|string|WP_Query|\A_Z_Listing $query A valid WordPress query or an A_Z_Listing instance. 332 * @param string $type The type of items displayed in the listing: 'terms' or 'posts'. 333 * @param bool $use_cache Try to use a caching plugin. See https://a-z-listing.com/ for the caching plugin we created to work with this feature. 334 * @return \A_Z_Listing\Query A new or previously-saved instance of A_Z_Listing using the provided construct_query 335 */ 336 function a_z_listing_cache( $query = null, $type = '', $use_cache = true ) { 337 return new \A_Z_Listing\Query( $query, $type, $use_cache ); 327 338 } 328 339 -
a-z-listing/trunk/languages/a-z-listing.pot
r2092139 r2117782 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: A-Z Listing 2.3.0\n"5 "Project-Id-Version: A-Z Listing 3.0.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/a-z-listing\n" 7 "POT-Creation-Date: 2019-0 5-20 22:04:04+00:00\n"7 "POT-Creation-Date: 2019-07-04 23:12:18+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 25 25 "X-Generator: grunt-wp-i18n 1.0.3\n" 26 26 27 #: classes/class-a-z-listing.php:338 27 #: functions/health-check.php:19 28 msgid "A to Z Listing plugin" 29 msgstr "" 30 31 #: functions/health-check.php:35 32 msgid "A-Z Listing: PHP mbstring module is enabled" 33 msgstr "" 34 35 #: functions/health-check.php:38 36 msgid "Compatibility" 37 msgstr "" 38 39 #: functions/health-check.php:43 40 msgid "" 41 "The mbstring PHP module improves support for non-latin languages in the A-Z " 42 "Listing plugin." 43 msgstr "" 44 45 #: functions/health-check.php:51 46 msgid "A-Z Listing: PHP mbstring module is not enabled" 47 msgstr "" 48 49 #: functions/health-check.php:55 50 msgid "" 51 "The mbstring PHP module is not enabled on your server. This module improves " 52 "support for non-latin languages in the A-Z Listing plugin." 53 msgstr "" 54 55 #: functions/health-check.php:57 56 msgid "" 57 "Contact your web host to request that the mbstring PHP module is enabled " 58 "for your site." 59 msgstr "" 60 61 #: src/Query.php:355 28 62 #. translators: List the aphabet of your language in the order that your 29 63 #. language prefers. list as groups of identical meanings but different … … 43 77 msgstr "" 44 78 45 #: classes/class-a-z-listing.php:34079 #: src/Query.php:357 46 80 #. translators: This should be a single character to denote "all entries that 47 81 #. didn't fit under one of the alphabet character groups defined". This is used … … 52 86 msgstr "" 53 87 54 #: functions/health-check.php:1755 msgid "A to Z Listing plugin"56 msgstr ""57 58 #: functions/health-check.php:3259 msgid "PHP mbstring module is enabled"60 msgstr ""61 62 #: functions/health-check.php:3563 msgid "mbstring"64 msgstr ""65 66 #: functions/health-check.php:4067 msgid "The mbstring PHP module improves support for non-latin languages."68 msgstr ""69 70 #: functions/health-check.php:4871 msgid "PHP mbstring module is not enabled"72 msgstr ""73 74 #: functions/health-check.php:5275 msgid ""76 "The mbstring PHP module is not enabled on your server. This module improves "77 "support for non-latin languages."78 msgstr ""79 80 #: functions/health-check.php:5481 msgid ""82 "Contact your web host to request that the mbstring PHP module is enabled "83 "for your site."84 msgstr ""85 86 88 #: templates/a-z-listing.example.php:45 templates/a-z-listing.php:65 87 89 msgid "Back to top" -
a-z-listing/trunk/readme.txt
r2092139 r2117782 7 7 Requires PHP: 5.6 8 8 Tested up to: 5.2 9 Stable tag: 2.3.09 Stable tag: 3.0.0 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 458 458 == Changelog == 459 459 460 = 3.0.0 = 461 462 This is a major version change, which means that it might break your site when you upgrade. Please check in a test site first! 463 464 **NEW EXTENSIONS** 465 466 Check out the two new extensions at [A-Z-Listing.com](https://a-z-listing.com/shop). These extensions provide convinience functionality. Purchasing one or both will help towards the cost of maintaining the A-Z Listing plugin. 467 468 * Add `get_the_item_id` and `the_item_id` template tags. 469 * Add `get_the_item_type` template tag. 470 * Add support for extensions. 471 * Complete refactor to use more modern PHP features. 472 * Minor refactoring of `get_the_item_object`, `get_item_meta`, and `get_the_item_count` template tags. 473 * Miscellaneous documentation Fixes. 474 460 475 = 2.3.0 = 461 476 -
a-z-listing/trunk/widgets/class-a-z-listing-widget.php
r2092139 r2117782 357 357 */ 358 358 function the_section_a_z_widget( $args, $instance ) { 359 echo get_the_section_a_z_widget( $args, $instance ); // WPCS: XSS OK.359 echo get_the_section_a_z_widget( $args, $instance ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 360 360 } 361 361
Note: See TracChangeset
for help on using the changeset viewer.