| @@ -1,12 +1,15 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | - * Plugin Name: PostX | |
| 5 | - * Description: <a href="https://www.wpxpo.com/postx/?utm_source=db-postx-plugin&utm_medium=details&utm_campaign=postx-dashboard">PostX</a> is the #1 Gutenberg Blocks plugin with 38+ free blocks that includes post gird, post list, post slider, carousel, news ticker, etc. Advanced capabilities like dynamic site building and design variations make it the best choice for creating News Magazine sites, and any kind of blog such as Personal Blogs, Travel Blogs, Fashion Blogs, Food Reviews, Recipe Blogs, etc. | |
| 6 | - * Version: 5.0.31 | |
| 4 | + * Plugin Name: Post Grid Gutenberg Blocks - PostX | |
| 5 | + * Plugin URI: https://www.wpxpo.com/postx/ | |
| 6 | + * Description: Gutenberg Blocks plugin with 38+ free blocks that include post grid, post list, post slider, carousel, news ticker, and more. Dynamic site building and design variations make it a fit for News Magazine sites and any kind of blog, such as Personal, Travel, Fashion, Food Review and Recipe blogs. | |
| 7 | + * Version: 5.1.0 | |
| 7 | 8 | * Author: Post Grid Team by WPXPO |
| 8 | 9 | * Author URI: https://www.wpxpo.com/postx/?utm_source=db-postx-plugin&utm_medium=details&utm_campaign=postx-dashboard |
| 10 | + * Requires at least: 6.0 | |
| 11 | + * Requires PHP: 7.4 | |
| 9 | 12 | * Text Domain: ultimate-post |
| 10 | 13 | * License: GPLv3 |
| 11 | 14 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 12 | 15 | */ |
| @@ -13,13 +16,13 @@ | ||
| 13 | 16 | |
| 14 | 17 | defined( 'ABSPATH' ) || exit; |
| 15 | 18 | |
| 16 | 19 | // Define |
| 17 | -define( 'ULTP_VER', '5.0.31' ); | |
| 20 | +define( 'ULTP_VER', '5.1.0' ); | |
| 18 | 21 | define( 'ULTP_URL', plugin_dir_url( __FILE__ ) ); |
| 19 | 22 | define( 'ULTP_BASE', plugin_basename( __FILE__ ) ); |
| 20 | 23 | define( 'ULTP_PATH', plugin_dir_path( __FILE__ ) ); |
| 21 | -define( 'ULTP_HELLOBAR', '4122' ); | |
| 24 | +define( 'ULTP_HELLOBAR', '510' ); | |
| 22 | 25 | |
| 23 | 26 | |
| 24 | 27 | // Language Load |
| 25 | 28 | add_action( 'init', 'ultp_language_load' ); |
| @@ -27,13 +30,13 @@ | ||
| 27 | 30 | // template section wrapped inside a hook for netwrok site compatibility |
| 28 | 31 | // Template |
| 29 | 32 | require_once ULTP_PATH . 'classes/Templates.php'; |
| 30 | 33 | new \ULTP\Templates(); |
| 31 | - load_plugin_textdomain( 'ultimate-post', false, basename( __DIR__ ) . '/languages/' ); | |
| 32 | 34 | } |
| 33 | 35 | |
| 34 | 36 | // Common Function |
| 35 | 37 | if ( ! function_exists( 'ultimate_post' ) ) { |
| 38 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Public API used by PostX Pro and themes; renaming breaks them. | |
| 36 | 39 | function ultimate_post() { |
| 37 | 40 | require_once ULTP_PATH . 'classes/Functions.php'; |
| 38 | 41 | return \ULTP\Functions::get_instance(); |
| 39 | 42 | } |