• Plugin: WP Photo Album Plus
    Found in Version: 5.3.8
    Still in Version: 5.4.11

    Problem:
    1. Create a post with [wppa type=”cover” album=”8″][/wppa] as the content
    2. Publish it
    3. Look at link
    Home >> My Post Name >> My Album Name
    4. Click the “My Post Name” link
    5. A 404 error page appears

    Error: If you hover over the WordPress post title it shows https://www.xx/?p=60
    If you hover over the WPPA post link it shows https://www.xx/?page_id=60

    Solution:
    wppa-links.php: function wppa_get_permalink
    The default clause for the switch statement should call ‘get_permalink’ instead of ‘get_page_link’

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wppa_get_permalink 404 error’ is closed to new replies.