Plugin Directory

Changeset 2897279

Timestamp:
04/11/2023 02:41:53 PM (16 months ago)
Author:
nwjames
Message:

Version 3.1.0

Location:
simple-taxonomy-refreshed
Files:
30 added
10 edited

Legend:

Unmodified
Added
Removed
  • simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-admin.php

    r2820062 r2897279  
    8282            // Add admin js/css.
    8383            self::enqueue_admin_libs();
     84
    8485        }
    8586        // Quick-edit option may be used.
    86         if ( 1 === 1 ) {
    87             return;
    88         }
    8987        if ( 'edit' === $screen->base ) {
    9088            // search in taxonomies as may have been changed from parameters.
     
    319317                __( 'This functionality provides this control. Using this tab, upper and lower bounds may be set for either Published posts or all posts.', 'simple-taxonomy-refreshed' ) . '</p><p>' .
    320318                __( 'The tests will be applied at save post time (soft);  or also when the terms are added or removed (hard).', 'simple-taxonomy-refreshed' ) . '</p><p>' .
    321                 __( 'Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates.', 'simple-taxonomy-refreshed' ) . '</p>',
     319                __( 'Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates.', 'simple-taxonomy-refreshed' ) . '</p><p>' .
     320                __( 'By default term controls will be applied to all corresponding post types, but just a sub-set of post types can be chosen to be controlled.', 'simple-taxonomy-refreshed' ) . '</p>',
    322321        );
    323322
     
    646645                    'st_cb_tsh'          => 0,
    647646                    'st_cc_type'         => 0,
     647
    648648                    'st_cc_hard'         => 0,
    649649                    'st_cc_umin'         => 0,
     
    962962            if ( ! array_key_exists( 'st_sep', $taxonomy ) ) {
    963963                $taxonomy['st_sep'] = '';
     964
     965
     966
     967
     968
    964969            }
    965970
     
    16651670                                    <?php } ?>
    16661671                                    <tr>
    1667                                         <th scope="row"><label><?php esc_html_e( 'Post types', 'simple-taxonomy-refreshed' ); ?></label></th>
    1668                                         <td><div role="group" aria-labelledby="post_types" aria-describedby="post_types_adm">
     1672                                        <th scope="row"><label><?php esc_html_e( 'Post types', 'simple-taxonomy-refreshed' ); ?></label></th>
     1673                                        <td><div role="group" aria-labelledby="p" aria-describedby="post_types_adm">
    16691674                                            <?php
    16701675                                            if ( true === $edit ) {
     
    18091814                                <span id="control_tab_1" <?php echo ( empty( $taxonomy['st_cc_type'] ) ? 'class="is-hidden"' : '' ); ?>>
    18101815                                <table class="form-table" style="clear:none;">
     1816
     1817
     1818
     1819
     1820
     1821
     1822
     1823
     1824
     1825
     1826
     1827
     1828
     1829
     1830
     1831
     1832
     1833
     1834
     1835
     1836
     1837
     1838
     1839
     1840
     1841
     1842
     1843
     1844
     1845
    18111846                                    <tr>
    18121847                                        <th scope="row"><label id="cch_label"><?php esc_html_e( 'How Control is applied', 'simple-taxonomy-refreshed' ); ?></label></th>
     
    21532188
    21542189            if ( array_key_exists( 'st_cc_type', $taxo_data ) && ! empty( $taxo_data['st_cc_type'] ) ) {
    2155                 $display  = "\n" . '/**' . esc_html__( 'Terms control parameters set.', 'simple-taxonomy-refreshed' ) . "\n";
    2156                 $display .= esc_html__( 'Applies to posts with status:', 'simple-taxonomy-refreshed' );
     2190                $display = "\n" . '/**' . esc_html__( 'Terms control parameters set.', 'simple-taxonomy-refreshed' ) . "\n";
     2191                // output all post types parameters.
     2192                if ( ! array_key_exists( 'st_cc_types', $taxo_data ) || empty( $taxo_data['st_cc_types'] ) ) {
     2193                    $display .= esc_html__( 'Applies to all valid post type(s)', 'simple-taxonomy-refreshed' );
     2194                } else {
     2195                    $display .= esc_html__( 'Applies to these post type(s)', 'simple-taxonomy-refreshed' );
     2196                    foreach ( $taxo_data['st_cc_types'] as $post_type ) {
     2197                        $display .= "\n  " . $post_type;
     2198                    }
     2199                }
     2200                $display .= "\n" . esc_html__( 'Applies to posts with status:', 'simple-taxonomy-refreshed' );
    21572201                if ( 1 === (int) $taxo_data['st_cc_type'] ) {
    21582202                    $display .= '  ' . esc_html__( 'Published and Future only', 'simple-taxonomy-refreshed' );
     
    22622306        global $strc;
    22632307        foreach ( $taxonomy['labels'] as $key => $label ) {
    2264             if ( $strc::$wp_decoded_labels[0][ $key ] === $label || $strc::$wp_decoded_labels[1][ $key ] === $label ) {
     2308            if ( array_key_exists( $key, $strc::$wp_decoded_labels[0] ) && $strc::$wp_decoded_labels[0][ $key ] === $label ) {
     2309                unset( $taxonomy['labels'][ $key ] );
     2310            } elseif ( array_key_exists( $key, $strc::$wp_decoded_labels[1] ) && $strc::$wp_decoded_labels[1][ $key ] === $label ) {
    22652311                unset( $taxonomy['labels'][ $key ] );
    22662312            }
     
    23202366        global $strc;
    23212367        foreach ( $taxonomy['labels'] as $key => $label ) {
    2322             if ( $strc::$wp_decoded_labels[0][ $key ] === $label || $strc::$wp_decoded_labels[1][ $key ] === $label ) {
     2368            if ( array_key_exists( $key, $strc::$wp_decoded_labels[0] ) && $strc::$wp_decoded_labels[0][ $key ] === $label ) {
     2369                unset( $taxonomy['labels'][ $key ] );
     2370            } elseif ( array_key_exists( $key, $strc::$wp_decoded_labels[1] ) && $strc::$wp_decoded_labels[1][ $key ] === $label ) {
    23232371                unset( $taxonomy['labels'][ $key ] );
    23242372            }
  • simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-client.php

    r2820062 r2897279  
    642642            'simple-taxonomy-refreshed/post-terms',
    643643            array(
     644
    644645                'editor_script'   => 'staxo-terms-editor',
    645646                'render_callback' => array( __CLASS__, 'the_terms' ),
     
    709710        foreach ( (array) $options['taxonomies'] as $taxonomy ) {
    710711            // Does the post_type uses this taxonomy.
    711             if ( isset( $taxonomy['st_feed'] ) && ( ! empty( $taxonomy['objects'] ) ) && in_array( $post->post_type, $taxonomy['objects'], true ) ) {
     712            if ( isset( $taxonomy['st_feed'] ) && ( ! empty( $taxonomy['objects'] ) ) && in_array( $post->post_type, $taxonomy['objects'], true ) ) {
    712713
    713714                $terms      = get_the_terms( $post->ID, $taxonomy['name'] );
     
    983984                if ( isset( $taxonomy['st_cc_type'] ) && 0 < $taxonomy['st_cc_type'] ) {
    984985                    if ( isset( $taxonomy['st_cc_hard'] ) && ! empty( $taxonomy['st_cc_hard'] ) ) {
    985                         // add to post types list.
     986                        // add to post types list.
    986987                        if ( ! empty( $taxonomy['objects'] ) ) {
     988
    987989                            foreach ( $taxonomy['objects'] as $post_type ) {
    988                                 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array(
    989                                     'st_cc_type'   => $taxonomy['st_cc_type'],
    990                                     'st_cc_hard'   => $taxonomy['st_cc_hard'],
    991                                     'st_cc_umin'   => $taxonomy['st_cc_umin'],
    992                                     'st_cc_min'    => $taxonomy['st_cc_min'],
    993                                     'st_cc_umax'   => $taxonomy['st_cc_umax'],
    994                                     'st_cc_max'    => $taxonomy['st_cc_max'],
    995                                     'show_in_rest' => $taxonomy['show_in_rest'],
    996                                     'rest_base'    => ( empty( $taxonomy['rest_base'] ) ? $taxonomy['name'] : $taxonomy['rest_base'] ),
    997                                     'label_name'   => $taxonomy['labels']['name'],
    998                                 );
     990                                // check the post type is in the list. (List not exists or is empty counts as in the list).
     991                                if ( empty( $cc_post_types ) || array_key_exists( $post_type, $cc_post_types ) ) {
     992                                    $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array(
     993                                        'st_cc_type'   => $taxonomy['st_cc_type'],
     994                                        'st_cc_hard'   => $taxonomy['st_cc_hard'],
     995                                        'st_cc_umin'   => $taxonomy['st_cc_umin'],
     996                                        'st_cc_min'    => $taxonomy['st_cc_min'],
     997                                        'st_cc_umax'   => $taxonomy['st_cc_umax'],
     998                                        'st_cc_max'    => $taxonomy['st_cc_max'],
     999                                        'show_in_rest' => $taxonomy['show_in_rest'],
     1000                                        'rest_base'    => ( empty( $taxonomy['rest_base'] ) ? $taxonomy['name'] : $taxonomy['rest_base'] ),
     1001                                        'label_name'   => $taxonomy['labels']['name'],
     1002                                    );
     1003                                }
    9991004                            }
    10001005                        }
     
    10121017                        // add to post types list.
    10131018                        if ( ! empty( $taxonomy['objects'] ) ) {
     1019
    10141020                            // need to get some properties from external taxonomy.
    10151021                            $tax_obj = get_taxonomy( $taxonomy );
    10161022                            foreach ( $taxonomy['objects'] as $post_type ) {
    1017                                 $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array(
    1018                                     'st_cc_type'   => $taxonomy['st_cc_type'],
    1019                                     'st_cc_hard'   => $taxonomy['st_cc_hard'],
    1020                                     'st_cc_umin'   => $taxonomy['st_cc_umin'],
    1021                                     'st_cc_min'    => $taxonomy['st_cc_min'],
    1022                                     'st_cc_umax'   => $taxonomy['st_cc_umax'],
    1023                                     'st_cc_max'    => $taxonomy['st_cc_max'],
    1024                                     'show_in_rest' => $tax_obj->show_in_rest,
    1025                                     'rest_base'    => ( empty( $tax_obj->rest_base ) ? $tax_obj->name : $tax_obj->rest_base ),
    1026                                     'label_name'   => $taxonomy['labels']['name'],
    1027                                 );
     1023                                // check the post type is in the list. (List not exists or is empty counts as in the list).
     1024                                if ( empty( $cc_post_types ) || array_key_exists( $post_type, $cc_post_types ) ) {
     1025                                    $cntl_post_types[ $post_type ][ $taxonomy['name'] ] = array(
     1026                                        'st_cc_type'   => $taxonomy['st_cc_type'],
     1027                                        'st_cc_hard'   => $taxonomy['st_cc_hard'],
     1028                                        'st_cc_umin'   => $taxonomy['st_cc_umin'],
     1029                                        'st_cc_min'    => $taxonomy['st_cc_min'],
     1030                                        'st_cc_umax'   => $taxonomy['st_cc_umax'],
     1031                                        'st_cc_max'    => $taxonomy['st_cc_max'],
     1032                                        'show_in_rest' => $tax_obj->show_in_rest,
     1033                                        'rest_base'    => ( empty( $tax_obj->rest_base ) ? $tax_obj->name : $tax_obj->rest_base ),
     1034                                        'label_name'   => $taxonomy['labels']['name'],
     1035                                    );
     1036                                }
    10281037                            }
    10291038                        }
     
    10991108            'st_cb_tsh'                => 0,
    11001109            'st_cc_type'               => 0,
     1110
    11011111            'st_cc_hard'               => 0,
    11021112            'st_cc_umin'               => 0,
     
    11821192
    11831193        self::$wp_default_labels[ (int) $hier ] = (array) $labels;
    1184         self::$wp_decoded_labels[ (int) $hier ] = array_map( 'html_entity_decode', (array) $labels );
     1194        // PHP 8 does not allow array-map operations on null elements.
     1195        foreach ( (array) $labels as $label ) {
     1196            if ( is_null( $label ) ) {
     1197                self::$wp_decoded_labels[ (int) $hier ][ $label ] = null;
     1198            } else {
     1199                self::$wp_decoded_labels[ (int) $hier ][ $label ] = html_entity_decode( $label, ENT_QUOTES );
     1200            }
     1201        }
    11851202    }
    11861203
  • simple-taxonomy-refreshed/trunk/includes/class-simpletaxonomyrefreshed-widget.php

    r2738630 r2897279  
    470470            'simple-taxonomy-refreshed/cloud-widget',
    471471            array(
     472
    472473                'editor_script'   => 'staxo-widget-editor',
    473474                'editor_style'    => 'staxo-widget-editor-style',
  • simple-taxonomy-refreshed/trunk/js/staxo-admin.dev.js

    r2775006 r2897279  
    168168        document.getElementById("admlist" + objNo).removeAttribute( 'checked' );
    169169    }
     170
     171
     172
     173
     174
     175
    170176    evt.stopPropagation();
    171177}
  • simple-taxonomy-refreshed/trunk/js/staxo-admin.js

    r2775006 r2897279  
    1 var i,tablist,vertical,panels,tabs,cb_types,cc_types,cc_hards,keys={end:35,home:36,left:37,right:39},direction={37:-1,39:1};function str_admin_init(){tablist=document.querySelectorAll("[role=\"tablist\"]"),vertical="getAttribute"in tablist&&"vertical"==tablist.getAttribute("aria-orientation"),panels=document.querySelectorAll("[role=\"tabpanel\"]"),tabs=document.querySelectorAll("[role=\"tab\"]"),cb_types=document.getElementsByName("st_cb_type"),cc_types=document.getElementsByName("st_cc_type"),cc_hards=document.getElementsByName("st_cc_hard");for(var a=0;a<tabs.length;++a)tabs[a].addEventListener("click",clickEventListener),tabs[a].addEventListener("keydown",keydownEventListener),tabs[a].addEventListener("keyup",keyupEventListener),tabs[a].index=a}function clickEventListener(a){var b=a.target;activateTab(b,!1)}function keydownEventListener(a){var b=a.keyCode;b===keys.end?(a.preventDefault(),activateTab(tabs[tabs.length-1])):b===keys.home?(a.preventDefault(),activateTab(tabs[0])):void 0}function keyupEventListener(a){var b=a.keyCode;if(b===keys.left||b===keys.right){for(var c=0;c<tabs.length;++c)tabs[c].addEventListener("focus",focusEventHandler);if(direction[b]){var d=a.target;d.index!==void 0&&(tabs[d.index+direction[b]]?tabs[d.index+direction[b]].focus():b===keys.left?tabs[tabs.length-1].focus():b===keys.right&&tabs[0].focus())}}}function activateTab(a,b){b=b||!0,deactivateTabs(),a.removeAttribute("tabindex"),a.setAttribute("aria-selected","true");var c=a.getAttribute("aria-controls");if(document.getElementById(c).classList.remove("is-hidden"),"adm_filter"==c){var d=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==d,document.getElementById("st_adm_depth").disabled=0==d}b&&a.focus()}function deactivateTabs(){for(var a=0;a<tabs.length;a++)tabs[a].setAttribute("tabindex","-1"),tabs[a].setAttribute("aria-selected","false"),tabs[a].removeEventListener("focus",focusEventHandler);for(var b=0;b<panels.length;b++)panels[b].classList.add("is-hidden")}function focusEventHandler(a){var b=a.target;setTimeout(checkTabFocus,250,b)}function checkTabFocus(a){var b=document.activeElement;a===b&&activateTab(a,!1)}function openTab(a,b){for(c=0;c<panels.length;c++)panels[c].style.display="none";for(c=0;c<tabs.length;c++)tabs[c].setAttribute("aria-selected","false");if(document.getElementById(b).style.display="block","adm_filter"==b){var c=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==c,document.getElementById("st_adm_depth").disabled=0==c}a.currentTarget.setAttribute("aria-selected","true"),a.stopPropagation()}function checkNameSet(a){document.getElementById("submit").disabled=0===a.currentTarget.value.length,a.stopPropagation()}function linkAdm(a,b){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),document.getElementById("admlist"+b).disabled=!1===a.currentTarget.checked,!1===a.currentTarget.checked&&(document.getElementById("admlist"+b).checked=!1,document.getElementById("admlist"+b).setAttribute("aria-checked","false"),document.getElementById("admlist"+b).removeAttribute("checked")),a.stopPropagation()}function ariaChk(a){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),a.currentTarget.checked?a.currentTarget.setAttribute("checked","checked"):a.currentTarget.removeAttribute("checked")}function linkH(a,b){document.getElementById("st_adm_hier").disabled=0===b,document.getElementById("st_adm_depth").disabled=0===b,0===b&&(document.getElementById("st_adm_hier").value=0,document.getElementById("st_adm_depth").value=0),a.stopPropagation()}function hideCnt(a){var b=0==document.getElementById("st_update_count_callback").value.length;b?(document.getElementById("count_tab_0").classList.add("is-hidden"),document.getElementById("count_tab_1").classList.remove("is-hidden")):(document.getElementById("count_tab_0").classList.remove("is-hidden"),document.getElementById("count_tab_1").classList.add("is-hidden"),document.getElementById("cb_sel").checked=!1,document.getElementById("cb_sel").setAttribute("aria-selected","false"),document.getElementById("cb_any").checked=!1,document.getElementById("cb_any").setAttribute("aria-selected","false"),document.getElementById("cb_std").checked=!0,document.getElementById("cb_std").setAttribute("aria-selected","false"),hideSel(a,0)),a.stopPropagation()}function hideSel(a,b){for(var c=0;c<cb_types.length;c++)cb_types[c].setAttribute("tabindex","-1"),cb_types[c].setAttribute("aria-selected","false"),cb_types[c].removeAttribute("checked");cb_types[b].setAttribute("tabindex","0"),cb_types[b].setAttribute("aria-selected","true"),cb_types[b].setAttribute("checked","checked"),2===b?(document.getElementById("count_sel_0").classList.add("is-hidden"),document.getElementById("count_sel_1").classList.remove("is-hidden")):(document.getElementById("count_sel_0").classList.remove("is-hidden"),document.getElementById("count_sel_1").classList.add("is-hidden")),a.stopPropagation()}function ccSel(a,b){0===b?(document.getElementById("control_tab_0").classList.remove("is-hidden"),document.getElementById("control_tab_1").classList.add("is-hidden")):(document.getElementById("control_tab_0").classList.add("is-hidden"),document.getElementById("control_tab_1").classList.remove("is-hidden"));for(var c=0;c<cc_types.length;c++)cc_types[c].setAttribute("tabindex","-1"),cc_types[c].removeAttribute("checked");cc_types[b].setAttribute("tabindex","0"),cc_types[b].setAttribute("checked","checked"),a.stopPropagation()}function cchSel(a,b){for(var c=0;c<cc_hards.length;c++)cc_hards[c].setAttribute("tabindex","-1"),cc_hards[c].removeAttribute("checked");cc_hards[b].setAttribute("tabindex","0"),cc_hards[b].setAttribute("checked","checked"),a.stopPropagation()}function switchMinMax(a){var b=0==document.getElementById("st_cc_umin").value,c=0==document.getElementById("st_cc_umax").value;document.getElementById("st_cc_min").disabled=b,document.getElementById("st_cc_max").disabled=c,a.stopPropagation()}function checkMinMax(a){var b=document.getElementById("st_cc_min").value,c=document.getElementById("st_cc_max").value;b>c&&"st_cc_min"===a.currentTarget.id&&(document.getElementById("st_cc_max").value=b),b>c&&"st_cc_max"===a.currentTarget.id&&(document.getElementById("st_cc_min").value=c),a.stopPropagation()}
     1var i,tablist,vertical,panels,tabs,cb_types,cc_types,cc_hards,keys={end:35,home:36,left:37,right:39},direction={37:-1,39:1};function str_admin_init(){tablist=document.querySelectorAll("[role=\"tablist\"]"),vertical="getAttribute"in tablist&&"vertical"==tablist.getAttribute("aria-orientation"),panels=document.querySelectorAll("[role=\"tabpanel\"]"),tabs=document.querySelectorAll("[role=\"tab\"]"),cb_types=document.getElementsByName("st_cb_type"),cc_types=document.getElementsByName("st_cc_type"),cc_hards=document.getElementsByName("st_cc_hard");for(var a=0;a<tabs.length;++a)tabs[a].addEventListener("click",clickEventListener),tabs[a].addEventListener("keydown",keydownEventListener),tabs[a].addEventListener("keyup",keyupEventListener),tabs[a].index=a}function clickEventListener(a){var b=a.target;activateTab(b,!1)}function keydownEventListener(a){var b=a.keyCode;b===keys.end?(a.preventDefault(),activateTab(tabs[tabs.length-1])):b===keys.home?(a.preventDefault(),activateTab(tabs[0])):void 0}function keyupEventListener(a){var b=a.keyCode;if(b===keys.left||b===keys.right){for(var c=0;c<tabs.length;++c)tabs[c].addEventListener("focus",focusEventHandler);if(direction[b]){var d=a.target;d.index!==void 0&&(tabs[d.index+direction[b]]?tabs[d.index+direction[b]].focus():b===keys.left?tabs[tabs.length-1].focus():b===keys.right&&tabs[0].focus())}}}function activateTab(a,b){b=b||!0,deactivateTabs(),a.removeAttribute("tabindex"),a.setAttribute("aria-selected","true");var c=a.getAttribute("aria-controls");if(document.getElementById(c).classList.remove("is-hidden"),"adm_filter"==c){var d=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==d,document.getElementById("st_adm_depth").disabled=0==d}b&&a.focus()}function deactivateTabs(){for(var a=0;a<tabs.length;a++)tabs[a].setAttribute("tabindex","-1"),tabs[a].setAttribute("aria-selected","false"),tabs[a].removeEventListener("focus",focusEventHandler);for(var b=0;b<panels.length;b++)panels[b].classList.add("is-hidden")}function focusEventHandler(a){var b=a.target;setTimeout(checkTabFocus,250,b)}function checkTabFocus(a){var b=document.activeElement;a===b&&activateTab(a,!1)}function openTab(a,b){for(c=0;c<panels.length;c++)panels[c].style.display="none";for(c=0;c<tabs.length;c++)tabs[c].setAttribute("aria-selected","false");if(document.getElementById(b).style.display="block","adm_filter"==b){var c=document.getElementById("hierarchical").value;document.getElementById("st_adm_hier").disabled=0==c,document.getElementById("st_adm_depth").disabled=0==c}a.currentTarget.setAttribute("aria-selected","true"),a.stopPropagation()}function checkNameSet(a){document.getElementById("submit").disabled=0===a.currentTarget.value.length,a.stopPropagation()}function linkAdm(a,b){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),document.getElementById("admlist"+b).disabled=!1===a.currentTarget.checked,!1===a.currentTarget.checked&&(document.getElementById("admlist"+b).checked=!1,document.getElementById("admlist"+b).setAttribute("aria-checked","false"),document.getElementById("admlist"+b).removeAttribute("checked")),a.stopPropagation()}function ariaChk(a){a.currentTarget.setAttribute("aria-checked",a.currentTarget.checked),a.currentTarget.checked?a.currentTarget.setAttribute("checked","checked"):a.currentTarget.removeAttribute("checked")}function linkH(a,b){document.getElementById("st_adm_hier").disabled=0===b,document.getElementById("st_adm_depth").disabled=0===b,0===b&&(document.getElementById("st_adm_hier").value=0,document.getElementById("st_adm_depth").value=0),a.stopPropagation()}function hideCnt(a){var b=0==document.getElementById("st_update_count_callback").value.length;b?(document.getElementById("count_tab_0").classList.add("is-hidden"),document.getElementById("count_tab_1").classList.remove("is-hidden")):(document.getElementById("count_tab_0").classList.remove("is-hidden"),document.getElementById("count_tab_1").classList.add("is-hidden"),document.getElementById("cb_sel").checked=!1,document.getElementById("cb_sel").setAttribute("aria-selected","false"),document.getElementById("cb_any").checked=!1,document.getElementById("cb_any").setAttribute("aria-selected","false"),document.getElementById("cb_std").checked=!0,document.getElementById("cb_std").setAttribute("aria-selected","false"),hideSel(a,0)),a.stopPropagation()}function hideSel(a,b){for(var c=0;c<cb_types.length;c++)cb_types[c].setAttribute("tabindex","-1"),cb_types[c].setAttribute("aria-selected","false"),cb_types[c].removeAttribute("checked");cb_types[b].setAttribute("tabindex","0"),cb_types[b].setAttribute("aria-selected","true"),cb_types[b].setAttribute("checked","checked"),2===b?(document.getElementById("count_sel_0").classList.add("is-hidden"),document.getElementById("count_sel_1").classList.remove("is-hidden")):(document.getElementById("count_sel_0").classList.remove("is-hidden"),document.getElementById("count_sel_1").classList.add("is-hidden")),a.stopPropagation()}function ccSel(a,b){0===b?(document.getElementById("control_tab_0").classList.remove("is-hidden"),document.getElementById("control_tab_1").classList.add("is-hidden")):(document.getElementById("control_tab_0").classList.add("is-hidden"),document.getElementById("control_tab_1").classList.remove("is-hidden"));for(var c=0;c<cc_types.length;c++)cc_types[c].setAttribute("tabindex","-1"),cc_types[c].removeAttribute("checked");cc_types[b].setAttribute("tabindex","0"),cc_types[b].setAttribute("checked","checked"),a.stopPropagation()}function cchSel(a,b){for(var c=0;c<cc_hards.length;c++)cc_hards[c].setAttribute("tabindex","-1"),cc_hards[c].removeAttribute("checked");cc_hards[b].setAttribute("tabindex","0"),cc_hards[b].setAttribute("checked","checked"),a.stopPropagation()}function switchMinMax(a){var b=0==document.getElementById("st_cc_umin").value,c=0==document.getElementById("st_cc_umax").value;document.getElementById("st_cc_min").disabled=b,document.getElementById("st_cc_max").disabled=c,a.stopPropagation()}function checkMinMax(a){var b=document.getElementById("st_cc_min").value,c=document.getElementById("st_cc_max").value;b>c&&"st_cc_min"===a.currentTarget.id&&(document.getElementById("st_cc_max").value=b),b>c&&"st_cc_max"===a.currentTarget.id&&(document.getElementById("st_cc_min").value=c),a.stopPropagation()}
  • simple-taxonomy-refreshed/trunk/js/staxo-client.dev.js

    r2820062 r2897279  
    551551function dom_tag_cntl_check( tax_slug ) {
    552552    // call these with special = true to force error processing.
    553     document.getElementById("publish").addEventListener('click', event => {
    554         tag_cntl_check( tax_slug, true );
    555     });
    556     document.getElementById("save-post").addEventListener('click', event => {
    557         tag_cntl_check( tax_slug, true );
    558     });
    559     document.getElementById("save-post").addEventListener('keypress', event => {
    560         tag_cntl_check( tax_slug, true );
    561     });
    562 
     553    let elt = document.getElementById("publish");
     554    if ( null !== elt ) {
     555        elt.addEventListener('click', event => { tag_cntl_check( tax_slug, true ); });
     556    }
     557    elt = document.getElementById("save-post");
     558    if ( null !== elt ) {
     559        elt.addEventListener('click', event => { tag_cntl_check( tax_slug, true ); });
     560        elt.addEventListener('keypress', event => { tag_cntl_check( tax_slug, true ); });
     561    }
    563562    // Select the node that will be observed for mutations
    564563    let tag = document.getElementById( tax_slug );
  • simple-taxonomy-refreshed/trunk/js/staxo-client.js

    r2820062 r2897279  
    1 let tax_msgs=[];function get_msg(a){for(const b of tax_msgs)if(b[0]===a)return b}function chk_radio_client(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input"),d=!1;for(let b of c)"checkbox"===b.type&&(b.type="radio",b.setAttribute("role","radio"),b.addEventListener("click",()=>{adj_radio_client(a,b.value)}),b.addEventListener("keypress",()=>{adj_radio_client(a,b.value)}),d=!0);d&&hier_cntl_check(a)}function adj_radio_client(a,b){let c=document.getElementById("taxonomy-"+a),d=c.getElementsByTagName("input");for(let c in d)d[c].checked=!1,d[c].value===b&&(d[c].checked=!0)}function dom_radio_client(a){chk_radio_client(a);let b=document.getElementById(a+"-pop");b.setAttribute("role","radiogroup");let c=document.getElementById(a+"-all");c.setAttribute("role","radiogroup");let d=document.getElementById(a+"-add-submit");d.addEventListener("click",()=>{adj_radio_client(a,-1)}),d.addEventListener("keypress",()=>{adj_radio_client(a,-1)});const e=document.getElementById(a+"-all"),f=new MutationObserver(function(){chk_radio_client(a)});f.observe(e,{childList:!0,subtree:!0})}function qe_error_set_msg(a,b,c){let d=a.getElementsByClassName("notice-error");if(d){for(let e of d)if(e.classList.contains(b+"-err")){e.classList.contains("hidden")&&e.classList.remove("hidden");let b=e.getElementsByTagName("p");return b[0].innerHTML=c,void a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}let e=document.createElement("div");e.classList.add("notice","notice-error","notice-alt","inline","staxo",b+"-err");let f=document.createElement("p");f.classList.add("error"),f.innerHTML=c,e.appendChild(f);let g=a.getElementsByClassName("submit");g[0].appendChild(e),a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}}function qe_error_clear_msg(a,b){let c=a.getElementsByClassName("notice-error");if(c){all_hidden=!0;for(let a of c)if(a.classList.contains(b+"-err")){a.classList.contains("hidden")||a.classList.add("hidden");let b=a.getElementsByTagName("p");b[0].innerHTML=""}else a.classList.contains("staxo")&&!a.classList.contains("hidden")&&(all_hidden=!1);all_hidden&&a.getElementsByClassName("save")[0].removeAttribute("disabled")}}function chk_qe_radio_client(a){let b=event.target.tagName.toLowerCase(),c=event.target.classList;if(("button"!==b||c.contains("editinline")||c.contains("save"))&&("option"!==b||"_status"===event.target.parentNode.name)&&("input"!==b||event.target.name==="tax_input["+a+"][]")){let c=document.getElementsByClassName("inline-edit-row");for(let e of c){if("edit-"!==e.id.substring(0,5))continue;let c=document.getElementById("post-"+e.id.substring(5)),f=c.getElementsByClassName("taxonomy-"+a),g=f[0].getElementsByTagName("a").length,h=get_msg(a),i=e.getElementsByClassName(a+"-checklist");2>g&&i[0].setAttribute("role","radiogroup");let j=i[0].getElementsByTagName("input"),k=0;for(let a of j)a.checked&&k++,2>g&&"checkbox"===a.type&&(a.type="radio",a.setAttribute("role","radio"));var d;if("option"===b)d=event.target.value,qe_error_clear_msg(e,a);else{const a=e.getElementsByClassName("inline-edit-status")[0];d=a.getElementsByTagName("select")[0].value}if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===h[1]&&"publish"!==d&&"future"!==d)return;if(1<k)qe_error_set_msg(e,a,h[5]);else if(0===k)qe_error_set_msg(e,a,h[3]);else return void qe_error_clear_msg(e,a)}}}function rst_qe_radio_client(a){if("button"===event.target.tagName.toLowerCase()){let b=document.getElementsByClassName("inline-edit-row");for(let c of b){if("edit-"!==c.id.substring(0,5))continue;chk_qe_radio_client(a);let b=c.getElementsByClassName(a+"-checklist");b[0].removeAttribute("role");let d=b[0].getElementsByTagName("input");for(let a of d)"radio"===a.type&&(a.type="checkbox",a.removeAttribute("role"))}}}function dom_qe_radio_client(a){const b=document.getElementById("the-list");b.parentElement.addEventListener("click",()=>{chk_qe_radio_client(a)}),b.parentElement.addEventListener("keypress",()=>{chk_qe_radio_client(a)});const c=b.getElementsByTagName("tr");for(let b of c){let c=b.id.match(/[0-9]+$/g)[0];b.addEventListener("click",()=>{rst_qe_radio_client(a,c)})}}var tax_cntl=[];function get_cntl(a){for(const b of tax_cntl)if(b[0]===a)return b}function hier_tax_count(a){let b,c,d=document.getElementById("taxonomy-"+a),e=d.getElementsByTagName("input"),f=[];for(b in e)e[b].checked&&(c=e[b].value,0<c&&!f.includes(c)&&f.splice(0,0,c));return f.length}function hier_cntl_check(a,b=!1){const c=get_cntl(a),d=document.getElementById("post_status").value;if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===c[1]&&"publish"!==d&&"future"!==d)return;let e=hier_tax_count(a),f=!1;null!==c[2]&&e<c[2]&&(set_errblock(a,c[3]),f=!0),null!==c[4]&&e>c[4]&&(set_errblock(a,c[5]),f=!0),f||clear_errblock(a),f&&b&&(event.stopPropagation(),event.preventDefault())}function dom_hier_cntl_check(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input");for(let b of c)b.addEventListener("click",()=>{hier_cntl_check(a)}),b.addEventListener("blur",()=>{hier_cntl_check(a)});document.getElementById("publish").addEventListener("click",()=>{hier_cntl_check(a,!0)});var d=document.getElementById("save-post");d&&(d.addEventListener("click",()=>{hier_cntl_check(a,!0)}),d.addEventListener("keypress",()=>{hier_cntl_check(a,!0)}))}function tag_tax_count(a){const b=document.getElementById(a),c=b.getElementsByTagName("ul")[0];return c.getElementsByTagName("li").length}function tag_cntl_check(a,b=!1){var c=document.getElementById("post_status").value;if("new"===c||"auto-draft"===c||"trash"===c)return;const d=get_cntl(a);if(1===d[1]&&"publish"!==c&&"future"!==c)return;document.getElementById("new-tag-"+a).removeAttribute("readonly"),document.getElementById("link-"+a).removeAttribute("disabled");let e=document.getElementById("tagcloud-"+a);null!==e&&e.removeAttribute("disabled");let f=tag_tax_count(a),g=!1;null!==d[2]&&f<d[2]&&(set_errblock(a,d[3]),g=!0),null!==d[4]&&(f>=d[4]&&(document.getElementById("new-tag-"+a).setAttribute("readonly","readonly"),document.getElementById("link-"+a).setAttribute("disabled","disabled"),null!==e&&e.setAttribute("disabled","disabled")),f>d[4]&&(set_errblock(a,d[5]),g=!0)),g||clear_errblock(a);1===d[2]&&1===d[4]&&0<=f&&2>=f&&!b||g&&(event.stopPropagation(),event.preventDefault())}function dom_tag_cntl_check(a){document.getElementById("publish").addEventListener("click",()=>{tag_cntl_check(a,!0)}),document.getElementById("save-post").addEventListener("click",()=>{tag_cntl_check(a,!0)}),document.getElementById("save-post").addEventListener("keypress",()=>{tag_cntl_check(a,!0)});let b=document.getElementById(a);const c=b.getElementsByTagName("ul")[0],d=new MutationObserver(function(){tag_cntl_check(a)});d.observe(c,{childList:!0,subtree:!0})}let block_limit=function(a,b){function c(a){if("button"===a.target.tagName.toLowerCase()){var b=a.target.className,c=b.includes("editor-post-publish-button__button");c&&(k||j)&&(alert("Cannot Publish due to taxonomy restrictions"),a.stopPropagation(),a.preventDefault(),a.target.disabled=!0)}}function d(a,b){let c=1===i[1]?["publish","future"].includes(a):!["new","auto-draft","trash"].includes(a),d=["publish","future"].includes(a),e="";if(null!==i[2]&&b<i[2]&&(e=i[3]),null!==i[4]&&b>i[4]&&(e=i[5]),c&&e){var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!0),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!0),f("core/notices").createNotice("error",e,{id:"str_notice_"+h,isDismissible:!1}),d||j||(j=!0,f("core/editor").lockPostSaving("str_"+h+"_lock")),!k){k=!0;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!0),f("core/edit-post").disablePublishSidebar,f("core/editor").isPublishable=!1}}else{var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!1),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!1),f("core/notices").removeNotice("str_notice_"+h),j&&(j=!1,f("core/editor").unlockPostSaving("str_"+h+"_lock")),k){k=!1;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!1),f("core/edit-post").enablePublishSidebar}}}const{select:e,dispatch:f,subscribe:g}=a.data,h=b,i=get_cntl(h);console.log(i);let j=!1,k=!1;const l=()=>e("core/editor").getEditedPostAttribute("status"),m=()=>e("core/editor").getEditedPostAttribute(h);var n=document.getElementById("editor");n.addEventListener("click",a=>{c(a)},!0);let o=i[6],p=i[2];d(o,p),g(()=>{const a=l(),b=a!==o;o=a;const c=m();if(void 0!==c){const a=c.length!==p;p=c.length,(a||b)&&d(o,p)}})};function clear_errblock(a){let b=document.getElementById("err-"+a);null===b||b.classList.contains("hidden")||(b.classList.add("hidden"),b.getElementsByTagName("p")[0].innerHTML="")}function set_errblock(a,b){let c=document.getElementById("err-"+a);null!==c&&(c.classList.contains("hidden")&&c.classList.remove("hidden"),c.getElementsByTagName("p")[0].innerHTML=b)}function proc_qe_tax_cntl(a,b){let c=event.target.tagName.toLowerCase(),d=event.target.classList;if(("button"!==c||d.contains("editinline")||d.contains("save"))&&("option"!==c||"_status"===event.target.parentNode.name)&&("input"!==c||event.target.name==="tax_input["+a+"][]")&&("textarea"!==c||d.contains("tax_input_"+a))){let d=document.getElementsByClassName("inline-edit-row");for(let f of d){if("edit-"!==f.id.substring(0,5))continue;const d=get_cntl(a);var e;if("option"===c)e=event.target.value,qe_error_clear_msg(f,a);else{const a=f.getElementsByClassName("inline-edit-status")[0];e=a.getElementsByTagName("select")[0].value}if("new"===e||"auto-draft"===e||"trash"===e)return;if(1===d[1]&&"publish"!==e&&"future"!==e)return;let g=0;if(b){let b=f.getElementsByClassName(a+"-checklist"),c=b[0].getElementsByTagName("input");for(let a of c)a.checked&&g++}else{let b=f.getElementsByClassName("tax_input_"+a),c=b[0].value;g=0===c.length?0:(c.match(/,/g)||[]).length+1}let h=!1;null!==d[2]&&g<d[2]&&(qe_error_set_msg(f,a,d[3]),h=!0),null!==d[4]&&g>d[4]&&(qe_error_set_msg(f,a,d[5]),h=!0),h||qe_error_clear_msg(f,a)}}}function dom_qe_cntl_check(a,b){const c=document.getElementById("the-list");c.parentElement.addEventListener("click",()=>{proc_qe_tax_cntl(a,b)}),c.parentElement.addEventListener("focusout",()=>{proc_qe_tax_cntl(a,b)})}
     1let tax_msgs=[];function get_msg(a){for(const b of tax_msgs)if(b[0]===a)return b}function chk_radio_client(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input"),d=!1;for(let b of c)"checkbox"===b.type&&(b.type="radio",b.setAttribute("role","radio"),b.addEventListener("click",()=>{adj_radio_client(a,b.value)}),b.addEventListener("keypress",()=>{adj_radio_client(a,b.value)}),d=!0);d&&hier_cntl_check(a)}function adj_radio_client(a,b){let c=document.getElementById("taxonomy-"+a),d=c.getElementsByTagName("input");for(let c in d)d[c].checked=!1,d[c].value===b&&(d[c].checked=!0)}function dom_radio_client(a){chk_radio_client(a);let b=document.getElementById(a+"-pop");b.setAttribute("role","radiogroup");let c=document.getElementById(a+"-all");c.setAttribute("role","radiogroup");let d=document.getElementById(a+"-add-submit");d.addEventListener("click",()=>{adj_radio_client(a,-1)}),d.addEventListener("keypress",()=>{adj_radio_client(a,-1)});const e=document.getElementById(a+"-all"),f=new MutationObserver(function(){chk_radio_client(a)});f.observe(e,{childList:!0,subtree:!0})}function qe_error_set_msg(a,b,c){let d=a.getElementsByClassName("notice-error");if(d){for(let e of d)if(e.classList.contains(b+"-err")){e.classList.contains("hidden")&&e.classList.remove("hidden");let b=e.getElementsByTagName("p");return b[0].innerHTML=c,void a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}let e=document.createElement("div");e.classList.add("notice","notice-error","notice-alt","inline","staxo",b+"-err");let f=document.createElement("p");f.classList.add("error"),f.innerHTML=c,e.appendChild(f);let g=a.getElementsByClassName("submit");g[0].appendChild(e),a.getElementsByClassName("save")[0].setAttribute("disabled","disabled")}}function qe_error_clear_msg(a,b){let c=a.getElementsByClassName("notice-error");if(c){all_hidden=!0;for(let a of c)if(a.classList.contains(b+"-err")){a.classList.contains("hidden")||a.classList.add("hidden");let b=a.getElementsByTagName("p");b[0].innerHTML=""}else a.classList.contains("staxo")&&!a.classList.contains("hidden")&&(all_hidden=!1);all_hidden&&a.getElementsByClassName("save")[0].removeAttribute("disabled")}}function chk_qe_radio_client(a){let b=event.target.tagName.toLowerCase(),c=event.target.classList;if(("button"!==b||c.contains("editinline")||c.contains("save"))&&("option"!==b||"_status"===event.target.parentNode.name)&&("input"!==b||event.target.name==="tax_input["+a+"][]")){let c=document.getElementsByClassName("inline-edit-row");for(let e of c){if("edit-"!==e.id.substring(0,5))continue;let c=document.getElementById("post-"+e.id.substring(5)),f=c.getElementsByClassName("taxonomy-"+a),g=f[0].getElementsByTagName("a").length,h=get_msg(a),i=e.getElementsByClassName(a+"-checklist");2>g&&i[0].setAttribute("role","radiogroup");let j=i[0].getElementsByTagName("input"),k=0;for(let a of j)a.checked&&k++,2>g&&"checkbox"===a.type&&(a.type="radio",a.setAttribute("role","radio"));var d;if("option"===b)d=event.target.value,qe_error_clear_msg(e,a);else{const a=e.getElementsByClassName("inline-edit-status")[0];d=a.getElementsByTagName("select")[0].value}if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===h[1]&&"publish"!==d&&"future"!==d)return;if(1<k)qe_error_set_msg(e,a,h[5]);else if(0===k)qe_error_set_msg(e,a,h[3]);else return void qe_error_clear_msg(e,a)}}}function rst_qe_radio_client(a){if("button"===event.target.tagName.toLowerCase()){let b=document.getElementsByClassName("inline-edit-row");for(let c of b){if("edit-"!==c.id.substring(0,5))continue;chk_qe_radio_client(a);let b=c.getElementsByClassName(a+"-checklist");b[0].removeAttribute("role");let d=b[0].getElementsByTagName("input");for(let a of d)"radio"===a.type&&(a.type="checkbox",a.removeAttribute("role"))}}}function dom_qe_radio_client(a){const b=document.getElementById("the-list");b.parentElement.addEventListener("click",()=>{chk_qe_radio_client(a)}),b.parentElement.addEventListener("keypress",()=>{chk_qe_radio_client(a)});const c=b.getElementsByTagName("tr");for(let b of c){let c=b.id.match(/[0-9]+$/g)[0];b.addEventListener("click",()=>{rst_qe_radio_client(a,c)})}}var tax_cntl=[];function get_cntl(a){for(const b of tax_cntl)if(b[0]===a)return b}function hier_tax_count(a){let b,c,d=document.getElementById("taxonomy-"+a),e=d.getElementsByTagName("input"),f=[];for(b in e)e[b].checked&&(c=e[b].value,0<c&&!f.includes(c)&&f.splice(0,0,c));return f.length}function hier_cntl_check(a,b=!1){const c=get_cntl(a),d=document.getElementById("post_status").value;if("new"===d||"auto-draft"===d||"trash"===d)return;if(1===c[1]&&"publish"!==d&&"future"!==d)return;let e=hier_tax_count(a),f=!1;null!==c[2]&&e<c[2]&&(set_errblock(a,c[3]),f=!0),null!==c[4]&&e>c[4]&&(set_errblock(a,c[5]),f=!0),f||clear_errblock(a),f&&b&&(event.stopPropagation(),event.preventDefault())}function dom_hier_cntl_check(a){let b=document.getElementById("taxonomy-"+a),c=b.getElementsByTagName("input");for(let b of c)b.addEventListener("click",()=>{hier_cntl_check(a)}),b.addEventListener("blur",()=>{hier_cntl_check(a)});document.getElementById("publish").addEventListener("click",()=>{hier_cntl_check(a,!0)});var d=document.getElementById("save-post");d&&(d.addEventListener("click",()=>{hier_cntl_check(a,!0)}),d.addEventListener("keypress",()=>{hier_cntl_check(a,!0)}))}function tag_tax_count(a){const b=document.getElementById(a),c=b.getElementsByTagName("ul")[0];return c.getElementsByTagName("li").length}function tag_cntl_check(a,b=!1){var c=document.getElementById("post_status").value;if("new"===c||"auto-draft"===c||"trash"===c)return;const d=get_cntl(a);if(1===d[1]&&"publish"!==c&&"future"!==c)return;document.getElementById("new-tag-"+a).removeAttribute("readonly"),document.getElementById("link-"+a).removeAttribute("disabled");let e=document.getElementById("tagcloud-"+a);null!==e&&e.removeAttribute("disabled");let f=tag_tax_count(a),g=!1;null!==d[2]&&f<d[2]&&(set_errblock(a,d[3]),g=!0),null!==d[4]&&(f>=d[4]&&(document.getElementById("new-tag-"+a).setAttribute("readonly","readonly"),document.getElementById("link-"+a).setAttribute("disabled","disabled"),null!==e&&e.setAttribute("disabled","disabled")),f>d[4]&&(set_errblock(a,d[5]),g=!0)),g||clear_errblock(a);1===d[2]&&1===d[4]&&0<=f&&2>=f&&!b||g&&(event.stopPropagation(),event.preventDefault())}function dom_tag_cntl_check(a){,{childList:!0,subtree:!0})}let block_limit=function(a,b){function c(a){if("button"===a.target.tagName.toLowerCase()){var b=a.target.className,c=b.includes("editor-post-publish-button__button");c&&(k||j)&&(alert("Cannot Publish due to taxonomy restrictions"),a.stopPropagation(),a.preventDefault(),a.target.disabled=!0)}}function d(a,b){let c=1===i[1]?["publish","future"].includes(a):!["new","auto-draft","trash"].includes(a),d=["publish","future"].includes(a),e="";if(null!==i[2]&&b<i[2]&&(e=i[3]),null!==i[4]&&b>i[4]&&(e=i[5]),c&&e){var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!0),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!0),f("core/notices").createNotice("error",e,{id:"str_notice_"+h,isDismissible:!1}),d||j||(j=!0,f("core/editor").lockPostSaving("str_"+h+"_lock")),!k){k=!0;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!0),f("core/edit-post").disablePublishSidebar,f("core/editor").isPublishable=!1}}else{var g=document.getElementsByClassName("editor-post-save-draft");if(0<g.length&&(g[0].disabled=!1),g=document.getElementsByClassName("editor-post-switch-to-draft"),0<g.length&&(g[0].disabled=!1),f("core/notices").removeNotice("str_notice_"+h),j&&(j=!1,f("core/editor").unlockPostSaving("str_"+h+"_lock")),k){k=!1;var l=document.getElementsByClassName("editor-post-publish-button__button");0<l.length&&(l[0].disabled=!1),f("core/edit-post").enablePublishSidebar}}}const{select:e,dispatch:f,subscribe:g}=a.data,h=b,i=get_cntl(h);console.log(i);let j=!1,k=!1;const l=()=>e("core/editor").getEditedPostAttribute("status"),m=()=>e("core/editor").getEditedPostAttribute(h);var n=document.getElementById("editor");n.addEventListener("click",a=>{c(a)},!0);let o=i[6],p=i[2];d(o,p),g(()=>{const a=l(),b=a!==o;o=a;const c=m();if(void 0!==c){const a=c.length!==p;p=c.length,(a||b)&&d(o,p)}})};function clear_errblock(a){let b=document.getElementById("err-"+a);null===b||b.classList.contains("hidden")||(b.classList.add("hidden"),b.getElementsByTagName("p")[0].innerHTML="")}function set_errblock(a,b){let c=document.getElementById("err-"+a);null!==c&&(c.classList.contains("hidden")&&c.classList.remove("hidden"),c.getElementsByTagName("p")[0].innerHTML=b)}function proc_qe_tax_cntl(a,b){let c=event.target.tagName.toLowerCase(),d=event.target.classList;if(("button"!==c||d.contains("editinline")||d.contains("save"))&&("option"!==c||"_status"===event.target.parentNode.name)&&("input"!==c||event.target.name==="tax_input["+a+"][]")&&("textarea"!==c||d.contains("tax_input_"+a))){let d=document.getElementsByClassName("inline-edit-row");for(let f of d){if("edit-"!==f.id.substring(0,5))continue;const d=get_cntl(a);var e;if("option"===c)e=event.target.value,qe_error_clear_msg(f,a);else{const a=f.getElementsByClassName("inline-edit-status")[0];e=a.getElementsByTagName("select")[0].value}if("new"===e||"auto-draft"===e||"trash"===e)return;if(1===d[1]&&"publish"!==e&&"future"!==e)return;let g=0;if(b){let b=f.getElementsByClassName(a+"-checklist"),c=b[0].getElementsByTagName("input");for(let a of c)a.checked&&g++}else{let b=f.getElementsByClassName("tax_input_"+a),c=b[0].value;g=0===c.length?0:(c.match(/,/g)||[]).length+1}let h=!1;null!==d[2]&&g<d[2]&&(qe_error_set_msg(f,a,d[3]),h=!0),null!==d[4]&&g>d[4]&&(qe_error_set_msg(f,a,d[5]),h=!0),h||qe_error_clear_msg(f,a)}}}function dom_qe_cntl_check(a,b){const c=document.getElementById("the-list");c.parentElement.addEventListener("click",()=>{proc_qe_tax_cntl(a,b)}),c.parentElement.addEventListener("focusout",()=>{proc_qe_tax_cntl(a,b)})}
  • simple-taxonomy-refreshed/trunk/languages/simple-taxonomy-refreshed.pot

    r2820062 r2897279  
    1 # Copyright (C) 2022 simple-taxonomy-refreshed 3.0.0
    2 # This file is distributed under the same license as the simple-taxonomy-refreshed 3.0.0 package.
     1# Copyright (C) 202.0
     2# This file is distributed under the same license as the simple-taxonomy-refreshed 3..0 package.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: simple-taxonomy-refreshed 3.0.0\n"
     5"Project-Id-Version: simple-taxonomy-refreshed 3..0\n"
    66"MIME-Version: 1.0\n"
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2022-11-17 20:26+0000\n"
     9"POT-Creation-Date: 202+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    207207msgstr ""
    208208
    209 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:390, includes/class-simpletaxonomyrefreshed-admin-merge.php:541, includes/class-simpletaxonomyrefreshed-admin.php:3154
     209#: includes/class-simpletaxonomyrefreshed-admin-conversion.php:390, includes/class-simpletaxonomyrefreshed-admin-merge.php:541, includes/class-simpletaxonomyrefreshed-admin.php:3
    210210msgid "False"
    211211msgstr ""
    212212
    213 #: includes/class-simpletaxonomyrefreshed-admin-conversion.php:391, includes/class-simpletaxonomyrefreshed-admin-merge.php:542, includes/class-simpletaxonomyrefreshed-admin.php:3155
     213#: includes/class-simpletaxonomyrefreshed-admin-conversion.php:391, includes/class-simpletaxonomyrefreshed-admin-merge.php:542, includes/class-simpletaxonomyrefreshed-admin.php:3
    214214msgid "True"
    215215msgstr ""
     
    687687msgstr ""
    688688
    689 #: includes/class-simpletaxonomyrefreshed-admin.php:261, includes/class-simpletaxonomyrefreshed-admin.php:668
     689#: includes/class-simpletaxonomyrefreshed-admin.php:2, includes/class-simpletaxonomyrefreshed-admin.php:668
    690690msgid "Custom Taxonomies"
    691691msgstr ""
    692692
    693 #: includes/class-simpletaxonomyrefreshed-admin.php:261
     693#: includes/class-simpletaxonomyrefreshed-admin.php:2
    694694msgid "Taxonomies"
    695695msgstr ""
    696696
    697 #: includes/class-simpletaxonomyrefreshed-admin.php:262, includes/class-simpletaxonomyrefreshed-admin.php:262
     697#: includes/class-simpletaxonomyrefreshed-admin.php:26
    698698msgid "All Taxonomies"
    699699msgstr ""
    700700
    701 #: includes/class-simpletaxonomyrefreshed-admin.php:263, includes/class-simpletaxonomyrefreshed-admin.php:263
     701#: includes/class-simpletaxonomyrefreshed-admin.php:26
    702702msgid "Add Taxonomy"
    703703msgstr ""
    704704
     705
     706
     707
     708
     709
     710
     711
     712
    705713#: includes/class-simpletaxonomyrefreshed-admin.php:285
    706 msgid "Taxonomy List"
     714msgid ""
    707715msgstr ""
    708716
    709717#: includes/class-simpletaxonomyrefreshed-admin.php:286
    710 msgid "This displays all the Taxonomies that are managed by this plugin."
     718msgid " this plugin."
    711719msgstr ""
    712720
    713721#: includes/class-simpletaxonomyrefreshed-admin.php:287
    714 msgid "It shows two blocks: Custom and External."
     722msgid "It shows ."
    715723msgstr ""
    716724
    717725#: includes/class-simpletaxonomyrefreshed-admin.php:288
    718 msgid "Custom Taxonomies are the taxonomies that are defined and created using this plugin."
     726msgid "."
    719727msgstr ""
    720728
    721729#: includes/class-simpletaxonomyrefreshed-admin.php:289
    722 msgid "It shows all properties of the taxonomy - and allows you to extract the code that defines the taxonomy entities."
     730msgid "."
    723731msgstr ""
    724732
    725733#: includes/class-simpletaxonomyrefreshed-admin.php:290
    726 msgid "You can add a new taxonomy or modify an existing an existing taxonomy with a new window."
     734msgid "."
    727735msgstr ""
    728736
    729737#: includes/class-simpletaxonomyrefreshed-admin.php:291
    730 msgid "External Taxonomies are taxonomies that have been created by standard WordPress itself or other plugins that you have installed."
     738msgid ""
    731739msgstr ""
    732740
    733741#: includes/class-simpletaxonomyrefreshed-admin.php:292
    734 msgid "Whilst you are unable to change their definition with this plugin, you can add the additional functionality with this plugin to these external taxonomies."
     742msgid "axonomies."
    735743msgstr ""
    736744
    737745#: includes/class-simpletaxonomyrefreshed-admin.php:293
    738 msgid "Taxonomy Definition"
     746msgid "T"
    739747msgstr ""
    740748
    741749#: includes/class-simpletaxonomyrefreshed-admin.php:294
    742 msgid "This applies only to Custom Taxonomies."
     750msgid "."
    743751msgstr ""
    744752
    745753#: includes/class-simpletaxonomyrefreshed-admin.php:295
    746 msgid "There are very many parameters to control the operation of the Taxonomy and seven tabs have been provided to enter them all. Since a major objective of the plugin is to avoid the user having to write code, all these parameters have been made available."
     754msgid "."
    747755msgstr ""
    748756
    749757#: includes/class-simpletaxonomyrefreshed-admin.php:296
    750 msgid "As these parameters are for underlying WordPress functionality, you should read the WordPress documentation to understand their purpose and action."
     758msgid "."
    751759msgstr ""
    752760
    753761#: includes/class-simpletaxonomyrefreshed-admin.php:297
    754 msgid "You need to enter the Name (slug), whether it is Hierarchical or not and the post type(s) it will be linked to on the Main Options tab and the Name (label) on the Labels tab. Most of the others can be left as their default value - expect possibly the labels."
     762msgid "."
    755763msgstr ""
    756764
    757765#: includes/class-simpletaxonomyrefreshed-admin.php:298
    758 msgid "WP 5.5 brings the possibility to add a default term for all objects defined from the taxonomy. This may be entered on the Other tab. The slug and description can also be entered here and used to create the term."
     766msgid "."
    759767msgstr ""
    760768
    761769#: includes/class-simpletaxonomyrefreshed-admin.php:299
    762 msgid "By default the terms do not appear with the post. The options at the bottom of the Main Options screen allow you to output the attached terms with the post content and/or excerpt information."
    763 msgstr ""
    764 
    765 #: includes/class-simpletaxonomyrefreshed-admin.php:300
    766 msgid "For greater control on positioning, you can also display these terms with a shortcode <code>staxo_post_terms</code> or plugin block <code>post_terms</code>."
    767 msgstr ""
    768 
    769 #: includes/class-simpletaxonomyrefreshed-admin.php:301
    770770msgid "When done, simply click <code>Add Taxonomy</code> or <code>Update Taxonomy</code> at the bottom to save your changes"
    771771msgstr ""
    772772
    773 #: includes/class-simpletaxonomyrefreshed-admin.php:302, includes/class-simpletaxonomyrefreshed-admin.php:1037, includes/class-simpletaxonomyrefreshed-admin.php:1035
     773#: includes/class-simpletaxonomyrefreshed-admin.php:30
    774774msgid "WPGraphQL"
    775775msgstr ""
    776776
    777 #: includes/class-simpletaxonomyrefreshed-admin.php:303, includes/class-simpletaxonomyrefreshed-admin.php:307, includes/class-simpletaxonomyrefreshed-admin.php:312, includes/class-simpletaxonomyrefreshed-admin.php:317
     777#: includes/class-simpletaxonomyrefreshed-admin.php:30
    778778msgid "Extra taxonomy-related functionality."
    779779msgstr ""
    780780
    781 #: includes/class-simpletaxonomyrefreshed-admin.php:304
     781#: includes/class-simpletaxonomyrefreshed-admin.php:30
    782782msgid "These parameters are for sites that have implemented WPGraphQL; and are not relevant if the plugin is not installed."
    783783msgstr ""
    784784
    785 #: includes/class-simpletaxonomyrefreshed-admin.php:305
     785#: includes/class-simpletaxonomyrefreshed-admin.php:30
    786786msgid "They are provided in the spirit of supporting no-coding. There is no requirement for this plugin."
    787787msgstr ""
    788788
    789 #: includes/class-simpletaxonomyrefreshed-admin.php:306, includes/class-simpletaxonomyrefreshed-admin.php:1039, includes/class-simpletaxonomyrefreshed-admin.php:1655
     789#: includes/class-simpletaxonomyrefreshed-admin.php:30
    790790msgid "Admin List Filter"
    791791msgstr ""
    792792
     793
     794
     795
     796
     797
     798
     799
     800
    793801#: includes/class-simpletaxonomyrefreshed-admin.php:308
    794 msgid "The admin screen for post types can optionally have a dropdown filter to select posts using the taxonomy."
    795 msgstr ""
    796 
    797 #: includes/class-simpletaxonomyrefreshed-admin.php:309
    798 msgid "This tab allows the taxonomy parameters to be entered appropriately for your use."
    799 msgstr ""
    800 
    801 #: includes/class-simpletaxonomyrefreshed-admin.php:310
    802802msgid "This provides appropriate subset of parmeters the standard WordPress functionality (wp_dropdown_categories)."
    803803msgstr ""
    804804
    805 #: includes/class-simpletaxonomyrefreshed-admin.php:311, includes/class-simpletaxonomyrefreshed-admin.php:1040, includes/class-simpletaxonomyrefreshed-admin.php:1735
     805#: includes/class-simpletaxonomyrefreshed-admin.php:3
    806806msgid "Term Count"
    807807msgstr ""
    808808
     809
     810
     811
     812
     813
     814
     815
     816
    809817#: includes/class-simpletaxonomyrefreshed-admin.php:313
    810 msgid "Standard WordPress functionality provides a count of the posts using a term on the Taxonomy Terms page - and this count is for only Published posts."
    811 msgstr ""
    812 
    813 #: includes/class-simpletaxonomyrefreshed-admin.php:314
    814 msgid "You may want this count to include posts with other statuses. You can set this behaviour on this tab."
    815 msgstr ""
    816 
    817 #: includes/class-simpletaxonomyrefreshed-admin.php:315
    818818msgid "If you have additional non-standard post_statuses that you wish to be included, this can be done, but it will require coding and use of the filter 'staxo_term_count_statuses'."
    819819msgstr ""
    820820
    821 #: includes/class-simpletaxonomyrefreshed-admin.php:316, includes/class-simpletaxonomyrefreshed-admin.php:1041, includes/class-simpletaxonomyrefreshed-admin.php:1790
     821#: includes/class-simpletaxonomyrefreshed-admin.php:31
    822822msgid "Term Control"
    823823msgstr ""
    824824
     825
     826
     827
     828
     829
     830
     831
     832
    825833#: includes/class-simpletaxonomyrefreshed-admin.php:318
    826 msgid "Standard WordPress functionality provides no limits on the number of terms that can be attached to a post."
     834msgid "."
    827835msgstr ""
    828836
    829837#: includes/class-simpletaxonomyrefreshed-admin.php:319
    830 msgid "This functionality provides this control. Using this tab, upper and lower bounds may be set for either Published posts or all posts."
     838msgid "Ths."
    831839msgstr ""
    832840
    833841#: includes/class-simpletaxonomyrefreshed-admin.php:320
    834 msgid "The tests will be applied at save post time (soft);  or also when the terms are added or removed (hard)."
    835 msgstr ""
    836 
    837 #: includes/class-simpletaxonomyrefreshed-admin.php:321
    838 msgid "Thus a user who can edit a post may not be able to add or remove terms but can be notified of the issue and make other updates."
     842msgid "."
     843msgstr ""
     844
     845#: includes/class-simpletaxonomyrefreshed-admin.php:3
     846msgid ""
    839847msgstr ""
    840848
    841849#: includes/class-simpletaxonomyrefreshed-admin.php:351
    842 msgid "Github Project page"
    843 msgstr ""
    844 
    845 #: includes/class-simpletaxonomyrefreshed-admin.php:352
    846850msgid "WP Support Forum"
    847851msgstr ""
    848852
    849853#. translators: %s is the taxonomy label name.
    850 #: includes/class-simpletaxonomyrefreshed-admin.php:384, includes/class-simpletaxonomyrefreshed-admin.php:392
     854#: includes/class-simpletaxonomyrefreshed-admin.php:38
    851855msgid "Your post needs to have more terms for the taxonomy - %s entered."
    852856msgstr ""
    853857
    854858#. translators: %s is the taxonomy label name.
    855 #: includes/class-simpletaxonomyrefreshed-admin.php:388, includes/class-simpletaxonomyrefreshed-admin.php:395
     859#: includes/class-simpletaxonomyrefreshed-admin.php:38
    856860msgid "Your post needs to have less terms for taxonomy - %s."
    857861msgstr ""
    858862
     863
     864
     865
     866
    859867#: includes/class-simpletaxonomyrefreshed-admin.php:402
    860 msgid "Your update has been cancelled and stored data remains unchanged."
    861 msgstr ""
    862 
    863 #: includes/class-simpletaxonomyrefreshed-admin.php:403
    864868msgid "Your browser may hold an updated version, but it is currently invalid."
    865869msgstr ""
    866870
    867 #: includes/class-simpletaxonomyrefreshed-admin.php:426
     871#: includes/class-simpletaxonomyrefreshed-admin.php:42
    868872msgid "Add Custom Taxonomy"
    869873msgstr ""
    870874
    871 #: includes/class-simpletaxonomyrefreshed-admin.php:423
     875#: includes/class-simpletaxonomyrefreshed-admin.php:42
    872876msgid "External Taxonomy : %s"
    873877msgstr ""
    874878
    875 #: includes/class-simpletaxonomyrefreshed-admin.php:420
     879#: includes/class-simpletaxonomyrefreshed-admin.php:4
    876880msgid "Custom Taxonomy : %s"
    877881msgstr ""
    878882
    879 #: includes/class-simpletaxonomyrefreshed-admin.php:434
     883#: includes/class-simpletaxonomyrefreshed-admin.php:43
    880884msgid "Add/Modify taxonomy"
    881885msgstr ""
    882886
    883887#. translators: %1$s is the taxonomy slug name.
    884 #: includes/class-simpletaxonomyrefreshed-admin.php:588
     888#: includes/class-simpletaxonomyrefreshed-admin.php:58
    885889msgid "Taxonomy \"%1$s\" and relations deleted successfully !"
    886890msgstr ""
    887891
    888892#. translators: %1$s is the taxonomy slug name.
    889 #: includes/class-simpletaxonomyrefreshed-admin.php:592
     893#: includes/class-simpletaxonomyrefreshed-admin.php:59
    890894msgid "Taxonomy \"%1$s\" deleted successfully !"
    891895msgstr ""
    892896
    893897#. translators: %1$s is the taxonomy slug name.
    894 #: includes/class-simpletaxonomyrefreshed-admin.php:596
     898#: includes/class-simpletaxonomyrefreshed-admin.php:59
    895899msgid "Taxonomy \"%1$s\" added successfully !"
    896900msgstr ""
    897901
    898902#. translators: %1$s is the taxonomy slug name.
    899 #: includes/class-simpletaxonomyrefreshed-admin.php:600
     903#: includes/class-simpletaxonomyrefreshed-admin.php:
    900904msgid "Taxonomy \"%1$s\" updated successfully !"
    901905msgstr ""
     
    10001004msgstr ""
    10011005
    1002 #: includes/class-simpletaxonomyrefreshed-admin.php:1015
     1006#: includes/class-simpletaxonomyrefreshed-admin.php:10
    10031007msgid "Click on the tabs to see all the options and facilities available."
    10041008msgstr ""
    10051009
    1006 #: includes/class-simpletaxonomyrefreshed-admin.php:1020
     1010#: includes/class-simpletaxonomyrefreshed-admin.php:102
    10071011msgid "The taxonomy is defined outside this plugin. These inputs are for integrating the taxonomy."
    10081012msgstr ""
    10091013
    1010 #: includes/class-simpletaxonomyrefreshed-admin.php:1021
     1014#: includes/class-simpletaxonomyrefreshed-admin.php:102
    10111015msgid "Note that these functionalities may already be defined for the taxonomy. Please check before defining then here."
    10121016msgstr ""
    10131017
    1014 #: includes/class-simpletaxonomyrefreshed-admin.php:1018
     1018#: includes/class-simpletaxonomyrefreshed-admin.php:10
    10151019msgid "The taxonomy definition options are spread across 7 tabs. The remaining 4 are for integrating the taxonomy."
    10161020msgstr ""
    10171021
    1018 #: includes/class-simpletaxonomyrefreshed-admin.php:1028, includes/class-simpletaxonomyrefreshed-admin.php:1047
     1022#: includes/class-simpletaxonomyrefreshed-admin.php:10
    10191023msgid "Main Options"
    10201024msgstr ""
    10211025
    1022 #: includes/class-simpletaxonomyrefreshed-admin.php:1029, includes/class-simpletaxonomyrefreshed-admin.php:1164
     1026#: includes/class-simpletaxonomyrefreshed-admin.php:10
    10231027msgid "Visibility"
    10241028msgstr ""
    10251029
    1026 #: includes/class-simpletaxonomyrefreshed-admin.php:1030
     1030#: includes/class-simpletaxonomyrefreshed-admin.php:103
    10271031msgid "Labels"
    10281032msgstr ""
    10291033
    1030 #: includes/class-simpletaxonomyrefreshed-admin.php:1031, includes/class-simpletaxonomyrefreshed-admin.php:1419
     1034#: includes/class-simpletaxonomyrefreshed-admin.php:103
    10311035msgid "Rewrite URL"
    10321036msgstr ""
    10331037
    1034 #: includes/class-simpletaxonomyrefreshed-admin.php:1032, includes/class-simpletaxonomyrefreshed-admin.php:1480
     1038#: includes/class-simpletaxonomyrefreshed-admin.php:103
    10351039msgid "Permissions"
    10361040msgstr ""
    10371041
    1038 #: includes/class-simpletaxonomyrefreshed-admin.php:1033
     1042#: includes/class-simpletaxonomyrefreshed-admin.php:103
    10391043msgid "REST"
    10401044msgstr ""
    10411045
    1042 #: includes/class-simpletaxonomyrefreshed-admin.php:1034
     1046#: includes/class-simpletaxonomyrefreshed-admin.php:103
    10431047msgid "Other"
    10441048msgstr ""
    10451049
    1046 #: includes/class-simpletaxonomyrefreshed-admin.php:1052
     1050#: includes/class-simpletaxonomyrefreshed-admin.php:105
    10471051msgid "Name (slug)"
    10481052msgstr ""
    10491053
    1050 #: includes/class-simpletaxonomyrefreshed-admin.php:1064
     1054#: includes/class-simpletaxonomyrefreshed-admin.php:106
    10511055msgid "<strong>Name</strong> is used on DB and to register taxonomy. (Lowercase alphanumeric and _ characters only)"
    10521056msgstr ""
    10531057
    1054 #: includes/class-simpletaxonomyrefreshed-admin.php:1070, includes/class-simpletaxonomyrefreshed-admin.php:1444, includes/class-simpletaxonomyrefreshed-admin.php:1700
     1058#: includes/class-simpletaxonomyrefreshed-admin.php:107
    10551059msgid "Hierarchical ?"
    10561060msgstr ""
    10571061
    1058 #: includes/class-simpletaxonomyrefreshed-admin.php:1081
     1062#: includes/class-simpletaxonomyrefreshed-admin.php:108
    10591063msgid "The default hierarchical in WordPress are categories. Default post tags WP aren't hierarchical."
    10601064msgstr ""
    10611065
    1062 #: includes/class-simpletaxonomyrefreshed-admin.php:1085, includes/class-simpletaxonomyrefreshed-admin.php:1667
     1066#: includes/class-simpletaxonomyrefreshed-admin.php:107
    10631067msgid "Post types"
    10641068msgstr ""
    10651069
    1066 #: includes/class-simpletaxonomyrefreshed-admin.php:1105
     1070#: includes/class-simpletaxonomyrefreshed-admin.php:11
    10671071msgid "Select which builtin or custom post types will use this taxonomy."
    10681072msgstr ""
    10691073
    1070 #: includes/class-simpletaxonomyrefreshed-admin.php:1109, includes/class-simpletaxonomyrefreshed-admin.php:2106
     1074#: includes/class-simpletaxonomyrefreshed-admin.php:11
    10711075msgid "Display Terms with Posts"
    10721076msgstr ""
    10731077
    1074 #: includes/class-simpletaxonomyrefreshed-admin.php:1118
     1078#: includes/class-simpletaxonomyrefreshed-admin.php:11
    10751079msgid "Option to display the terms on the Post page with associated data"
    10761080msgstr ""
    10771081
    1078 #: includes/class-simpletaxonomyrefreshed-admin.php:1122
     1082#: includes/class-simpletaxonomyrefreshed-admin.php:112
    10791083msgid "The following three parameters are only needed if taxonomy is displayed"
    10801084msgstr ""
    10811085
    1082 #: includes/class-simpletaxonomyrefreshed-admin.php:1123
     1086#: includes/class-simpletaxonomyrefreshed-admin.php:112
    10831087msgid "They can take the form of either simple text or as html data such as list tags. But all three need to be consistent types"
    10841088msgstr ""
    10851089
    1086 #: includes/class-simpletaxonomyrefreshed-admin.php:1129, includes/class-simpletaxonomyrefreshed-admin.php:2108
     1090#: includes/class-simpletaxonomyrefreshed-admin.php:11
    10871091msgid "Display Terms Before text"
    10881092msgstr ""
    10891093
    1090 #: includes/class-simpletaxonomyrefreshed-admin.php:1130
     1094#: includes/class-simpletaxonomyrefreshed-admin.php:113
    10911095msgid "This text will be used before the Post terms display list"
    10921096msgstr ""
    10931097
    1094 #: includes/class-simpletaxonomyrefreshed-admin.php:1131
     1098#: includes/class-simpletaxonomyrefreshed-admin.php:113
    10951099msgid "Simple text will be trimmed and a single space output after this."
    10961100msgstr ""
    10971101
    1098 #: includes/class-simpletaxonomyrefreshed-admin.php:1132, includes/class-simpletaxonomyrefreshed-admin.php:1140, includes/class-simpletaxonomyrefreshed-admin.php:1148
     1102#: includes/class-simpletaxonomyrefreshed-admin.php:113
    10991103msgid "Will also be used with the shortcode and post_terms block."
    11001104msgstr ""
    11011105
    1102 #: includes/class-simpletaxonomyrefreshed-admin.php:1137
     1106#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11031107msgid "Display Terms Separator text"
    11041108msgstr ""
    11051109
    1106 #: includes/class-simpletaxonomyrefreshed-admin.php:1138
     1110#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11071111msgid "This text will be used as the separator between the Post terms in the display list"
    11081112msgstr ""
    11091113
    1110 #: includes/class-simpletaxonomyrefreshed-admin.php:1139
     1114#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11111115msgid "By default, it will consist of a comma followed by a space."
    11121116msgstr ""
    11131117
    1114 #: includes/class-simpletaxonomyrefreshed-admin.php:1145, includes/class-simpletaxonomyrefreshed-admin.php:2110
     1118#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11151119msgid "Display Terms After text"
    11161120msgstr ""
    11171121
    1118 #: includes/class-simpletaxonomyrefreshed-admin.php:1146
     1122#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11191123msgid "This text will be used after the Post terms display list"
    11201124msgstr ""
    11211125
    1122 #: includes/class-simpletaxonomyrefreshed-admin.php:1147
     1126#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11231127msgid "Simple text will be trimmed and a single space output before this."
    11241128msgstr ""
    11251129
    1126 #: includes/class-simpletaxonomyrefreshed-admin.php:1153
     1130#: includes/class-simpletaxonomyrefreshed-admin.php:115
    11271131msgid "Show in feeds ?"
    11281132msgstr ""
    11291133
    1130 #: includes/class-simpletaxonomyrefreshed-admin.php:1154
     1134#: includes/class-simpletaxonomyrefreshed-admin.php:115
    11311135msgid "Whether taxonomy terms will be shown in post feeds"
    11321136msgstr ""
    11331137
    1134 #: includes/class-simpletaxonomyrefreshed-admin.php:1171
     1138#: includes/class-simpletaxonomyrefreshed-admin.php:117
    11351139msgid "Public ?"
    11361140msgstr ""
    11371141
    1138 #: includes/class-simpletaxonomyrefreshed-admin.php:1172
     1142#: includes/class-simpletaxonomyrefreshed-admin.php:117
    11391143msgid "Whether taxonomy queries can be performed from the front page."
    11401144msgstr ""
    11411145
    1142 #: includes/class-simpletaxonomyrefreshed-admin.php:1177
     1146#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11431147msgid "Publicly Queryable ?"
    11441148msgstr ""
    11451149
    1146 #: includes/class-simpletaxonomyrefreshed-admin.php:1178
     1150#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11471151msgid "Whether the taxonomy is publicly queryable."
    11481152msgstr ""
    11491153
    1150 #: includes/class-simpletaxonomyrefreshed-admin.php:1183
     1154#: includes/class-simpletaxonomyrefreshed-admin.php:118
    11511155msgid "Display on admin ?"
    11521156msgstr ""
    11531157
    1154 #: includes/class-simpletaxonomyrefreshed-admin.php:1184
     1158#: includes/class-simpletaxonomyrefreshed-admin.php:118
    11551159msgid "Whether to generate and allow a UI for managing terms in this taxonomy in the admin."
    11561160msgstr ""
    11571161
    1158 #: includes/class-simpletaxonomyrefreshed-admin.php:1189
     1162#: includes/class-simpletaxonomyrefreshed-admin.php:11
    11591163msgid "Show in Menu ?"
    11601164msgstr ""
    11611165
    1162 #: includes/class-simpletaxonomyrefreshed-admin.php:1190
     1166#: includes/class-simpletaxonomyrefreshed-admin.php:119
    11631167msgid "Whether to show the taxonomy in the admin menu. If true, the taxonomy is shown as a submenu of the object type menu. If false, no menu is shown."
    11641168msgstr ""
    11651169
    1166 #: includes/class-simpletaxonomyrefreshed-admin.php:1195
     1170#: includes/class-simpletaxonomyrefreshed-admin.php:1
    11671171msgid "Show in nav menu ?"
    11681172msgstr ""
    11691173
    1170 #: includes/class-simpletaxonomyrefreshed-admin.php:1196
     1174#: includes/class-simpletaxonomyrefreshed-admin.php:1
    11711175msgid "Makes this taxonomy available for selection in navigation menus."
    11721176msgstr ""
    11731177
    1174 #: includes/class-simpletaxonomyrefreshed-admin.php:1201
     1178#: includes/class-simpletaxonomyrefreshed-admin.php:120
    11751179msgid "Show in tag cloud widget ?"
    11761180msgstr ""
    11771181
    1178 #: includes/class-simpletaxonomyrefreshed-admin.php:1202
     1182#: includes/class-simpletaxonomyrefreshed-admin.php:120
    11791183msgid "Put this setting to true for display this taxonomy on settings of tag cloud widget."
    11801184msgstr ""
    11811185
    1182 #: includes/class-simpletaxonomyrefreshed-admin.php:1207
     1186#: includes/class-simpletaxonomyrefreshed-admin.php:12
    11831187msgid "Display in Quick Edit panel ?"
    11841188msgstr ""
    11851189
    1186 #: includes/class-simpletaxonomyrefreshed-admin.php:1208
     1190#: includes/class-simpletaxonomyrefreshed-admin.php:12
    11871191msgid "Whether to show the taxonomy in the quick/bulk edit panel."
    11881192msgstr ""
    11891193
    1190 #: includes/class-simpletaxonomyrefreshed-admin.php:1213
     1194#: includes/class-simpletaxonomyrefreshed-admin.php:121
    11911195msgid "Display a column on admin lists ?"
    11921196msgstr ""
    11931197
    1194 #: includes/class-simpletaxonomyrefreshed-admin.php:1214
     1198#: includes/class-simpletaxonomyrefreshed-admin.php:121
    11951199msgid "Whether to display a column for the taxonomy on its post type admin listing screens."
    11961200msgstr ""
    11971201
    1198 #: includes/class-simpletaxonomyrefreshed-admin.php:1219
     1202#: includes/class-simpletaxonomyrefreshed-admin.php:12
    11991203msgid "Show in REST ?"
    12001204msgstr ""
    12011205
    1202 #: includes/class-simpletaxonomyrefreshed-admin.php:1220
     1206#: includes/class-simpletaxonomyrefreshed-admin.php:122
    12031207msgid "Whether to include the taxonomy in the REST API and Block Editor."
    12041208msgstr ""
    12051209
    1206 #: includes/class-simpletaxonomyrefreshed-admin.php:1224
     1210#: includes/class-simpletaxonomyrefreshed-admin.php:122
    12071211msgid "Show in REST needs to be set to TRUE for the taxonomy to appear in the Block Editor."
    12081212msgstr ""
    12091213
    1210 #: includes/class-simpletaxonomyrefreshed-admin.php:1231
     1214#: includes/class-simpletaxonomyrefreshed-admin.php:123
    12111215msgid "Labels Wording"
    12121216msgstr ""
    12131217
    1214 #: includes/class-simpletaxonomyrefreshed-admin.php:1239
     1218#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12151219msgid "Name (label)"
    12161220msgstr ""
    12171221
    1218 #: includes/class-simpletaxonomyrefreshed-admin.php:1240
     1222#: includes/class-simpletaxonomyrefreshed-admin.php:124
    12191223msgid "This will be used as the taxonomy label."
    12201224msgstr ""
    12211225
    1222 #: includes/class-simpletaxonomyrefreshed-admin.php:1245
     1226#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12231227msgid "Name Field Description"
    12241228msgstr ""
    12251229
    1226 #: includes/class-simpletaxonomyrefreshed-admin.php:1246
     1230#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12271231msgid "The description of the name field."
    12281232msgstr ""
    12291233
    1230 #: includes/class-simpletaxonomyrefreshed-admin.php:1251
     1234#: includes/class-simpletaxonomyrefreshed-admin.php:125
    12311235msgid "Menu Name"
    12321236msgstr ""
    12331237
    1234 #: includes/class-simpletaxonomyrefreshed-admin.php:1252
     1238#: includes/class-simpletaxonomyrefreshed-admin.php:125
    12351239msgid "If not set this will default to the taxonomy label."
    12361240msgstr ""
    12371241
    1238 #: includes/class-simpletaxonomyrefreshed-admin.php:1257
     1242#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12391243msgid "Singular Name"
    12401244msgstr ""
    12411245
    1242 #: includes/class-simpletaxonomyrefreshed-admin.php:1263
     1246#: includes/class-simpletaxonomyrefreshed-admin.php:126
    12431247msgid "Search Terms"
    12441248msgstr ""
    12451249
    1246 #: includes/class-simpletaxonomyrefreshed-admin.php:1269
     1250#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12471251msgid "Popular Terms"
    12481252msgstr ""
    12491253
    1250 #: includes/class-simpletaxonomyrefreshed-admin.php:1275
     1254#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12511255msgid "All Terms"
    12521256msgstr ""
    12531257
    1254 #: includes/class-simpletaxonomyrefreshed-admin.php:1281
     1258#: includes/class-simpletaxonomyrefreshed-admin.php:128
    12551259msgid "Parent Term"
    12561260msgstr ""
    12571261
    1258 #: includes/class-simpletaxonomyrefreshed-admin.php:1287
     1262#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12591263msgid "Parent Term:"
    12601264msgstr ""
    12611265
    1262 #: includes/class-simpletaxonomyrefreshed-admin.php:1288
     1266#: includes/class-simpletaxonomyrefreshed-admin.php:12
    12631267msgid "Parent Term with colon"
    12641268msgstr ""
    12651269
    1266 #: includes/class-simpletaxonomyrefreshed-admin.php:1293
     1270#: includes/class-simpletaxonomyrefreshed-admin.php:129
    12671271msgid "Parent Term Field Description"
    12681272msgstr ""
    12691273
    1270 #: includes/class-simpletaxonomyrefreshed-admin.php:1294
     1274#: includes/class-simpletaxonomyrefreshed-admin.php:129
    12711275msgid "These Description texts will appear in the term item entry screen."
    12721276msgstr ""
    12731277
    1274 #: includes/class-simpletaxonomyrefreshed-admin.php:1300
     1278#: includes/class-simpletaxonomyrefreshed-admin.php:130
    12751279msgid "Slug Field Description"
    12761280msgstr ""
    12771281
    1278 #: includes/class-simpletaxonomyrefreshed-admin.php:1306
     1282#: includes/class-simpletaxonomyrefreshed-admin.php:13
    12791283msgid "Descriptiom Field Description"
    12801284msgstr ""
    12811285
    1282 #: includes/class-simpletaxonomyrefreshed-admin.php:1312
     1286#: includes/class-simpletaxonomyrefreshed-admin.php:131
    12831287msgid "Edit Term"
    12841288msgstr ""
    12851289
    1286 #: includes/class-simpletaxonomyrefreshed-admin.php:1318
     1290#: includes/class-simpletaxonomyrefreshed-admin.php:13
    12871291msgid "View Term"
    12881292msgstr ""
    12891293
    1290 #: includes/class-simpletaxonomyrefreshed-admin.php:1324
     1294#: includes/class-simpletaxonomyrefreshed-admin.php:132
    12911295msgid "Update Term"
    12921296msgstr ""
    12931297
    1294 #: includes/class-simpletaxonomyrefreshed-admin.php:1330
     1298#: includes/class-simpletaxonomyrefreshed-admin.php:133
    12951299msgid "Add New Term"
    12961300msgstr ""
    12971301
    1298 #: includes/class-simpletaxonomyrefreshed-admin.php:1336
     1302#: includes/class-simpletaxonomyrefreshed-admin.php:13
    12991303msgid "New Term Name"
    13001304msgstr ""
    13011305
    1302 #: includes/class-simpletaxonomyrefreshed-admin.php:1342
     1306#: includes/class-simpletaxonomyrefreshed-admin.php:134
    13031307msgid "Separate terms with commas"
    13041308msgstr ""
    13051309
    1306 #: includes/class-simpletaxonomyrefreshed-admin.php:1348
     1310#: includes/class-simpletaxonomyrefreshed-admin.php:13
    13071311msgid "Add or remove terms"
    13081312msgstr ""
    13091313
    1310 #: includes/class-simpletaxonomyrefreshed-admin.php:1354
     1314#: includes/class-simpletaxonomyrefreshed-admin.php:135
    13111315msgid "Choose from the most used terms"
    13121316msgstr ""
    13131317
    1314 #: includes/class-simpletaxonomyrefreshed-admin.php:1360
     1318#: includes/class-simpletaxonomyrefreshed-admin.php:136
    13151319msgid "No terms found"
    13161320msgstr ""
    13171321
    1318 #: includes/class-simpletaxonomyrefreshed-admin.php:1366
     1322#: includes/class-simpletaxonomyrefreshed-admin.php:13
    13191323msgid "No terms"
    13201324msgstr ""
    13211325
    1322 #: includes/class-simpletaxonomyrefreshed-admin.php:1372
     1326#: includes/class-simpletaxonomyrefreshed-admin.php:137
    13231327msgid "Items list navigation"
    13241328msgstr ""
    13251329
    1326 #: includes/class-simpletaxonomyrefreshed-admin.php:1378
     1330#: includes/class-simpletaxonomyrefreshed-admin.php:13
    13271331msgid "Items list"
    13281332msgstr ""
    13291333
    1330 #: includes/class-simpletaxonomyrefreshed-admin.php:1384
     1334#: includes/class-simpletaxonomyrefreshed-admin.php:138
    13311335msgid "Most used"
    13321336msgstr ""
    13331337
    1334 #: includes/class-simpletaxonomyrefreshed-admin.php:1390
     1338#: includes/class-simpletaxonomyrefreshed-admin.php:139
    13351339msgid "Label displayed after a term has been updated"
    13361340msgstr ""
    13371341
    1338 #: includes/class-simpletaxonomyrefreshed-admin.php:1396
     1342#: includes/class-simpletaxonomyrefreshed-admin.php:1
    13391343msgid "Related filter"
    13401344msgstr ""
    13411345
    1342 #: includes/class-simpletaxonomyrefreshed-admin.php:1397
     1346#: includes/class-simpletaxonomyrefreshed-admin.php:1
    13431347msgid "The related filter is displayed at the top of list tables, but only for hierarchical taxonomies"
    13441348msgstr ""
    13451349
    1346 #: includes/class-simpletaxonomyrefreshed-admin.php:1402
     1350#: includes/class-simpletaxonomyrefreshed-admin.php:140
    13471351msgid "Title for a navigation link block variation."
    13481352msgstr ""
    13491353
    1350 #: includes/class-simpletaxonomyrefreshed-admin.php:1403, includes/class-simpletaxonomyrefreshed-admin.php:1409
     1354#: includes/class-simpletaxonomyrefreshed-admin.php:140
    13511355msgid "Used in the block editor."
    13521356msgstr ""
    13531357
    1354 #: includes/class-simpletaxonomyrefreshed-admin.php:1408
     1358#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13551359msgid "Description for a navigation link block"
    13561360msgstr ""
    13571361
    1358 #: includes/class-simpletaxonomyrefreshed-admin.php:1426
     1362#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13591363msgid "Rewrite ?"
    13601364msgstr ""
    13611365
    1362 #: includes/class-simpletaxonomyrefreshed-admin.php:1427
     1366#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13631367msgid "Rewriting allows to build nice URL for your new custom taxonomy."
    13641368msgstr ""
    13651369
    1366 #: includes/class-simpletaxonomyrefreshed-admin.php:1432
     1370#: includes/class-simpletaxonomyrefreshed-admin.php:143
    13671371msgid "Rewrite Slug"
    13681372msgstr ""
    13691373
    1370 #: includes/class-simpletaxonomyrefreshed-admin.php:1433
     1374#: includes/class-simpletaxonomyrefreshed-admin.php:143
    13711375msgid "Customize the permastruct slug."
    13721376msgstr ""
    13731377
    1374 #: includes/class-simpletaxonomyrefreshed-admin.php:1438
     1378#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13751379msgid "With Front ?"
    13761380msgstr ""
    13771381
    1378 #: includes/class-simpletaxonomyrefreshed-admin.php:1439
     1382#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13791383msgid "Should the permastruct be prepended with WP_Rewrite::$front."
    13801384msgstr ""
    13811385
    1382 #: includes/class-simpletaxonomyrefreshed-admin.php:1445
     1386#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13831387msgid "Either hierarchical rewrite tag or not."
    13841388msgstr ""
    13851389
    1386 #: includes/class-simpletaxonomyrefreshed-admin.php:1449
     1390#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13871391msgid "EP_MASK"
    13881392msgstr ""
    13891393
    1390 #: includes/class-simpletaxonomyrefreshed-admin.php:1453
     1394#: includes/class-simpletaxonomyrefreshed-admin.php:145
    13911395msgid "EP_NONE"
    13921396msgstr ""
    13931397
    1394 #: includes/class-simpletaxonomyrefreshed-admin.php:1454
     1398#: includes/class-simpletaxonomyrefreshed-admin.php:145
    13951399msgid "EP_PERMALINK"
    13961400msgstr ""
    13971401
    1398 #: includes/class-simpletaxonomyrefreshed-admin.php:1455
     1402#: includes/class-simpletaxonomyrefreshed-admin.php:14
    13991403msgid "EP_ATTACHMENT"
    14001404msgstr ""
    14011405
    1402 #: includes/class-simpletaxonomyrefreshed-admin.php:1456
     1406#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14031407msgid "EP_DATE"
    14041408msgstr ""
    14051409
    1406 #: includes/class-simpletaxonomyrefreshed-admin.php:1457
     1410#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14071411msgid "EP_YEAR"
    14081412msgstr ""
    14091413
    1410 #: includes/class-simpletaxonomyrefreshed-admin.php:1458
     1414#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14111415msgid "EP_MONTH"
    14121416msgstr ""
    14131417
    1414 #: includes/class-simpletaxonomyrefreshed-admin.php:1459
     1418#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14151419msgid "EP_DAY"
    14161420msgstr ""
    14171421
    1418 #: includes/class-simpletaxonomyrefreshed-admin.php:1460
     1422#: includes/class-simpletaxonomyrefreshed-admin.php:146
    14191423msgid "EP_ROOT"
    14201424msgstr ""
    14211425
    1422 #: includes/class-simpletaxonomyrefreshed-admin.php:1461
     1426#: includes/class-simpletaxonomyrefreshed-admin.php:146
    14231427msgid "EP_COMMENTS"
    14241428msgstr ""
    14251429
    1426 #: includes/class-simpletaxonomyrefreshed-admin.php:1462
     1430#: includes/class-simpletaxonomyrefreshed-admin.php:146
    14271431msgid "EP_SEARCH"
    14281432msgstr ""
    14291433
    1430 #: includes/class-simpletaxonomyrefreshed-admin.php:1463
     1434#: includes/class-simpletaxonomyrefreshed-admin.php:146
    14311435msgid "EP_CATEGORIES"
    14321436msgstr ""
    14331437
    1434 #: includes/class-simpletaxonomyrefreshed-admin.php:1464
     1438#: includes/class-simpletaxonomyrefreshed-admin.php:146
    14351439msgid "EP_TAGS"
    14361440msgstr ""
    14371441
    1438 #: includes/class-simpletaxonomyrefreshed-admin.php:1465
     1442#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14391443msgid "EP_AUTHORS"
    14401444msgstr ""
    14411445
    1442 #: includes/class-simpletaxonomyrefreshed-admin.php:1466
     1446#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14431447msgid "EP_PAGES"
    14441448msgstr ""
    14451449
    1446 #: includes/class-simpletaxonomyrefreshed-admin.php:1469
     1450#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14471451msgid "Assign an endpoint mask."
    14481452msgstr ""
    14491453
    1450 #: includes/class-simpletaxonomyrefreshed-admin.php:1470
     1454#: includes/class-simpletaxonomyrefreshed-admin.php:147
    14511455msgid "N.B. Use CTRL or Mac Cmd to select multiple entries."
    14521456msgstr ""
    14531457
    1454 #: includes/class-simpletaxonomyrefreshed-admin.php:1487
     1458#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14551459msgid "Manage terms"
    14561460msgstr ""
    14571461
    1458 #: includes/class-simpletaxonomyrefreshed-admin.php:1488
     1462#: includes/class-simpletaxonomyrefreshed-admin.php:14
    14591463msgid "Ability to view terms in the administration. Defaults to 'manage_categories'."
    14601464msgstr ""
    14611465
    1462 #: includes/class-simpletaxonomyrefreshed-admin.php:1493
     1466#: includes/class-simpletaxonomyrefreshed-admin.php:149
    14631467msgid "Edit terms"
    14641468msgstr ""
    14651469
    1466 #: includes/class-simpletaxonomyrefreshed-admin.php:1494
     1470#: includes/class-simpletaxonomyrefreshed-admin.php:149
    14671471msgid "Grants the ability to edit and create terms. Defaults to 'manage_categories'"
    14681472msgstr ""
    14691473
    1470 #: includes/class-simpletaxonomyrefreshed-admin.php:1499
     1474#: includes/class-simpletaxonomyrefreshed-admin.php:1
    14711475msgid "Delete terms"
    14721476msgstr ""
    14731477
    1474 #: includes/class-simpletaxonomyrefreshed-admin.php:1500
     1478#: includes/class-simpletaxonomyrefreshed-admin.php:150
    14751479msgid "Gives permission to delete terms from the taxonomy. Defaults to 'manage_categories'."
    14761480msgstr ""
    14771481
    1478 #: includes/class-simpletaxonomyrefreshed-admin.php:1505
     1482#: includes/class-simpletaxonomyrefreshed-admin.php:15
    14791483msgid "Assign terms"
    14801484msgstr ""
    14811485
    1482 #: includes/class-simpletaxonomyrefreshed-admin.php:1506
     1486#: includes/class-simpletaxonomyrefreshed-admin.php:15
    14831487msgid "Capability for assigning terms in the new/edit post screen. Defaults to 'edit_terms'."
    14841488msgstr ""
    14851489
    1486 #: includes/class-simpletaxonomyrefreshed-admin.php:1516
     1490#: includes/class-simpletaxonomyrefreshed-admin.php:15
    14871491msgid "REST Functionality"
    14881492msgstr ""
    14891493
    1490 #: includes/class-simpletaxonomyrefreshed-admin.php:1518
     1494#: includes/class-simpletaxonomyrefreshed-admin.php:15
    14911495msgid "These values should only be set when specific processing is required."
    14921496msgstr ""
    14931497
    1494 #: includes/class-simpletaxonomyrefreshed-admin.php:1524
     1498#: includes/class-simpletaxonomyrefreshed-admin.php:152
    14951499msgid "REST Base"
    14961500msgstr ""
    14971501
    1498 #: includes/class-simpletaxonomyrefreshed-admin.php:1525
     1502#: includes/class-simpletaxonomyrefreshed-admin.php:15
    14991503msgid "To change the base url of REST API route."
    15001504msgstr ""
    15011505
    1502 #: includes/class-simpletaxonomyrefreshed-admin.php:1530
     1506#: includes/class-simpletaxonomyrefreshed-admin.php:153
    15031507msgid "REST Namespace"
    15041508msgstr ""
    15051509
    1506 #: includes/class-simpletaxonomyrefreshed-admin.php:1531
     1510#: includes/class-simpletaxonomyrefreshed-admin.php:153
    15071511msgid "Defaults to '/wp/v2'."
    15081512msgstr ""
    15091513
    1510 #: includes/class-simpletaxonomyrefreshed-admin.php:1536
     1514#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15111515msgid "REST Controller Class"
    15121516msgstr ""
    15131517
    1514 #: includes/class-simpletaxonomyrefreshed-admin.php:1537
     1518#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15151519msgid "REST API Controller class name. Default is 'WP_REST_Terms_Controller'."
    15161520msgstr ""
    15171521
    1518 #: includes/class-simpletaxonomyrefreshed-admin.php:1547
     1522#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15191523msgid "Other Options"
    15201524msgstr ""
    15211525
    1522 #: includes/class-simpletaxonomyrefreshed-admin.php:1554
     1526#: includes/class-simpletaxonomyrefreshed-admin.php:155
    15231527msgid "Query var"
    15241528msgstr ""
    15251529
    1526 #: includes/class-simpletaxonomyrefreshed-admin.php:1555
     1530#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15271531msgid "<strong>Query var</strong> is used for build URLs of taxonomy. If this value is empty, WordPress will use the taxonomy slug for build URL."
    15281532msgstr ""
    15291533
    1530 #: includes/class-simpletaxonomyrefreshed-admin.php:1560
     1534#: includes/class-simpletaxonomyrefreshed-admin.php:156
    15311535msgid "Update Count Callback"
    15321536msgstr ""
    15331537
    1534 #: includes/class-simpletaxonomyrefreshed-admin.php:1561
     1538#: includes/class-simpletaxonomyrefreshed-admin.php:156
    15351539msgid "Works much like a hook, in that it will be called when the count is updated."
    15361540msgstr ""
    15371541
    1538 #: includes/class-simpletaxonomyrefreshed-admin.php:1562
     1542#: includes/class-simpletaxonomyrefreshed-admin.php:156
    15391543msgid "Set to the text false to not display the metabox."
    15401544msgstr ""
    15411545
    1542 #: includes/class-simpletaxonomyrefreshed-admin.php:1567
     1546#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15431547msgid "Meta Box Callback"
    15441548msgstr ""
    15451549
    1546 #: includes/class-simpletaxonomyrefreshed-admin.php:1568
     1550#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15471551msgid "Provide a callback function for the meta box display."
    15481552msgstr ""
    15491553
    1550 #: includes/class-simpletaxonomyrefreshed-admin.php:1573
     1554#: includes/class-simpletaxonomyrefreshed-admin.php:157
    15511555msgid "Meta Box Sanitize Callback"
    15521556msgstr ""
    15531557
    1554 #: includes/class-simpletaxonomyrefreshed-admin.php:1574
     1558#: includes/class-simpletaxonomyrefreshed-admin.php:157
    15551559msgid "Callback function for sanitizing taxonomy data saved from a meta box."
    15561560msgstr ""
    15571561
    1558 #: includes/class-simpletaxonomyrefreshed-admin.php:1579
     1562#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15591563msgid "Sort ?"
    15601564msgstr ""
    15611565
    1562 #: includes/class-simpletaxonomyrefreshed-admin.php:1580
     1566#: includes/class-simpletaxonomyrefreshed-admin.php:158
    15631567msgid "Whether this taxonomy should remember the order in which terms are added to objects."
    15641568msgstr ""
    15651569
    1566 #: includes/class-simpletaxonomyrefreshed-admin.php:1585
     1570#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15671571msgid "Args - Taxonomy Items Sort Query"
    15681572msgstr ""
    15691573
    1570 #: includes/class-simpletaxonomyrefreshed-admin.php:1586
     1574#: includes/class-simpletaxonomyrefreshed-admin.php:15
    15711575msgid "Array giving query to order the taxonomy items attached to objects."
    15721576msgstr ""
    15731577
    1574 #: includes/class-simpletaxonomyrefreshed-admin.php:1591
     1578#: includes/class-simpletaxonomyrefreshed-admin.php:159
    15751579msgid "Default Term Name"
    15761580msgstr ""
    15771581
    1578 #: includes/class-simpletaxonomyrefreshed-admin.php:1592
     1582#: includes/class-simpletaxonomyrefreshed-admin.php:159
    15791583msgid "Default term name to apply to attach to objects."
    15801584msgstr ""
    15811585
    1582 #: includes/class-simpletaxonomyrefreshed-admin.php:1597
     1586#: includes/class-simpletaxonomyrefreshed-admin.php:1
    15831587msgid "Default Term Slug"
    15841588msgstr ""
    15851589
    1586 #: includes/class-simpletaxonomyrefreshed-admin.php:1598
     1590#: includes/class-simpletaxonomyrefreshed-admin.php:1
    15871591msgid "Default term slug for the default term."
    15881592msgstr ""
    15891593
    1590 #: includes/class-simpletaxonomyrefreshed-admin.php:1603
     1594#: includes/class-simpletaxonomyrefreshed-admin.php:160
    15911595msgid "Default Term Description"
    15921596msgstr ""
    15931597
    1594 #: includes/class-simpletaxonomyrefreshed-admin.php:1604
     1598#: includes/class-simpletaxonomyrefreshed-admin.php:160
    15951599msgid "Default term description for the default term."
    15961600msgstr ""
    15971601
    1598 #: includes/class-simpletaxonomyrefreshed-admin.php:1620
     1602#: includes/class-simpletaxonomyrefreshed-admin.php:162
    15991603msgid "WPGraphQL Support"
    16001604msgstr ""
    16011605
    1602 #: includes/class-simpletaxonomyrefreshed-admin.php:1627
     1606#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16031607msgid "Show in WPGraphQL ?"
    16041608msgstr ""
    16051609
    1606 #: includes/class-simpletaxonomyrefreshed-admin.php:1628
     1610#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16071611msgid "Whether this taxonomy is registered for WPGraphQL usage."
    16081612msgstr ""
    16091613
    1610 #: includes/class-simpletaxonomyrefreshed-admin.php:1632
     1614#: includes/class-simpletaxonomyrefreshed-admin.php:163
    16111615msgid "Following parameters are only needed if taxonomy is shown in WPGraphQL"
    16121616msgstr ""
    16131617
    1614 #: includes/class-simpletaxonomyrefreshed-admin.php:1638
     1618#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16151619msgid "Graph QL Single Name"
    16161620msgstr ""
    16171621
    1618 #: includes/class-simpletaxonomyrefreshed-admin.php:1639
     1622#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16191623msgid "Taxonomy Singular Name for WPGraphQL in camel case with no punctuation or spaces."
    16201624msgstr ""
    16211625
    1622 #: includes/class-simpletaxonomyrefreshed-admin.php:1644
     1626#: includes/class-simpletaxonomyrefreshed-admin.php:164
    16231627msgid "Graph QL Plural Name"
    16241628msgstr ""
    16251629
    1626 #: includes/class-simpletaxonomyrefreshed-admin.php:1645
     1630#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16271631msgid "Taxonomy Plural Name for WPGraphQL in camel case with no punctuation or spaces."
    16281632msgstr ""
    16291633
    1630 #: includes/class-simpletaxonomyrefreshed-admin.php:1659
     1634#: includes/class-simpletaxonomyrefreshed-admin.php:16
    16311635msgid "Taxonomy needs to be allocated to Post Types and Publicly Queryable."
    16321636msgstr ""
    16331637
    1634 #: includes/class-simpletaxonomyrefreshed-admin.php:1660
     1638#: includes/class-simpletaxonomyrefreshed-admin.php:166
    16351639msgid "Advisable to have a column on the admin list screen."
    16361640msgstr ""
    16371641
    1638 #: includes/class-simpletaxonomyrefreshed-admin.php:1664
     1642#: includes/class-simpletaxonomyrefreshed-admin.php:166
    16391643msgid "Attention. You can use this function to define a duplicate filter if it already exists"
    16401644msgstr ""
    16411645
    1642 #: includes/class-simpletaxonomyrefreshed-admin.php:1662
     1646#: includes/class-simpletaxonomyrefreshed-admin.php:166
    16431647msgid "(See Visibility tab for these parameters.)"
    16441648msgstr ""
    16451649
    1646 #: includes/class-simpletaxonomyrefreshed-admin.php:1693
     1650#: includes/class-simpletaxonomyrefreshed-admin.php:169
    16471651msgid "You can add this taxonomy as a filter field on the admin list screen for selected builtin or custom post types linked to this taxonomy."
    16481652msgstr ""
    16491653
    1650 #: includes/class-simpletaxonomyrefreshed-admin.php:1701
     1654#: includes/class-simpletaxonomyrefreshed-admin.php:170
    16511655msgid "Hierarchical dropdown. Only relevant for hierarchical taxonomies."
    16521656msgstr ""
    16531657
    1654 #: includes/class-simpletaxonomyrefreshed-admin.php:1706
     1658#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16551659msgid "Hierarchy Depth"
    16561660msgstr ""
    16571661
    1658 #: includes/class-simpletaxonomyrefreshed-admin.php:1707
     1662#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16591663msgid "Hierarchical dropdown depth. Only relevant for hierarchical taxonomies."
    16601664msgstr ""
    16611665
    1662 #: includes/class-simpletaxonomyrefreshed-admin.php:1712
     1666#: includes/class-simpletaxonomyrefreshed-admin.php:171
    16631667msgid "Show Count ?"
    16641668msgstr ""
    16651669
    1666 #: includes/class-simpletaxonomyrefreshed-admin.php:1713
     1670#: includes/class-simpletaxonomyrefreshed-admin.php:171
    16671671msgid "Whether to include post counts. Default false"
    16681672msgstr ""
    16691673
    1670 #: includes/class-simpletaxonomyrefreshed-admin.php:1718
     1674#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16711675msgid "Hide Empty"
    16721676msgstr ""
    16731677
    1674 #: includes/class-simpletaxonomyrefreshed-admin.php:1719
     1678#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16751679msgid "True to hide element if Term count is zero."
    16761680msgstr ""
    16771681
    1678 #: includes/class-simpletaxonomyrefreshed-admin.php:1724
     1682#: includes/class-simpletaxonomyrefreshed-admin.php:172
    16791683msgid "Hide if Empty"
    16801684msgstr ""
    16811685
    1682 #: includes/class-simpletaxonomyrefreshed-admin.php:1725
     1686#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16831687msgid "True to skip generating markup if no terms are found. Default false"
    16841688msgstr ""
    16851689
    1686 #: includes/class-simpletaxonomyrefreshed-admin.php:1739
     1690#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16871691msgid "A function has been defined for calculating term counts. This function is therefore not available."
    16881692msgstr ""
    16891693
    1690 #: includes/class-simpletaxonomyrefreshed-admin.php:1745
     1694#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16911695msgid "Term counts are normally based on Published posts. This option provides some no-coding configuration."
    16921696msgstr ""
    16931697
    1694 #: includes/class-simpletaxonomyrefreshed-admin.php:1747
     1698#: includes/class-simpletaxonomyrefreshed-admin.php:17
    16951699msgid "Count Options"
    16961700msgstr ""
    16971701
    1698 #: includes/class-simpletaxonomyrefreshed-admin.php:1750
     1702#: includes/class-simpletaxonomyrefreshed-admin.php:175
    16991703msgid "Standard (Publish)"
    17001704msgstr ""
    17011705
    1702 #: includes/class-simpletaxonomyrefreshed-admin.php:1751, includes/class-simpletaxonomyrefreshed-admin.php:1800
     1706#: includes/class-simpletaxonomyrefreshed-admin.php:175
    17031707msgid "Any (Except Trash)"
    17041708msgstr ""
    17051709
    1706 #: includes/class-simpletaxonomyrefreshed-admin.php:1752
     1710#: includes/class-simpletaxonomyrefreshed-admin.php:175
    17071711msgid "Selection"
    17081712msgstr ""
    17091713
    1710 #: includes/class-simpletaxonomyrefreshed-admin.php:1758, includes/class-simpletaxonomyrefreshed-admin.php:1807
     1714#: includes/class-simpletaxonomyrefreshed-admin.php:17
    17111715msgid "Additional parameters not shown as they are not applicable."
    17121716msgstr ""
    17131717
    1714 #: includes/class-simpletaxonomyrefreshed-admin.php:1763
     1718#: includes/class-simpletaxonomyrefreshed-admin.php:176
    17151719msgid "Status Selection"
    17161720msgstr ""
    17171721
    1718 #: includes/class-simpletaxonomyrefreshed-admin.php:1778
     1722#: includes/class-simpletaxonomyrefreshed-admin.php:17
    17191723msgid "Choose the set of Statuses to be included in Term counts."
    17201724msgstr ""
    17211725
    1722 #: includes/class-simpletaxonomyrefreshed-admin.php:1794
     1726#: includes/class-simpletaxonomyrefreshed-admin.php:179
    17231727msgid "Term controls are to be applied on posts. This option provides some no-coding configuration."
    17241728msgstr ""
    17251729
    1726 #: includes/class-simpletaxonomyrefreshed-admin.php:1796
     1730#: includes/class-simpletaxonomyrefreshed-admin.php:1
    17271731msgid "Post status"
    17281732msgstr ""
    17291733
    1730 #: includes/class-simpletaxonomyrefreshed-admin.php:1798
     1734#: includes/class-simpletaxonomyrefreshed-admin.php:1
    17311735msgid "No control applied"
    17321736msgstr ""
    17331737
    1734 #: includes/class-simpletaxonomyrefreshed-admin.php:1799
     1738#: includes/class-simpletaxonomyrefreshed-admin.php:1
    17351739msgid "Published only"
    17361740msgstr ""
    17371741
    1738 #: includes/class-simpletaxonomyrefreshed-admin.php:1802
     1742#: includes/class-simpletaxonomyrefreshed-admin.php:180
    17391743msgid "Choose  the statuses of posts to apply the control."
    17401744msgstr ""
    17411745
    1742 #: includes/class-simpletaxonomyrefreshed-admin.php:1812
     1746#: includes/class-simpletaxonomyrefreshed-admin.php:1843
     1747msgid "Select the Post Types to which the controls should apply. If none are selected then all eligible ones will be."
     1748msgstr ""
     1749
     1750#: includes/class-simpletaxonomyrefreshed-admin.php:1847
    17431751msgid "How Control is applied"
    17441752msgstr ""
    17451753
    1746 #: includes/class-simpletaxonomyrefreshed-admin.php:1814
     1754#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17471755msgid "When user cannot change terms give notification message but allow changes (notification at start of edit)"
    17481756msgstr ""
    17491757
    1750 #: includes/class-simpletaxonomyrefreshed-admin.php:1815
     1758#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17511759msgid "When the post is saved"
    17521760msgstr ""
    17531761
    1754 #: includes/class-simpletaxonomyrefreshed-admin.php:1816
     1762#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17551763msgid "As terms are changed and when the post is saved"
    17561764msgstr ""
    17571765
    1758 #: includes/class-simpletaxonomyrefreshed-admin.php:1818
     1766#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17591767msgid "Choose the control level to be applied."
    17601768msgstr ""
    17611769
    1762 #: includes/class-simpletaxonomyrefreshed-admin.php:1819
     1770#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17631771msgid "Notification option allows a user who can edit the post but cannot change the terms attached to make other updates."
    17641772msgstr ""
    17651773
    1766 #: includes/class-simpletaxonomyrefreshed-admin.php:1820
     1774#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17671775msgid "Other options will block the user from making updates if the number of terms are not within required limits."
    17681776msgstr ""
    17691777
    1770 #: includes/class-simpletaxonomyrefreshed-admin.php:1821
     1778#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17711779msgid "NOTE. The option to apply the control as terms are entered is a Work in Progress."
    17721780msgstr ""
    17731781
    1774 #: includes/class-simpletaxonomyrefreshed-admin.php:1822
     1782#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17751783msgid "Specifically issues may occur with Block Editor post types and their notifications."
    17761784msgstr ""
    17771785
    1778 #: includes/class-simpletaxonomyrefreshed-admin.php:1826
     1786#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17791787msgid "Minimum Control"
    17801788msgstr ""
    17811789
    1782 #: includes/class-simpletaxonomyrefreshed-admin.php:1832
     1790#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17831791msgid "Use minimum number of terms"
    17841792msgstr ""
    17851793
    1786 #: includes/class-simpletaxonomyrefreshed-admin.php:1833
     1794#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17871795msgid "Is there to be a control on the minimum number of terms."
    17881796msgstr ""
    17891797
    1790 #: includes/class-simpletaxonomyrefreshed-admin.php:1839
     1798#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17911799msgid "Minimum number of Terms"
    17921800msgstr ""
    17931801
    1794 #: includes/class-simpletaxonomyrefreshed-admin.php:1842
     1802#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17951803msgid "Select the minimum number of terms that can be attached to a post."
    17961804msgstr ""
    17971805
    1798 #: includes/class-simpletaxonomyrefreshed-admin.php:1846
     1806#: includes/class-simpletaxonomyrefreshed-admin.php:18
    17991807msgid "Maximum Control"
    18001808msgstr ""
    18011809
    1802 #: includes/class-simpletaxonomyrefreshed-admin.php:1852
     1810#: includes/class-simpletaxonomyrefreshed-admin.php:18
    18031811msgid "Use maximum number of terms"
    18041812msgstr ""
    18051813
    1806 #: includes/class-simpletaxonomyrefreshed-admin.php:1853
     1814#: includes/class-simpletaxonomyrefreshed-admin.php:18
    18071815msgid "Is there to be a control on the maximum number of terms."
    18081816msgstr ""
    18091817
    1810 #: includes/class-simpletaxonomyrefreshed-admin.php:1859
     1818#: includes/class-simpletaxonomyrefreshed-admin.php:18
    18111819msgid "Maximum number of Terms"
    18121820msgstr ""
    18131821
    1814 #: includes/class-simpletaxonomyrefreshed-admin.php:1862
     1822#: includes/class-simpletaxonomyrefreshed-admin.php:18
    18151823msgid "Select the maximum number of terms that can be attached to a post."
    18161824msgstr ""
    18171825
    1818 #: includes/class-simpletaxonomyrefreshed-admin.php:1920
     1826#: includes/class-simpletaxonomyrefreshed-admin.php:19
    18191827msgid "You cannot edit the Simple Taxonomy Refresher options."
    18201828msgstr ""
    18211829
    1822 #: includes/class-simpletaxonomyrefreshed-admin.php:1966
     1830#: includes/class-simpletaxonomyrefreshed-admin.php:
    18231831msgid "You are trying to edit a taxonomy without name. Impossible !"
    18241832msgstr ""
    18251833
    1826 #: includes/class-simpletaxonomyrefreshed-admin.php:2005
     1834#: includes/class-simpletaxonomyrefreshed-admin.php:20
    18271835msgid "Impossible to add your taxonomy... You must enter a taxonomy name."
    18281836msgstr ""
    18291837
    1830 #: includes/class-simpletaxonomyrefreshed-admin.php:1991
     1838#: includes/class-simpletaxonomyrefreshed-admin.php:
    18311839msgid "You are trying to add a taxonomy with a name already used by another taxonomy."
    18321840msgstr ""
    18331841
    1834 #: includes/class-simpletaxonomyrefreshed-admin.php:2031
     1842#: includes/class-simpletaxonomyrefreshed-admin.php:20
    18351843msgid "You are trying to output a taxonomy that doesn't exist..."
    18361844msgstr ""
    18371845
    1838 #: includes/class-simpletaxonomyrefreshed-admin.php:2109
     1846#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18391847msgid "Display Terms Separator"
    18401848msgstr ""
    18411849
    1842 #: includes/class-simpletaxonomyrefreshed-admin.php:2111
     1850#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18431851msgid "Show Terms in Feeds"
    18441852msgstr ""
    18451853
    1846 #: includes/class-simpletaxonomyrefreshed-admin.php:2117
     1854#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18471855msgid "Admin List screens for these post type(s) will have a filter list dropdown:"
    18481856msgstr ""
    18491857
    1850 #: includes/class-simpletaxonomyrefreshed-admin.php:2121
     1858#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18511859msgid "with wp_dropdown_categories parameters:"
    18521860msgstr ""
    18531861
    1854 #: includes/class-simpletaxonomyrefreshed-admin.php:2136
     1862#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18551863msgid "Term count callback modified."
    18561864msgstr ""
    18571865
    1858 #: includes/class-simpletaxonomyrefreshed-admin.php:2138
     1866#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18591867msgid "N.B. Callback parameter update_count_callback set, so will be ineffective"
    18601868msgstr ""
    18611869
    1862 #: includes/class-simpletaxonomyrefreshed-admin.php:2140
     1870#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18631871msgid "Applies to posts with status: "
    18641872msgstr ""
    18651873
    1866 #: includes/class-simpletaxonomyrefreshed-admin.php:2144
     1874#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18671875msgid "Published"
    18681876msgstr ""
    18691877
    1870 #: includes/class-simpletaxonomyrefreshed-admin.php:2145
     1878#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18711879msgid "Future"
    18721880msgstr ""
    18731881
    1874 #: includes/class-simpletaxonomyrefreshed-admin.php:2146
     1882#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18751883msgid "Default"
    18761884msgstr ""
    18771885
    1878 #: includes/class-simpletaxonomyrefreshed-admin.php:2147
     1886#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18791887msgid "Pending"
    18801888msgstr ""
    18811889
    1882 #: includes/class-simpletaxonomyrefreshed-admin.php:2148
     1890#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18831891msgid "Private"
    18841892msgstr ""
    18851893
    1886 #: includes/class-simpletaxonomyrefreshed-admin.php:2149
     1894#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18871895msgid "Trash"
    18881896msgstr ""
    18891897
    1890 #: includes/class-simpletaxonomyrefreshed-admin.php:2142
     1898#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18911899msgid "All except trash"
    18921900msgstr ""
    18931901
    1894 #: includes/class-simpletaxonomyrefreshed-admin.php:2155
     1902#: includes/class-simpletaxonomyrefreshed-admin.php:21
    18951903msgid "Terms control parameters set."
    18961904msgstr ""
    18971905
    1898 #: includes/class-simpletaxonomyrefreshed-admin.php:2156
     1906#: includes/class-simpletaxonomyrefreshed-admin.php:2195
     1907msgid "Applies to these post type(s)"
     1908msgstr ""
     1909
     1910#: includes/class-simpletaxonomyrefreshed-admin.php:2193
     1911msgid "Applies to all valid post type(s)"
     1912msgstr ""
     1913
     1914#: includes/class-simpletaxonomyrefreshed-admin.php:2200
    18991915msgid "Applies to posts with status:"
    19001916msgstr ""
    19011917
    1902 #: includes/class-simpletaxonomyrefreshed-admin.php:2160
     1918#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19031919msgid "All statuses except Trash."
    19041920msgstr ""
    19051921
    1906 #: includes/class-simpletaxonomyrefreshed-admin.php:2158
     1922#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19071923msgid "Published and Future only"
    19081924msgstr ""
    19091925
    1910 #: includes/class-simpletaxonomyrefreshed-admin.php:2168
     1926#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19111927msgid "Soft tests. I.e. Controls will apply on saving."
    19121928msgstr ""
    19131929
    1914 #: includes/class-simpletaxonomyrefreshed-admin.php:2166
     1930#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19151931msgid "Hard tests. I.e. Controls will apply during Form Editing and on saving."
    19161932msgstr ""
    19171933
    1918 #: includes/class-simpletaxonomyrefreshed-admin.php:2164
     1934#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19191935msgid "Notifications only if outside bounds will be given and user cannot change terms."
    19201936msgstr ""
    19211937
    1922 #: includes/class-simpletaxonomyrefreshed-admin.php:2175
     1938#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19231939msgid "No minimum number of terms."
    19241940msgstr ""
    19251941
    1926 #: includes/class-simpletaxonomyrefreshed-admin.php:2173
     1942#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19271943msgid "Minimum number of terms set to %d."
    19281944msgstr ""
    19291945
    1930 #: includes/class-simpletaxonomyrefreshed-admin.php:2182
     1946#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19311947msgid "No maximum number of terms."
    19321948msgstr ""
    19331949
    1934 #: includes/class-simpletaxonomyrefreshed-admin.php:2180
     1950#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19351951msgid "Maximum number of terms set to %d."
    19361952msgstr ""
    19371953
    1938 #: includes/class-simpletaxonomyrefreshed-admin.php:2259
     1954#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19391955msgid "You are trying to add a taxonomy with a name already used by an another taxonomy."
    19401956msgstr ""
    19411957
    1942 #: includes/class-simpletaxonomyrefreshed-admin.php:2302
     1958#: includes/class-simpletaxonomyrefreshed-admin.php:23
    19431959msgid "You are trying to edit a taxonomy with a name different as original. Use the Rename Slug function for this."
    19441960msgstr ""
    19451961
    1946 #: includes/class-simpletaxonomyrefreshed-admin.php:2449
     1962#: includes/class-simpletaxonomyrefreshed-admin.php:24
    19471963msgid "You are trying to delete a taxonomy that does not exist."
    19481964msgstr ""
    19491965
    19501966#. translators: %1$s is the taxonomy label name; %2$d is the required minimum number of terms.
    1951 #: includes/class-simpletaxonomyrefreshed-admin.php:2649, includes/class-simpletaxonomyrefreshed-admin.php:2802, includes/class-simpletaxonomyrefreshed-admin.php:2890, includes/class-simpletaxonomyrefreshed-admin.php:2969
     1967#: includes/class-simpletaxonomyrefreshed-admin.php:26
    19521968msgid "The number of terms for taxonomy (%1$s) is less than the required minimum number %2$d."
    19531969msgstr ""
    19541970
    1955 #: includes/class-simpletaxonomyrefreshed-admin.php:2655, includes/class-simpletaxonomyrefreshed-admin.php:2641
     1971#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19561972msgid "For information as you cannot add them."
    19571973msgstr ""
    19581974
    1959 #: includes/class-simpletaxonomyrefreshed-admin.php:2657, includes/class-simpletaxonomyrefreshed-admin.php:2643, includes/class-simpletaxonomyrefreshed-admin.php:2709
     1975#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19601976msgid "N.B. You will not be able to save any changes!"
    19611977msgstr ""
    19621978
    1963 #: includes/class-simpletaxonomyrefreshed-admin.php:2652
     1979#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19641980msgid "Please review and add additional terms before trying to save."
    19651981msgstr ""
    19661982
    1967 #: includes/class-simpletaxonomyrefreshed-admin.php:2635
     1983#: includes/class-simpletaxonomyrefreshed-admin.php:26
    19681984msgid "The number of terms for taxonomy (%1$s) needs to be at least %2$d."
    19691985msgstr ""
    19701986
    1971 #: includes/class-simpletaxonomyrefreshed-admin.php:2638
     1987#: includes/class-simpletaxonomyrefreshed-admin.php:26
    19721988msgid "Please review and add additional terms."
    19731989msgstr ""
     
    19751991#. translators: %1$s is the taxonomy label; %2$d is the required maximum number of terms.
    19761992#. translators: %1$s is the taxonomy label name; %2$d is the required maximum number of terms.
    1977 #: includes/class-simpletaxonomyrefreshed-admin.php:2701, includes/class-simpletaxonomyrefreshed-admin.php:2804, includes/class-simpletaxonomyrefreshed-admin.php:2899, includes/class-simpletaxonomyrefreshed-admin.php:2972
     1993#: includes/class-simpletaxonomyrefreshed-admin.php:27
    19781994msgid "The number of terms for taxonomy (%1$s) is greater than the required maximum number %2$d."
    19791995msgstr ""
    19801996
    1981 #: includes/class-simpletaxonomyrefreshed-admin.php:2707
     1997#: includes/class-simpletaxonomyrefreshed-admin.php:27
    19821998msgid "For information as you cannot remove them."
    19831999msgstr ""
    19842000
    1985 #: includes/class-simpletaxonomyrefreshed-admin.php:2704
     2001#: includes/class-simpletaxonomyrefreshed-admin.php:27
    19862002msgid "Please review and remove terms before trying to save."
    19872003msgstr ""
    19882004
    1989 #: includes/class-simpletaxonomyrefreshed-admin.php:2883
     2005#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19902006msgid "Publishing is blocked."
    19912007msgstr ""
    19922008
    1993 #: includes/class-simpletaxonomyrefreshed-admin.php:2883
     2009#: includes/class-simpletaxonomyrefreshed-admin.php:2
    19942010msgid "Saving is blocked."
    19952011msgstr ""
    19962012
    19972013#. translators: %s is the taxonomy label name.
    1998 #: includes/class-simpletaxonomyrefreshed-admin.php:3064
     2014#: includes/class-simpletaxonomyrefreshed-admin.php:3
    19992015msgid "Not enough terms entered for Taxonomy \"%s\""
    20002016msgstr ""
    20012017
    20022018#. translators: %s is the taxonomy label name.
    2003 #: includes/class-simpletaxonomyrefreshed-admin.php:3073
     2019#: includes/class-simpletaxonomyrefreshed-admin.php:3
    20042020msgid "Too many terms entered for Taxonomy \"%s\""
    20052021msgstr ""
    20062022
    2007 #: includes/class-simpletaxonomyrefreshed-admin.php:3175
     2023#: includes/class-simpletaxonomyrefreshed-admin.php:3
    20082024msgid "None"
    20092025msgstr ""
    20102026
    2011 #: includes/class-simpletaxonomyrefreshed-admin.php:3176
     2027#: includes/class-simpletaxonomyrefreshed-admin.php:3
    20122028msgid "Content"
    20132029msgstr ""
    20142030
    2015 #: includes/class-simpletaxonomyrefreshed-admin.php:3177
     2031#: includes/class-simpletaxonomyrefreshed-admin.php:3
    20162032msgid "Excerpt"
    20172033msgstr ""
    20182034
    2019 #: includes/class-simpletaxonomyrefreshed-admin.php:3178
     2035#: includes/class-simpletaxonomyrefreshed-admin.php:3
    20202036msgid "Content and excerpt"
    20212037msgstr ""
     
    20712087#: includes/class-simpletaxonomyrefreshed-widget.php:396
    20722088msgid "Minimum count of posts for term to be shown"
     2089
     2090
     2091
     2092
    20732093msgstr ""
    20742094
  • simple-taxonomy-refreshed/trunk/readme.txt

    r2820068 r2897279  
    33Contributors: nwjames, momo360modena
    44Tags: tags, taxonomies, custom taxonomies, taxonomy, category, block editor
    5 Tested up to: 6.1.1
     5Tested up to: 6.
    66Requires PHP: 7.1
    7 Stable tag: 3.0.0
     7Stable tag: 3..0
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5858
    5959== Changelog ==
     60
     61
     62
     63
     64
     65
    6066
    6167* Version 3.0.0  (17/11/2022)
  • simple-taxonomy-refreshed/trunk/simple-taxonomy-refreshed.php

    r2820062 r2897279  
    55 * Description:       WordPress provides simple custom taxonomy, this plugin makes it even simpler, removing the need for you to write <em>any</em> code
    66 *                    Converted, Standardised and Extended from Simple Taxonomy by Amaury Balmer
    7  * Version:           3.0.0
     7 * Version:           3..0
    88 * Requires at least: 4.8
    99 * Requires PHP:      7.1
     
    1717
    1818/*
    19 Copyright This Version 2019-22 Neil James (neil@familyjames.com)
     19Copyright This Version 2019-2 Neil James (neil@familyjames.com)
    2020Copyright Original Version 2010-2013 Amaury Balmer (amaury@beapi.fr)
    2121
     
    8484        $staxo_c = SimpleTaxonomyRefreshed_Admin_Conversion::get_instance();
    8585        $staxo_i = SimpleTaxonomyRefreshed_Admin_Import::get_instance();
    86         $staxo_o = SimpleTaxonomyRefreshed_Admin_Merge::get_instance();
     86        $staxo_ = SimpleTaxonomyRefreshed_Admin_Merge::get_instance();
    8787        $staxo_o = SimpleTaxonomyRefreshed_Admin_Order::get_instance();
    8888        $staxo_r = SimpleTaxonomyRefreshed_Admin_Rename::get_instance();
Note: See TracChangeset for help on using the changeset viewer.