Plugin Directory

Changeset 3394756


Ignore:
Timestamp:
11/13/2025 04:17:07 AM (4 months ago)
Author:
xfinitysoft
Message:

Fix All bugs and issue

Location:
wp-post-hide
Files:
60 added
14 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • wp-post-hide/trunk/readme.txt

    r3372888 r3394756  
    66Requires at least: 5.0
    77Tested up to: 6.8
    8 Stable tag: 2.0.0
     8Stable tag: 2.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    244244
    245245== Changelog ==
    246 
     246= 2.0.1 -2025-11-13 =
     247Fix All bug and issue.
    247248= 2.0.0 - 2025-01-15 =
    248249**🎉 MAJOR RELEASE - Complete Feature Overhaul**
  • wp-post-hide/trunk/wp-post-hide.php

    r3353756 r3394756  
    55 * @link              http://xfinitysoft.com/
    66 * @since             0.0.1
    7  * @package WordPress Hide Post
     7 * @package WP Post Hide
    88 * Plugin Name: WP Post Hide
    99 * Description: Control the visibility of post type items like pages, posts, and custom post types. Hidden in specific parts but other parts still visible.
    1010 * Plugin URI:http://www.xfinitysoft.com/wordpress-post-hide/
    11  * Version: 2.0.0
     11 * Version: 2.0.1
    1212 * Author:Xfinity Soft
    1313 * Author URI:http://www.xfinitysoft.com/
    14  * Text Domain:xswpph-domain
     14 * Text Domain:xswphp-domain
    1515 * Domain Path: /languages
    1616 */
     
    4343
    4444// Define  XSWPPH_PLUGIN_FILE.
    45 if ( ! defined( 'XSWPPH_PLUGIN_FILE' ) ) {
    46     define( 'XSWPPH_PLUGIN_FILE', __FILE__ );
     45if ( ! defined( 'XSWPHP_PLUGIN_FILE' ) ) {
     46    define( 'XSWPHP_PLUGIN_FILE', __FILE__ );
     47}
     48// Define  XSWPPH_PLUGIN_FILE.
     49if ( ! defined( 'XSWPHP_VERSION' ) ) {
     50    define( 'XSWPHP_VERSION', '2.0.1' );
    4751}
    4852
    4953// Includes main class of wphp.
    50 if ( ! class_exists( 'XSWPPH_Main' ) ) {
    51     include_once __DIR__ . '/includes/classes/class-xswpph-main.php';
     54if ( ! class_exists( 'XSWPHP_Main' ) ) {
     55    include_once __DIR__ . '/includes/classes/class-xswphp-main.php';
    5256}
    5357
     
    5761 * Returns the main instance of XSWPPH_Main to prevent the need to use globals.
    5862 *
    59  * @return XSWPPH_Main
     63 * @return XSWPHP_Main
    6064 */
    61 function xswpph_main() {
    62     return XSWPPH_Main::xswpph_instance();
     65function xswphp_main() {
     66    return new XSWPHP_Main();
    6367}
    6468
    6569// Global for backwards compatibility.
    66 $GLOBALS['xs-wp-post-hide'] = xswpph_main();
     70$GLOBALS['xs-wp-post-hide'] = xswphp_main();
Note: See TracChangeset for help on using the changeset viewer.