Plugin Directory

Changeset 2465191


Ignore:
Timestamp:
01/29/2021 07:32:38 PM (5 years ago)
Author:
eliorivero
Message:

Update WordPress version

Location:
just-in-time-content/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • just-in-time-content/trunk/just-in-time-content.php

    r2465052 r2465191  
    1111 * Domain Path: /languages
    1212 * Text Domain: startfunction
    13  * Requires at least: 5.4
     13 * Requires at least: 5.3
    1414 * Requires PHP: 7.0
    1515 */
     
    2626 * Load localization file
    2727 */
    28 function startfunction_localization() {
     28add_action( 'plugins_loaded', function() {
    2929    load_plugin_textdomain( 'startfunction', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    30 }
    31 
    32 add_action( 'plugins_loaded', 'startfunction_localization' );
     30} );
    3331
    3432/**
     
    7775    }
    7876
    79 });
     77} );
  • just-in-time-content/trunk/readme.txt

    r2465052 r2465191  
    33Tags: publish, post, page
    44Stable tag: 1.0.0
    5 Requires at least: 5.0
    6 Tested up to: 5.4.1
     5Requires at least: 5.3
     6Tested up to: 5.6
    77License: GPLv2 or later
    88
  • just-in-time-content/trunk/startfunction-admin.php

    r2465052 r2465191  
    156156    /**
    157157     * When the plugin is activated, setup some options on the database
     158     *
    158159     * @since 1.0.0
    159160     */
     
    187188     *
    188189     * @return array
     190     *
     191     * @since 1.0.0
    189192     */
    190193    function get_hours() {
     
    206209     *
    207210     * @return array
     211     *
     212     * @since 1.0.0
    208213     */
    209214    function get_hours_select($is_start, $default, $field_id, $hours) {
     
    225230     *
    226231     * @return array
     232     *
     233     * @since 1.0.0
    227234     */
    228235    function get_page_for_time($field_id, $pages) {
     
    239246    /**
    240247     * Validates options trying to be saved. Specific sentences are required for each value.
     248     *
    241249     * @param array
    242250     * @return array
     251     *
    243252     * @since 1.0.0
    244253     */
     
    275284    /**
    276285     * Callback for morning settings section
     286     *
    277287     * @since 1.0.0
    278288     */
     
    283293    /**
    284294     * Callback for noon settings section
     295     *
    285296     * @since 1.0.0
    286297     */
     
    291302    /**
    292303     * Callback for afternoon settings section
     304     *
    293305     * @since 1.0.0
    294306     */
     
    299311    /**
    300312     * Callback for night settings section
     313     *
    301314     * @since 1.0.0
    302315     */
     
    323336    /**
    324337     * Creates a checkbox control
     338     *
    325339     * @param array
     340     *
    326341     * @since 1.0.0
    327342     */
Note: See TracChangeset for help on using the changeset viewer.