upgraded to 4.14
This commit is contained in:
@ -2504,6 +2504,7 @@ function et_fb_get_nonces() {
|
||||
'getTags' => wp_create_nonce( 'et_builder_ajax_get_tags' ),
|
||||
'searchProducts' => wp_create_nonce( 'et_builder_ajax_search_products' ),
|
||||
'getDisplayConditionsStatus' => wp_create_nonce( 'et_builder_ajax_get_display_conditions_status' ),
|
||||
'getPostMetaFields' => wp_create_nonce( 'et_builder_ajax_get_post_meta_fields' ),
|
||||
'globalColorsSave' => wp_create_nonce( 'et_builder_global_colors_save' ),
|
||||
'defaultColorsUpdate' => wp_create_nonce( 'et_builder_default_colors_update' ),
|
||||
);
|
||||
@ -7116,11 +7117,12 @@ function et_builder_filter_main_query_paged_for_blog_module( $query ) {
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
global $__et_blog_module_paged;
|
||||
global $__et_blog_module_paged, $__et_portfolio_module_paged;
|
||||
|
||||
// phpcs:ignore WordPress.Security.NonceVerification -- This function does not change any state, and is therefore not susceptible to CSRF.
|
||||
if ( isset( $_GET['et_blog'] ) && $query->is_main_query() ) {
|
||||
$__et_blog_module_paged = $query->get( 'paged' );
|
||||
if ( ( isset( $_GET['et_blog'] ) || isset( $_GET['et_portfolio'] ) ) && $query->is_main_query() ) {
|
||||
$__et_blog_module_paged = $query->get( 'paged' );
|
||||
$__et_portfolio_module_paged = $query->get( 'paged' );
|
||||
$query->set( 'paged', 0 );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user