Plugin Directory

Changeset 1987337


Ignore:
Timestamp:
12/07/2018 12:16:53 AM (7 years ago)
Author:
GeekStreetWP
Message:

update the plugin against 81 top plugins and ready for 5.0.

Location:
query-all-the-post-types
Files:
97 added
3 edited

Legend:

Unmodified
Added
Removed
  • query-all-the-post-types/trunk/qatp.php

    r1638648 r1987337  
    88      $obj = get_post_type_object( $post_type );
    99      //start core hidden cpts
    10        if ( in_array( $post_type, array( 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', ) ) ) {
     10       if ( in_array( $post_type, array( 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', ) ) ) {
    1111        echo '<div class="postbox">';
    1212          echo '<div style="background-color:#32373c;width:100%;display:inline-block;vertical-align:middle;"><h2 style="color:#fff;"><span>WordPress Core - Hidden CPT</span></h2></div>';
     
    440440      }
    441441      //Start Regular CPTs
    442       else if ( in_array( $post_type, array( 'acf', 'bp-email', 'download', 'forum', 'give_forms', 'reply', 'topic', 'tribe_events', 'tribe_organizer', 'tribe_venue', ) ) ) {
     442      else if ( in_array( $post_type, array( 'acf', 'bp-email', 'download', 'forum', 'give_forms', 'reply', 'topic', 'tribe_events', 'tribe_organizer', 'tribe_venue', 'acf-field-group', 'cookielawinfo', 'elementor_library', ) ) ) {
    443443        echo '<div class="postbox">';
    444444        echo '<div style="background-color: #00a0d2;color: #fff;">';
     
    528528      //stop Regular CPTs
    529529      // Start all hidden cpts
    530       else if ( in_array( $post_type, array( 'tribe-ea-record', 'deleted_event', 'edd_log', 'edd_payment', 'edd_discount', 'product_variation', 'shop_order_refund', 'give_log', 'give_payment', '_pods_pod', '_pods_field', 'tablepress_table', 'tribe-ea-record', 'deleted_event', 'edd_log', 'edd_payment', 'edd_discount', 'product_variation', 'shop_order_refund', 'maintainn-notes' ) ) ) {
     530      else if ( in_array( $post_type, array( 'tribe-ea-record', 'deleted_event', 'edd_log', 'edd_payment', 'edd_discount', 'product_variation', 'shop_order_refund', 'give_log', 'give_payment', '_pods_pod', '_pods_field', 'tablepress_table', 'tribe-ea-record', 'deleted_event', 'edd_log', 'edd_payment', 'edd_discount', 'product_variation', 'shop_order_refund', 'maintainn-notes', 'acf-field', 'jp_pay_order', 'jp_pay_product', 'amn_exact-metrics', 'amn_mi-lite', 'amn_smtp', 'amn_wpforms-lite', 'display_type', 'displayed_gallery', 'flamingo_contact', 'flamingo_inbound', 'flamingo_outbound', 'gal_display_source', 'lightbox_library', 'mc4wp-form', 'ml-slide', 'ml-slider', 'nf_sub', 'ngg_album', 'ngg_gallery', 'ngg_pictures', 'omapi', 'scheduled-action', 'wpforms', 'wpforms_log', ) ) ) {
    531531        echo '<div class="postbox">';
    532532        echo '<div style="background-color:#82878c;width:100%;display:inline-block;vertical-align:middle;"><h2 style="color:#fff;"><span>Hidden CPT</span></h2></div>';
  • query-all-the-post-types/trunk/query_all_the_post_types.php

    r1638648 r1987337  
    44 * Plugin URI: https://wordpress.org/plugins/query-all-the-post-types/
    55 * Description: A top level view of all the active post types, custom post types & associated taxonomies currently registered on your WordPress install.
    6  * Version: 1.9.3
     6 * Version: 1.9.4
    77 * Author: Russell Aaron
    88 * Author URI: http://russellenvy.com
     
    1111 */
    1212  if ( ! defined( 'ABSPATH' ) ) {exit;}
    13 define( 'qatp_version', '1.9.3' );
     13define( 'qatp_version', '1.9.4' );
    1414include 'create-menu.php';
    1515//code used from Hugh Lashbrooke - http://www.hughlashbrooke.com/2012/07/wordpress-add-plugin-settings-link-to-plugins-page/
  • query-all-the-post-types/trunk/readme.txt

    r1787850 r1987337  
    6969
    7070== Changelog ==
     71
     72= 1.9.4 =
     73* Installed Most Popular 81 plugins from WordPress.org Tested each Post Type name to see if they're public, private or hidden. Updated our list of arrays.
     74* Tested with WP 5.0. Ready to go.
    7175
    7276= 1.9.3 =
Note: See TracChangeset for help on using the changeset viewer.