Changeset 2518948
- Timestamp:
- 04/21/2021 09:42:14 AM (5 years ago)
- Location:
- snip-structured-data
- Files:
-
- 2 deleted
- 4 edited
- 37 copied
-
tags/2.24.0 (copied) (copied from snip-structured-data/trunk)
-
tags/2.24.0/classes/controller/admin-scripts.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin-scripts.php)
-
tags/2.24.0/classes/controller/admin-settings.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin-settings.php)
-
tags/2.24.0/classes/controller/admin-setup-wizard.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin-setup-wizard.php)
-
tags/2.24.0/classes/controller/admin-snippets.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin-snippets.php)
-
tags/2.24.0/classes/controller/admin-uninstall.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin-uninstall.php)
-
tags/2.24.0/classes/controller/admin.php (copied) (copied from snip-structured-data/trunk/classes/controller/admin.php)
-
tags/2.24.0/classes/controller/frontend.php (copied) (copied from snip-structured-data/trunk/classes/controller/frontend.php)
-
tags/2.24.0/classes/controller/rest.php (copied) (copied from snip-structured-data/trunk/classes/controller/rest.php)
-
tags/2.24.0/classes/model/fields.php (copied) (copied from snip-structured-data/trunk/classes/model/fields.php) (3 diffs)
-
tags/2.24.0/classes/model/helper.php (copied) (copied from snip-structured-data/trunk/classes/model/helper.php)
-
tags/2.24.0/classes/model/posttypes.php (copied) (copied from snip-structured-data/trunk/classes/model/posttypes.php)
-
tags/2.24.0/classes/model/schemas.php (copied) (copied from snip-structured-data/trunk/classes/model/schemas.php)
-
tags/2.24.0/classes/model/snippets.php (copied) (copied from snip-structured-data/trunk/classes/model/snippets.php) (1 diff)
-
tags/2.24.0/classes/objects/settings-setting.php (copied) (copied from snip-structured-data/trunk/classes/objects/settings-setting.php)
-
tags/2.24.0/classes/rich-snippets-plugin.php (copied) (copied from snip-structured-data/trunk/classes/rich-snippets-plugin.php)
-
tags/2.24.0/classes/view/admin/intro.php (copied) (copied from snip-structured-data/trunk/classes/view/admin/intro.php)
-
tags/2.24.0/classes/view/admin/posts/metabox/options.php (copied) (copied from snip-structured-data/trunk/classes/view/admin/posts/metabox/options.php)
-
tags/2.24.0/classes/view/admin/setupwizard.php (copied) (copied from snip-structured-data/trunk/classes/view/admin/setupwizard.php)
-
tags/2.24.0/classes/view/admin/snippets/metabox/news.php (copied) (copied from snip-structured-data/trunk/classes/view/admin/snippets/metabox/news.php)
-
tags/2.24.0/img/examples (copied) (copied from snip-structured-data/trunk/img/examples)
-
tags/2.24.0/img/people.svg (copied) (copied from snip-structured-data/trunk/img/people.svg)
-
tags/2.24.0/js/admin-posts.js (copied) (copied from snip-structured-data/trunk/js/admin-posts.js)
-
tags/2.24.0/js/admin-snippets-free.js (copied) (copied from snip-structured-data/trunk/js/admin-snippets-free.js)
-
tags/2.24.0/js/build (copied) (copied from snip-structured-data/trunk/js/build)
-
tags/2.24.0/js/build/admin-setupwizard.js (copied) (copied from snip-structured-data/trunk/js/build/admin-setupwizard.js)
-
tags/2.24.0/js/build/admin-setupwizard.js.map (copied) (copied from snip-structured-data/trunk/js/build/admin-setupwizard.js.map)
-
tags/2.24.0/js/build/admin-snippets.js (deleted)
-
tags/2.24.0/js/build/admin-snippets.js.map (deleted)
-
tags/2.24.0/js/build/schema-property.js (copied) (copied from snip-structured-data/trunk/js/build/schema-property.js)
-
tags/2.24.0/js/build/schema-property.js.map (copied) (copied from snip-structured-data/trunk/js/build/schema-property.js.map)
-
tags/2.24.0/languages/rich-snippets-schema-de_DE.mo (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-de_DE.mo)
-
tags/2.24.0/languages/rich-snippets-schema-de_DE.po (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-de_DE.po)
-
tags/2.24.0/languages/rich-snippets-schema-en_US.mo (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-en_US.mo)
-
tags/2.24.0/languages/rich-snippets-schema-en_US.po (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-en_US.po)
-
tags/2.24.0/languages/rich-snippets-schema-fa_IR.mo (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-fa_IR.mo)
-
tags/2.24.0/languages/rich-snippets-schema-fa_IR.po (copied) (copied from snip-structured-data/trunk/languages/rich-snippets-schema-fa_IR.po)
-
tags/2.24.0/readme.txt (copied) (copied from snip-structured-data/trunk/readme.txt) (1 diff)
-
tags/2.24.0/rich-snippets-wordpress-plugin.php (copied) (copied from snip-structured-data/trunk/rich-snippets-wordpress-plugin.php) (1 diff)
-
trunk/classes/model/fields.php (modified) (3 diffs)
-
trunk/classes/model/snippets.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/rich-snippets-wordpress-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
snip-structured-data/tags/2.24.0/classes/model/fields.php
r2494037 r2518948 365 365 * @returns {array} An array of options. 366 366 */ 367 returnapply_filters(367 $options = apply_filters( 368 368 'wpbuddy/rich_snippets/fields/internal_subselect/options', 369 369 $options, … … 372 372 $selected 373 373 ); 374 375 uasort( $options, function ( $a, $b ) { 376 return strnatcmp( trim( strip_tags( $a ) ), strip_tags( trim( $b ) ) ); 377 } ); 378 379 return $options; 374 380 } 375 381 … … 870 876 ]; 871 877 878 $textfield_meta = [ 879 'id' => 'noop_textfield_acf', 880 'label' => esc_html_x( 'ACF field (Pro version only)', 'subselect field', 'rich-snippets-schema' ), 881 'description' => __( 'Enter the name of the ACF field.', 'rich-snippets-schema' ), 882 'active' => false, 883 ]; 884 872 885 $textfield_termmeta = [ 873 886 'id' => 'noop_textfield_termmeta', -
snip-structured-data/tags/2.24.0/classes/model/snippets.php
r2494037 r2518948 429 429 $a_html 430 430 ); 431 432 # Re-transform to "->" 433 # @see https://rich-snippets.io/how-to-work-with-custom-fields/#using-data-from-objects 434 $p_value = str_replace( '->', '->', $p_value ); 431 435 } elseif ( false !== stripos( $p_subfield, 'misc_rating_5_star' ) ) { 432 436 $p_value = absint( $property_values['rating5'] ); -
snip-structured-data/tags/2.24.0/readme.txt
r2494037 r2518948 1 1 === snip - Structured Data & Schema === 2 Stable tag: 2.2 3.12 Stable tag: 2.24.0 3 3 Contributors: floriansimeth 4 4 Donate link: https://rich-snippets.io -
snip-structured-data/tags/2.24.0/rich-snippets-wordpress-plugin.php
r2494037 r2518948 4 4 Plugin URI: https://rich-snippets.io?pk_campaign=snip-plugin-uri 5 5 Description: Allows to create Rich Snippets and general structured data readable by search engines. 6 Version: 2.2 3.16 Version: 2.24.0 7 7 Author: floriansimeth 8 8 Author URI: https://florian-simeth.de?pk_campaign=snip-author-uri -
snip-structured-data/trunk/classes/model/fields.php
r2494037 r2518948 365 365 * @returns {array} An array of options. 366 366 */ 367 returnapply_filters(367 $options = apply_filters( 368 368 'wpbuddy/rich_snippets/fields/internal_subselect/options', 369 369 $options, … … 372 372 $selected 373 373 ); 374 375 uasort( $options, function ( $a, $b ) { 376 return strnatcmp( trim( strip_tags( $a ) ), strip_tags( trim( $b ) ) ); 377 } ); 378 379 return $options; 374 380 } 375 381 … … 870 876 ]; 871 877 878 $textfield_meta = [ 879 'id' => 'noop_textfield_acf', 880 'label' => esc_html_x( 'ACF field (Pro version only)', 'subselect field', 'rich-snippets-schema' ), 881 'description' => __( 'Enter the name of the ACF field.', 'rich-snippets-schema' ), 882 'active' => false, 883 ]; 884 872 885 $textfield_termmeta = [ 873 886 'id' => 'noop_textfield_termmeta', -
snip-structured-data/trunk/classes/model/snippets.php
r2494037 r2518948 429 429 $a_html 430 430 ); 431 432 # Re-transform to "->" 433 # @see https://rich-snippets.io/how-to-work-with-custom-fields/#using-data-from-objects 434 $p_value = str_replace( '->', '->', $p_value ); 431 435 } elseif ( false !== stripos( $p_subfield, 'misc_rating_5_star' ) ) { 432 436 $p_value = absint( $property_values['rating5'] ); -
snip-structured-data/trunk/readme.txt
r2494037 r2518948 1 1 === snip - Structured Data & Schema === 2 Stable tag: 2.2 3.12 Stable tag: 2.24.0 3 3 Contributors: floriansimeth 4 4 Donate link: https://rich-snippets.io -
snip-structured-data/trunk/rich-snippets-wordpress-plugin.php
r2494037 r2518948 4 4 Plugin URI: https://rich-snippets.io?pk_campaign=snip-plugin-uri 5 5 Description: Allows to create Rich Snippets and general structured data readable by search engines. 6 Version: 2.2 3.16 Version: 2.24.0 7 7 Author: floriansimeth 8 8 Author URI: https://florian-simeth.de?pk_campaign=snip-author-uri
Note: See TracChangeset
for help on using the changeset viewer.