Skip to content

Commit

Permalink
Merge pull request #88 from WP-for-Church/dev
Browse files Browse the repository at this point in the history
Release 2.5.2
  • Loading branch information
Nikola Miljković authored Sep 14, 2017
2 parents 797da79 + dec1081 commit 22f4098
Show file tree
Hide file tree
Showing 73 changed files with 313 additions and 198 deletions.
1 change: 1 addition & 0 deletions includes/CMB2/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Bootstraps the CMB2 process
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 - The core metabox object
*
Expand Down
2 changes: 1 addition & 1 deletion includes/CMB2/includes/CMB2_Ajax.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 ajax methods
* (i.e. a lot of work to get oEmbeds to work with non-post objects)
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 Base - Base object functionality.
*
Expand Down
2 changes: 1 addition & 1 deletion includes/CMB2/includes/CMB2_Boxes.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* A CMB2 object instance registry for storing every CMB2 instance.
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 field objects
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Field_Display.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 field display base.
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Hookup_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Base class for hooking CMB2 into WordPress.
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_JS.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Handles the dependencies and enqueueing of the CMB2 JS scripts
*
Expand Down
2 changes: 1 addition & 1 deletion includes/CMB2/includes/CMB2_Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license GPL-2.0+
* @link http://webdevstudios.com
*/

defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Retrieves an instance of CMB2_Option based on the option key
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Sanitize.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 field sanitization
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Show_Filters.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Show On Filters
* Use the 'cmb2_show_on' filter to further refine the conditions
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Types.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB field type objects
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_Utils.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 Utilities
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/CMB2_hookup.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Handles hooking CMB2 forms/metaboxes into the post/attachement/user screens
* and handles hooking in and saving those fields.
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/helper-functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 Helper Functions
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/rest-api/CMB2_REST.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* Handles hooking CMB2 objects/fields into the WordPres REST API
* which can allow fields to be read and/or updated.
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/rest-api/CMB2_REST_Controller.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
if ( ! class_exists( 'WP_REST_Controller' ) ) {
// Shim the WP_REST_Controller class if wp-api plugin not installed, & not in core.
require_once cmb2_dir( 'includes/shim/WP_REST_Controller.php' );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 objects/boxes endpoint for WordPres REST API.
* Allows access to boxes configuration data.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB2 objects/fields endpoint for WordPres REST API.
* Allows access to fields registered to a specific box.
Expand Down
2 changes: 1 addition & 1 deletion includes/CMB2/includes/shim/WP_REST_Controller.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

defined( 'ABSPATH' ) or die; // exit if accessed directly

abstract class WP_REST_Controller {

Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB base field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Checkbox.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB checkbox field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Colorpicker.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB colorpicker field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_File.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB file field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_File_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB File base field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_File_List.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB file_list field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Multi_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB Multi base field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Multicheck.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB multicheck field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Oembed.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB oembed field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Picker_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB Picker base field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Radio.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB radio field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Select.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB select field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Select_Timezone.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB select_timezone field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Taxonomy_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB Taxonomy base field type
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB taxonomy_multicheck field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Taxonomy_Radio.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB taxonomy_radio field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Taxonomy_Select.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB taxonomy_select field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Text.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB text field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Text_Date.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB text_date field type
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB text_datetime_timestamp field type
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB text_datetime_timestamp_timezone field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Text_Time.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB text_time field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Textarea.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB textarea field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Textarea_Code.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB textarea_code field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Title.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB title field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/includes/types/CMB2_Type_Wysiwyg.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* CMB wysiwyg field type
*
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2/init.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly
/**
* @category WordPress_Plugin
* @package CMB2
Expand Down
2 changes: 2 additions & 0 deletions includes/admin-functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly

add_action( 'admin_init', 'wpfc_maybe_change_downloads_upload_dir', 999 );
add_action( 'admin_menu', 'wpfc_remove_service_type_meta_box' );
add_action( 'load-edit.php', 'wpfc_sermon_order_attach' );
Expand Down
2 changes: 2 additions & 0 deletions includes/entry-views.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly

/**
* Entry views is a script for calculating the number of views a post gets. It is meant to be basic and
* not a full-featured solution. The idea is to allow theme/plugin authors to quickly load this file and
Expand Down
1 change: 1 addition & 0 deletions includes/helper-functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly

/*
*
Expand Down
2 changes: 2 additions & 0 deletions includes/legacy-php.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
defined( 'ABSPATH' ) or die; // exit if accessed directly

/*
* This file will contain all functions that older PHP versions don't have
*/
Expand Down
4 changes: 0 additions & 4 deletions includes/legacy.php

This file was deleted.

Loading

0 comments on commit 22f4098

Please sign in to comment.